13:38:30 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/123893 13:38:30 Running as SYSTEM 13:38:30 [EnvInject] - Loading node environment variables. 13:38:30 Building remotely on prd-ubuntu2204-docker-4c-16g-34542 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 13:38:30 [ssh-agent] Looking for ssh-agent implementation... 13:38:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:38:31 $ ssh-agent 13:38:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbORlbU/agent.1562 13:38:31 SSH_AGENT_PID=1564 13:38:31 [ssh-agent] Started. 13:38:31 Running ssh-add (command line suppressed) 13:38:31 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17002128559247615494.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17002128559247615494.key) 13:38:31 [ssh-agent] Using credentials jenkins (jenkins-ssh) 13:38:31 The recommended git tool is: NONE 13:38:33 using credential jenkins-ssh 13:38:33 Wiping out workspace first. 13:38:33 Cloning the remote Git repository 13:38:33 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 13:38:33 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 13:38:33 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 13:38:33 > git --version # timeout=10 13:38:33 > git --version # 'git version 2.34.1' 13:38:33 using GIT_SSH to set credentials jenkins-ssh 13:38:33 Verifying host key using known hosts file, will automatically accept unseen keys 13:38:33 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 13:38:37 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 13:38:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:38:37 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 13:38:37 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 13:38:37 using GIT_SSH to set credentials jenkins-ssh 13:38:37 Verifying host key using known hosts file, will automatically accept unseen keys 13:38:37 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/93/123893/2 # timeout=10 13:38:38 > git rev-parse dded17b4e12adf11feb52a3140bdd78bb179ec88^{commit} # timeout=10 13:38:38 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 13:38:38 Checking out Revision dded17b4e12adf11feb52a3140bdd78bb179ec88 (refs/changes/93/123893/2) 13:38:38 > git config core.sparsecheckout # timeout=10 13:38:38 > git checkout -f dded17b4e12adf11feb52a3140bdd78bb179ec88 # timeout=10 13:38:38 Commit message: "Remove 1.2.1 code" 13:38:38 > git rev-parse FETCH_HEAD^{commit} # timeout=10 13:38:38 > git rev-list --no-walk 18fa6b80798e6690b9b22b03f27f550544710e3a # timeout=10 13:38:39 > git remote # timeout=10 13:38:39 > git submodule init # timeout=10 13:38:39 > git submodule sync # timeout=10 13:38:39 > git config --get remote.origin.url # timeout=10 13:38:39 > git submodule init # timeout=10 13:38:39 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 13:38:39 ERROR: No submodules found. 13:38:42 provisioning config files... 13:38:42 copy managed file [npmrc] to file:/home/jenkins/.npmrc 13:38:42 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 13:38:42 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14962685481890797969.sh 13:38:42 ---> python-tools-install.sh 13:38:42 Setup pyenv: 13:38:42 * system (set by /opt/pyenv/version) 13:38:42 * 3.8.20 (set by /opt/pyenv/version) 13:38:42 * 3.9.20 (set by /opt/pyenv/version) 13:38:42 3.10.15 13:38:42 3.11.10 13:38:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Yoax 13:38:47 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 13:38:47 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:38:47 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:38:51 lf-activate-venv(): INFO: Base packages installed successfully 13:38:51 lf-activate-venv(): INFO: Installing additional packages: lftools 13:39:19 lf-activate-venv(): INFO: Adding /tmp/venv-Yoax/bin to PATH 13:39:19 Generating Requirements File 13:39:45 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. 13:39:45 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 13:39:46 Python 3.11.10 13:39:46 pip 26.1.2 from /tmp/venv-Yoax/lib/python3.11/site-packages/pip (python 3.11) 13:39:46 aiohappyeyeballs==2.7.1 13:39:46 aiohttp==3.14.1 13:39:46 aiosignal==1.4.0 13:39:46 appdirs==1.4.4 13:39:46 argcomplete==3.7.0 13:39:46 aspy.yaml==1.3.0 13:39:46 attrs==26.1.0 13:39:46 autopage==0.6.0 13:39:46 beautifulsoup4==4.15.0 13:39:46 boto3==1.43.45 13:39:46 botocore==1.43.45 13:39:46 bs4==0.0.2 13:39:46 certifi==2026.6.17 13:39:46 cffi==2.1.0 13:39:46 cfgv==3.5.0 13:39:46 chardet==7.4.3 13:39:46 charset-normalizer==3.4.9 13:39:46 click==8.4.2 13:39:46 cliff==4.15.0 13:39:46 cmd2==4.1.1 13:39:46 cryptography==3.3.2 13:39:46 debtcollector==3.1.0 13:39:46 decorator==5.3.1 13:39:46 defusedxml==0.7.1 13:39:46 Deprecated==1.3.1 13:39:46 distlib==0.4.3 13:39:46 dnspython==2.8.0 13:39:46 docker==7.2.0 13:39:46 dogpile.cache==1.5.0 13:39:46 durationpy==0.10 13:39:46 email-validator==2.3.0 13:39:46 filelock==3.29.7 13:39:46 frozenlist==1.8.0 13:39:46 future==1.0.0 13:39:46 gitdb==4.0.12 13:39:46 GitPython==3.1.50 13:39:46 httplib2==0.30.2 13:39:46 identify==2.6.19 13:39:46 idna==3.18 13:39:46 importlib-resources==1.5.0 13:39:46 iso8601==2.1.0 13:39:46 Jinja2==3.1.6 13:39:46 jmespath==1.1.0 13:39:46 jsonpatch==1.33 13:39:46 jsonpointer==3.1.1 13:39:46 jsonschema==4.26.0 13:39:46 jsonschema-specifications==2025.9.1 13:39:46 keystoneauth1==5.15.0 13:39:46 kubernetes==36.0.2 13:39:46 lftools==0.37.22 13:39:46 lxml==6.1.1 13:39:46 markdown-it-py==4.2.0 13:39:46 MarkupSafe==3.0.3 13:39:46 mdurl==0.1.2 13:39:46 msgpack==1.2.1 13:39:46 multi_key_dict==2.0.3 13:39:46 multidict==6.7.1 13:39:46 munch==4.0.0 13:39:46 netaddr==1.3.0 13:39:46 niet==1.4.2 13:39:46 nodeenv==1.10.0 13:39:46 oauth2client==4.1.3 13:39:46 oauthlib==3.3.1 13:39:46 openstacksdk==4.17.0 13:39:46 os-service-types==1.8.2 13:39:46 osc-lib==4.7.0 13:39:46 oslo.config==10.5.0 13:39:46 oslo.context==6.4.0 13:39:46 oslo.i18n==6.8.0 13:39:46 oslo.log==8.3.0 13:39:46 oslo.serialization==5.11.0 13:39:46 oslo.utils==10.1.1 13:39:46 packaging==26.2 13:39:46 pbr==7.0.3 13:39:46 platformdirs==4.10.0 13:39:46 prettytable==3.18.0 13:39:46 prompt_toolkit==3.0.52 13:39:46 propcache==0.5.2 13:39:46 psutil==7.2.2 13:39:46 pyasn1==0.6.4 13:39:46 pyasn1_modules==0.4.2 13:39:46 pycparser==3.0 13:39:46 pygerrit2==2.0.15 13:39:46 PyGithub==2.9.1 13:39:46 Pygments==2.20.0 13:39:46 PyJWT==2.13.0 13:39:46 PyNaCl==1.6.2 13:39:46 pyparsing==2.4.7 13:39:46 pyperclip==1.11.0 13:39:46 pyrsistent==0.20.0 13:39:46 python-cinderclient==9.9.0 13:39:46 python-dateutil==2.9.0.post0 13:39:46 python-discovery==1.4.4 13:39:46 python-heatclient==5.2.0 13:39:46 python-jenkins==1.8.3 13:39:46 python-keystoneclient==5.8.0 13:39:46 python-magnumclient==4.11.0 13:39:46 python-openstackclient==10.1.0 13:39:46 python-swiftclient==4.10.0 13:39:46 PyYAML==6.0.3 13:39:46 referencing==0.37.0 13:39:46 requests==2.34.2 13:39:46 requests-oauthlib==2.0.0 13:39:46 rfc3986==2.0.0 13:39:46 rich==15.0.0 13:39:46 rich-argparse==1.8.0 13:39:46 rpds-py==2026.6.3 13:39:46 rsa==4.9.1 13:39:46 ruamel.yaml==0.19.1 13:39:46 ruamel.yaml.clib==0.2.15 13:39:46 s3transfer==0.19.0 13:39:46 simplejson==4.1.1 13:39:46 six==1.17.0 13:39:46 smmap==5.0.3 13:39:46 soupsieve==2.8.4 13:39:46 stevedore==5.9.0 13:39:46 tabulate==0.10.0 13:39:46 toml==0.10.2 13:39:46 tomlkit==0.15.0 13:39:46 tqdm==4.68.4 13:39:46 typing_extensions==4.16.0 13:39:46 urllib3==1.26.20 13:39:46 virtualenv==21.6.0 13:39:46 wcwidth==0.8.2 13:39:46 websocket-client==1.9.0 13:39:46 wrapt==2.2.2 13:39:46 xdg==6.0.0 13:39:46 xmltodict==1.0.4 13:39:46 yarl==1.24.2 13:39:46 yq==4.1.1 13:39:46 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins17720533491275201414.sh 13:39:47 ---> uv-install.sh 13:39:47 Installing uv/uvx (latest) using shell installer 13:39:47 2026-07-10 13:39:47 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71233/71233] -> "/tmp/uv-install-r1Mprg.sh" [1] 13:39:47 downloading uv 0.11.28 x86_64-unknown-linux-gnu 13:39:48 installing to /home/jenkins/.local/bin 13:39:48 uv 13:39:48 uvx 13:39:48 everything's installed! 13:39:48 13:39:48 To add $HOME/.local/bin to your PATH, either restart your shell or run: 13:39:48 13:39:48 source $HOME/.local/bin/env (sh, bash, zsh) 13:39:48 source $HOME/.local/bin/env.fish (fish) 13:39:48 Adding install location to PATH 13:39:48 ---> Validating uv/uvx install 13:39:48 uvx 0.11.28 (x86_64-unknown-linux-gnu) 13:39:48 [EnvInject] - Injecting environment variables from a build step. 13:39:48 [EnvInject] - Injecting as environment variables the properties content 13:39:48 PYTHON=python3 13:39:48 13:39:48 [EnvInject] - Variables injected successfully. 13:39:48 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins13335703248034183746.sh 13:39:48 ---> tox-install.sh 13:39:48 + source /home/jenkins/lf-env.sh 13:39:48 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:39:48 ++ mktemp -d /tmp/venv-XXXX 13:39:48 + lf_venv=/tmp/venv-hKeL 13:39:48 + local venv_file=/tmp/.os_lf_venv 13:39:48 + local python=python3 13:39:48 + local options 13:39:48 + local set_path=true 13:39:48 + local install_args= 13:39:48 ++ 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 13:39:48 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:39:48 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:39:48 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:39:48 + true 13:39:48 + case $1 in 13:39:48 + venv_file=/tmp/.toxenv 13:39:48 + shift 2 13:39:48 + true 13:39:48 + case $1 in 13:39:48 + shift 13:39:48 + break 13:39:48 + case $python in 13:39:48 + local pkg_list= 13:39:48 + [[ -d /opt/pyenv ]] 13:39:48 + echo 'Setup pyenv:' 13:39:48 Setup pyenv: 13:39:48 + export PYENV_ROOT=/opt/pyenv 13:39:48 + PYENV_ROOT=/opt/pyenv 13:39:48 + 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 13:39:48 + 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 13:39:48 + pyenv versions 13:39:48 system 13:39:48 3.8.20 13:39:48 3.9.20 13:39:48 3.10.15 13:39:48 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:39:48 + command -v pyenv 13:39:48 ++ pyenv init - --no-rehash 13:39:48 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 13:39:48 for i in ${!paths[@]}; do 13:39:48 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 13:39:48 fi; done; 13:39:48 echo "${paths[*]}"'\'')" 13:39:48 export PATH="/opt/pyenv/shims:${PATH}" 13:39:48 export PYENV_SHELL=bash 13:39:48 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:39:48 pyenv() { 13:39:48 local command 13:39:48 command="${1:-}" 13:39:48 if [ "$#" -gt 0 ]; then 13:39:48 shift 13:39:48 fi 13:39:48 13:39:48 case "$command" in 13:39:48 rehash|shell) 13:39:48 eval "$(pyenv "sh-$command" "$@")" 13:39:48 ;; 13:39:48 *) 13:39:48 command pyenv "$command" "$@" 13:39:48 ;; 13:39:48 esac 13:39:48 }' 13:39:48 +++ bash --norc -ec 'IFS=:; paths=($PATH); 13:39:48 for i in ${!paths[@]}; do 13:39:48 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 13:39:48 fi; done; 13:39:48 echo "${paths[*]}"' 13:39:48 ++ 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 13:39:48 ++ 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 13:39:48 ++ 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 13:39:48 ++ export PYENV_SHELL=bash 13:39:48 ++ PYENV_SHELL=bash 13:39:48 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:39:48 +++ complete -F _pyenv pyenv 13:39:48 ++ lf-pyver python3 13:39:48 ++ local py_version_xy=python3 13:39:48 ++ local py_version_xyz= 13:39:48 ++ pyenv versions 13:39:48 ++ local command 13:39:48 ++ command=versions 13:39:48 ++ '[' 1 -gt 0 ']' 13:39:48 ++ shift 13:39:48 ++ case "$command" in 13:39:48 ++ command pyenv versions 13:39:48 ++ sed 's/^[ *]* //' 13:39:48 ++ awk '{ print $1 }' 13:39:48 ++ grep -E '^[0-9.]*[0-9]$' 13:39:48 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:39:48 +++ grep '^3' /tmp/.pyenv_versions 13:39:48 +++ tail -n 1 13:39:48 +++ sort -V 13:39:48 ++ py_version_xyz=3.11.10 13:39:48 ++ [[ -z 3.11.10 ]] 13:39:48 ++ echo 3.11.10 13:39:48 ++ return 0 13:39:48 + pyenv local 3.11.10 13:39:48 + local command 13:39:48 + command=local 13:39:48 + '[' 2 -gt 0 ']' 13:39:48 + shift 13:39:48 + case "$command" in 13:39:48 + command pyenv local 3.11.10 13:39:48 + for arg in "$@" 13:39:48 + case $arg in 13:39:48 + pkg_list+='tox ' 13:39:48 + for arg in "$@" 13:39:48 + case $arg in 13:39:48 + pkg_list+='virtualenv ' 13:39:48 + for arg in "$@" 13:39:48 + case $arg in 13:39:48 + pkg_list+='urllib3~=1.26.15 ' 13:39:48 + [[ -f /tmp/.toxenv ]] 13:39:48 + [[ ! -f /tmp/.toxenv ]] 13:39:48 + [[ -n '' ]] 13:39:48 + python3 -m venv /tmp/venv-hKeL 13:39:52 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hKeL' 13:39:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hKeL 13:39:52 + echo /tmp/venv-hKeL 13:39:52 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 13:39:52 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 13:39:52 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 13:39:52 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:39:52 + local 'pip_opts=--upgrade --quiet' 13:39:52 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 13:39:52 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 13:39:52 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 13:39:52 + [[ -n '' ]] 13:39:52 + [[ -n '' ]] 13:39:52 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 13:39:52 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:39:52 + /tmp/venv-hKeL/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 13:39:57 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 13:39:57 lf-activate-venv(): INFO: Base packages installed successfully 13:39:57 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:39:57 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 13:39:57 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 13:39:57 + /tmp/venv-hKeL/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 13:39:59 + type python3 13:39:59 + true 13:39:59 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-hKeL/bin to PATH' 13:39:59 lf-activate-venv(): INFO: Adding /tmp/venv-hKeL/bin to PATH 13:39:59 + PATH=/tmp/venv-hKeL/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 13:39:59 + return 0 13:39:59 + python3 --version 13:39:59 Python 3.11.10 13:39:59 + python3 -m pip --version 13:39:59 pip 26.1.2 from /tmp/venv-hKeL/lib/python3.11/site-packages/pip (python 3.11) 13:39:59 + python3 -m pip freeze 13:39:59 cachetools==7.1.4 13:39:59 colorama==0.4.6 13:39:59 distlib==0.4.3 13:39:59 filelock==3.29.7 13:39:59 packaging==26.2 13:39:59 platformdirs==4.10.0 13:39:59 pluggy==1.6.0 13:39:59 pyproject-api==1.10.1 13:39:59 python-discovery==1.4.4 13:39:59 tomli_w==1.2.0 13:39:59 tox==4.56.4 13:39:59 urllib3==1.26.20 13:39:59 virtualenv==21.6.0 13:39:59 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins100154304489664745.sh 13:39:59 [EnvInject] - Injecting environment variables from a build step. 13:39:59 [EnvInject] - Injecting as environment variables the properties content 13:39:59 PARALLEL=True 13:39:59 13:39:59 [EnvInject] - Variables injected successfully. 13:39:59 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins3565838384124706719.sh 13:39:59 ---> tox-run.sh 13:39:59 + 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 13:39:59 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 13:39:59 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 13:39:59 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 13:39:59 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 13:39:59 + source /home/jenkins/lf-env.sh 13:39:59 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:39:59 ++ mktemp -d /tmp/venv-XXXX 13:39:59 + lf_venv=/tmp/venv-vUzH 13:39:59 + local venv_file=/tmp/.os_lf_venv 13:39:59 + local python=python3 13:39:59 + local options 13:39:59 + local set_path=true 13:39:59 + local install_args= 13:39:59 ++ 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 13:39:59 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:39:59 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:39:59 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:39:59 + true 13:39:59 + case $1 in 13:39:59 + venv_file=/tmp/.toxenv 13:39:59 + shift 2 13:39:59 + true 13:39:59 + case $1 in 13:39:59 + shift 13:39:59 + break 13:39:59 + case $python in 13:39:59 + local pkg_list= 13:39:59 + [[ -d /opt/pyenv ]] 13:39:59 + echo 'Setup pyenv:' 13:39:59 Setup pyenv: 13:39:59 + export PYENV_ROOT=/opt/pyenv 13:39:59 + PYENV_ROOT=/opt/pyenv 13:39:59 + 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 13:39:59 + 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 13:39:59 + pyenv versions 13:39:59 system 13:39:59 3.8.20 13:39:59 3.9.20 13:39:59 3.10.15 13:39:59 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:39:59 + command -v pyenv 13:39:59 ++ pyenv init - --no-rehash 13:39:59 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 13:39:59 for i in ${!paths[@]}; do 13:39:59 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 13:39:59 fi; done; 13:39:59 echo "${paths[*]}"'\'')" 13:39:59 export PATH="/opt/pyenv/shims:${PATH}" 13:39:59 export PYENV_SHELL=bash 13:39:59 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:39:59 pyenv() { 13:39:59 local command 13:39:59 command="${1:-}" 13:39:59 if [ "$#" -gt 0 ]; then 13:39:59 shift 13:39:59 fi 13:39:59 13:39:59 case "$command" in 13:39:59 rehash|shell) 13:39:59 eval "$(pyenv "sh-$command" "$@")" 13:39:59 ;; 13:39:59 *) 13:39:59 command pyenv "$command" "$@" 13:39:59 ;; 13:39:59 esac 13:39:59 }' 13:39:59 +++ bash --norc -ec 'IFS=:; paths=($PATH); 13:39:59 for i in ${!paths[@]}; do 13:39:59 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 13:39:59 fi; done; 13:39:59 echo "${paths[*]}"' 13:39:59 ++ 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 13:39:59 ++ 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 13:39:59 ++ 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 13:39:59 ++ export PYENV_SHELL=bash 13:39:59 ++ PYENV_SHELL=bash 13:39:59 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:39:59 +++ complete -F _pyenv pyenv 13:39:59 ++ lf-pyver python3 13:39:59 ++ local py_version_xy=python3 13:39:59 ++ local py_version_xyz= 13:39:59 ++ pyenv versions 13:39:59 ++ local command 13:39:59 ++ command=versions 13:39:59 ++ '[' 1 -gt 0 ']' 13:39:59 ++ shift 13:39:59 ++ case "$command" in 13:39:59 ++ command pyenv versions 13:39:59 ++ sed 's/^[ *]* //' 13:39:59 ++ awk '{ print $1 }' 13:39:59 ++ grep -E '^[0-9.]*[0-9]$' 13:39:59 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:39:59 +++ grep '^3' /tmp/.pyenv_versions 13:39:59 +++ sort -V 13:39:59 +++ tail -n 1 13:39:59 ++ py_version_xyz=3.11.10 13:39:59 ++ [[ -z 3.11.10 ]] 13:39:59 ++ echo 3.11.10 13:39:59 ++ return 0 13:39:59 + pyenv local 3.11.10 13:39:59 + local command 13:39:59 + command=local 13:39:59 + '[' 2 -gt 0 ']' 13:39:59 + shift 13:39:59 + case "$command" in 13:39:59 + command pyenv local 3.11.10 13:40:00 + for arg in "$@" 13:40:00 + case $arg in 13:40:00 + pkg_list+='tox ' 13:40:00 + for arg in "$@" 13:40:00 + case $arg in 13:40:00 + pkg_list+='virtualenv ' 13:40:00 + for arg in "$@" 13:40:00 + case $arg in 13:40:00 + pkg_list+='urllib3~=1.26.15 ' 13:40:00 + [[ -f /tmp/.toxenv ]] 13:40:00 ++ cat /tmp/.toxenv 13:40:00 + lf_venv=/tmp/venv-hKeL 13:40:00 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hKeL from' file:/tmp/.toxenv 13:40:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hKeL from file:/tmp/.toxenv 13:40:00 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 13:40:00 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:40:00 + local 'pip_opts=--upgrade --quiet' 13:40:00 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 13:40:00 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 13:40:00 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 13:40:00 + [[ -n '' ]] 13:40:00 + [[ -n '' ]] 13:40:00 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 13:40:00 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:40:00 + /tmp/venv-hKeL/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 13:40:00 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 13:40:00 lf-activate-venv(): INFO: Base packages installed successfully 13:40:00 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:40:00 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 13:40:00 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 13:40:00 + /tmp/venv-hKeL/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 13:40:02 + type python3 13:40:02 + true 13:40:02 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-hKeL/bin to PATH' 13:40:02 lf-activate-venv(): INFO: Adding /tmp/venv-hKeL/bin to PATH 13:40:02 + PATH=/tmp/venv-hKeL/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 13:40:02 + return 0 13:40:02 + [[ -d /opt/pyenv ]] 13:40:02 + echo '---> Setting up pyenv' 13:40:02 ---> Setting up pyenv 13:40:02 + export PYENV_ROOT=/opt/pyenv 13:40:02 + PYENV_ROOT=/opt/pyenv 13:40:02 + export PATH=/opt/pyenv/bin:/tmp/venv-hKeL/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 13:40:02 + PATH=/opt/pyenv/bin:/tmp/venv-hKeL/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 13:40:02 ++ pwd 13:40:02 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 13:40:02 + export PYTHONPATH 13:40:02 + export TOX_TESTENV_PASSENV=PYTHONPATH 13:40:02 + TOX_TESTENV_PASSENV=PYTHONPATH 13:40:02 + tox --version 13:40:02 4.56.4 from /tmp/venv-hKeL/lib/python3.11/site-packages/tox/__init__.py 13:40:02 + PARALLEL=True 13:40:02 + TOX_OPTIONS_LIST= 13:40:02 + [[ -n '' ]] 13:40:02 + case ${PARALLEL,,} in 13:40:02 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 13:40:02 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 13:40:02 + tox --parallel auto --parallel-live 13:40:04 docs: install_deps> python -I -m pip install -r docs/requirements.txt 13:40:04 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 13:40:04 checkbashisms: freeze> python -m pip freeze --all 13:40:04 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 13:40:05 checkbashisms: pip==26.1.2,setuptools==83.0.0 13:40:05 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 13:40:05 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)' 13:40:05 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 13:40:06 checkbashisms: OK ✔ in 3.65 seconds 13:40:06 pre-commit: install_deps> python -I -m pip install pre-commit 13:40:08 pre-commit: freeze> python -m pip freeze --all 13:40:09 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==3.29.7,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.4,PyYAML==6.0.3,setuptools==83.0.0,virtualenv==21.6.0 13:40:09 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 13:40:09 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)' 13:40:09 /usr/bin/cpan 13:40:09 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 13:40:09 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 13:40:09 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 13:40:10 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 13:40:10 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 13:40:10 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 13:40:11 buildcontroller: freeze> python -m pip freeze --all 13:40:11 buildcontroller: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:40:11 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 13:40:11 + update-java-alternatives -l 13:40:11 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 13:40:11 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 13:40:11 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 13:40:11 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 13:40:11 update-alternatives: error: no alternatives for jaotc 13:40:11 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 13:40:11 update-alternatives: error: no alternatives for rmic 13:40:11 + java -version 13:40:11 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 13:40:11 + JAVA_VER=21 13:40:11 + echo 21 13:40:11 21 13:40:11 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 13:40:11 + javac -version 13:40:12 21 13:40:12 ok, java is 21 or newer 13:40:12 + JAVAC_VER=21 13:40:12 + echo 21 13:40:12 + [ 21 -ge 21 ] 13:40:12 + [ 21 -ge 21 ] 13:40:12 + echo ok, java is 21 or newer 13:40:12 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 13:40:12 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 13:40:12 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 13:40:13 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 13:40:13 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 13:40:13 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 13:40:13 [INFO] Once installed this environment will be reused. 13:40:13 [INFO] This may take a few minutes... 13:40:13 2026-07-10 13:40:13 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] 13:40:13 + sudo mkdir -p /opt 13:40:13 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 13:40:13 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 13:40:13 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 13:40:13 + mvn --version 13:40:14 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 13:40:14 Maven home: /opt/maven 13:40:14 Java version: 21.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 13:40:14 Default locale: en, platform encoding: UTF-8 13:40:14 OS name: "linux", version: "5.15.0-174-generic", arch: "amd64", family: "unix" 13:40:14 NOTE: Picked up JDK_JAVA_OPTIONS: 13:40:14 --add-opens=java.base/java.io=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.lang=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.net=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.nio=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.util=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:40:14 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:40:14 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:40:14 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:40:14 -Xlog:disable 13:40:18 docs-linkcheck: freeze> python -m pip freeze --all 13:40:19 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 13:40:19 [INFO] Once installed this environment will be reused. 13:40:19 [INFO] This may take a few minutes... 13:40:19 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.6.17,charset-normalizer==3.4.9,deepmerge==2.1.0,docutils==0.22.4,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.37.4,lfdocs_conf==0.11.0,MarkupSafe==3.0.3,minijinja==2.21.0,mistune==3.3.3,packaging==26.2,picobox==4.0.0,pip==26.1.2,Pygments==2.20.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==2.1.0,roman-numerals==4.1.0,rpds-py==2026.6.3,setuptools==83.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.3.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.0.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.0.3,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.7.0 13:40:19 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 13:40:19 docs: freeze> python -m pip freeze --all 13:40:19 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.6.17,charset-normalizer==3.4.9,deepmerge==2.1.0,docutils==0.22.4,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.37.4,lfdocs_conf==0.11.0,MarkupSafe==3.0.3,minijinja==2.21.0,mistune==3.3.3,packaging==26.2,picobox==4.0.0,pip==26.1.2,Pygments==2.20.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==2.1.0,roman-numerals==4.1.0,rpds-py==2026.6.3,setuptools==83.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.3.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.0.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.0.3,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.7.0 13:40:19 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 13:40:23 docs: OK ✔ in 20.18 seconds 13:40:23 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 13:40:25 [INFO] Installing environment for https://github.com/hhatto/autopep8. 13:40:25 [INFO] Once installed this environment will be reused. 13:40:25 [INFO] This may take a few minutes... 13:40:26 docs-linkcheck: OK ✔ in 21.6 seconds 13:40:26 pylint: freeze> python -m pip freeze --all 13:40:26 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==83.0.0,tomlkit==0.15.0 13:40:26 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}$' '{}' + 13:40:29 [INFO] Installing environment for https://github.com/perltidy/perltidy. 13:40:29 [INFO] Once installed this environment will be reused. 13:40:29 [INFO] This may take a few minutes... 13:40:40 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 13:40:40 [INFO] Once installed this environment will be reused. 13:40:40 [INFO] This may take a few minutes... 13:40:43 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 13:40:43 [INFO] Once installed this environment will be reused. 13:40:43 [INFO] This may take a few minutes... 13:40:49 13:40:49 ------------------------------------ 13:40:49 Your code has been rated at 10.00/10 13:40:49 13:40:49 trim trailing whitespace.................................................Passed 13:40:49 fix end of files.........................................................Passed 13:40:50 check for added large files..............................................Passed 13:40:50 check for merge conflicts................................................Passed 13:40:50 check for case conflicts.................................................Passed 13:40:50 check json...............................................................Passed 13:40:51 mixed line ending........................................................Passed 13:40:51 Tabs remover.............................................................Passed 13:40:51 autopep8.................................................................Passed 13:40:54 perltidy.................................................................Passed 13:40:55 ShellCheck v0.11.0.......................................................Passed 13:40:59 prettier.................................................................[ERROR] COMPILATION ERROR : 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/fixedflex/SpectrumInformation.java:[13,106] package org.opendaylight.yang.gen.v1.http.org.openroadm.optical.channel.interfaces.rev161014.OchAttributes does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[13,72] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[26,54] cannot find symbol 13:41:00 symbol: class Port 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[29,24] cannot find symbol 13:41:00 symbol: class Port 13:41:00 location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[29,36] cannot find symbol 13:41:00 symbol: class Port 13:41:00 location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[33,28] cannot find symbol 13:41:00 symbol: class Port 13:41:00 location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[22,72] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[23,85] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.pack does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[24,85] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.pack does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[25,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[26,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[27,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[28,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[29,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[30,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[31,103] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.org.openroadm.device.container does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[32,77] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.port does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[33,88] package org.opendaylight.yang.gen.v1.http.org.openroadm.equipment.states.types.rev161014 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[34,88] package org.opendaylight.yang.gen.v1.http.org.openroadm.equipment.states.types.rev161014 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[49,46] cannot find symbol 13:41:00 symbol: class InterfaceBuilder 13:41:00 location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[107,21] cannot find symbol 13:41:00 symbol: class Interface 13:41:00 location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[241,76] cannot find symbol 13:41:00 symbol: class InterfaceBuilder 13:41:00 location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project transportpce-common: Compilation failure: Compilation failure: 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/fixedflex/SpectrumInformation.java:[13,106] package org.opendaylight.yang.gen.v1.http.org.openroadm.optical.channel.interfaces.rev161014.OchAttributes does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[13,72] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[26,54] cannot find symbol 13:41:00 [ERROR] symbol: class Port 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[29,24] cannot find symbol 13:41:00 [ERROR] symbol: class Port 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[29,36] cannot find symbol 13:41:00 [ERROR] symbol: class Port 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/mapping/SortPort121ByName.java:[33,28] cannot find symbol 13:41:00 [ERROR] symbol: class Port 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.mapping.SortPort121ByName 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[22,72] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[23,85] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.pack does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[24,85] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.pack does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[25,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[26,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[27,86] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.circuit.packs does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[28,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[29,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[30,87] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.interfaces.grp does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[31,103] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.org.openroadm.device.container does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[32,77] package org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev170206.port does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[33,88] package org.opendaylight.yang.gen.v1.http.org.openroadm.equipment.states.types.rev161014 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[34,88] package org.opendaylight.yang.gen.v1.http.org.openroadm.equipment.states.types.rev161014 does not exist 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[49,46] cannot find symbol 13:41:00 [ERROR] symbol: class InterfaceBuilder 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[107,21] cannot find symbol 13:41:00 [ERROR] symbol: class Interface 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfacesImpl121.java:[241,76] cannot find symbol 13:41:00 [ERROR] symbol: class InterfaceBuilder 13:41:00 [ERROR] location: class org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121 13:41:00 [ERROR] -> [Help 1] 13:41:00 [ERROR] 13:41:00 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:41:00 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:41:00 [ERROR] 13:41:00 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:41:00 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 13:41:00 [ERROR] 13:41:00 [ERROR] After correcting the problems, you can resume the build with the command 13:41:00 [ERROR] mvn -rf :transportpce-common 13:41:01 pylint: OK ✔ in 28.64 seconds 13:41:01 buildcontroller: exit 1 (49.55 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh pid=2785 13:41:01 Passed 13:41:01 yamllint.................................................................buildcontroller: FAIL ✖ in 58.35 seconds 13:41:01 build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 13:41:01 build_karaf_tests200: 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 13:41:01 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 13:41:01 Passed 13:41:02 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 13:41:02 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 13:41:02 [INFO] Once installed this environment will be reused. 13:41:02 [INFO] This may take a few minutes... 13:41:07 build_karaf_tests200: freeze> python -m pip freeze --all 13:41:08 build_karaf_tests71: freeze> python -m pip freeze --all 13:41:08 build_karaf_tests221: freeze> python -m pip freeze --all 13:41:08 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:41:08 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:41:08 build karaf in karafoc200 with ./karafoc200.env 13:41:08 NOTE: Picked up JDK_JAVA_OPTIONS: 13:41:08 --add-opens=java.base/java.io=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.net=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:41:08 -Xlog:disable 13:41:08 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:41:08 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:41:08 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:41:08 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:41:08 build karaf in karaf71 with ./karaf71.env 13:41:08 build karaf in karaf221 with ./karaf221.env 13:41:08 NOTE: Picked up JDK_JAVA_OPTIONS: 13:41:08 --add-opens=java.base/java.io=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.net=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:41:08 -Xlog:disable 13:41:08 NOTE: Picked up JDK_JAVA_OPTIONS: 13:41:08 --add-opens=java.base/java.io=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.net=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:41:08 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:41:08 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:41:08 -Xlog:disable 13:41:12 gitlint..................................................................Passed 13:41:13 pre-commit: OK ✔ in 1 minute 6.58 seconds 13:41:13 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 13:41:21 buildlighty: freeze> python -m pip freeze --all 13:41:21 buildlighty: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:41:21 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 13:41:22 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 13:42:10 [ERROR] COMPILATION ERROR : 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[307,48] incompatible types: org.opendaylight.transportpce.common.mapping.PortMappingVersion710 cannot be converted to org.opendaylight.transportpce.common.device.DeviceTransactionManager 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[315,16] no suitable constructor found for OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl221,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl710) 13:42:10 constructor org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl.OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.mapping.PortMapping) is not applicable 13:42:10 (actual and formal argument lists differ in length) 13:42:10 constructor org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl.OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl221,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl710) is not applicable 13:42:10 (actual and formal argument lists differ in length) 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[328,16] no suitable constructor found for CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl221,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl710) 13:42:10 constructor org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl.CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils) is not applicable 13:42:10 (actual and formal argument lists differ in length) 13:42:10 constructor org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl.CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl121,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl221,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl710) is not applicable 13:42:10 (actual and formal argument lists differ in length) 13:42:10 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project tpce: Compilation failure: Compilation failure: 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[307,48] incompatible types: org.opendaylight.transportpce.common.mapping.PortMappingVersion710 cannot be converted to org.opendaylight.transportpce.common.device.DeviceTransactionManager 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[315,16] no suitable constructor found for OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl221,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl710) 13:42:10 [ERROR] constructor org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl.OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.mapping.PortMapping) is not applicable 13:42:10 [ERROR] (actual and formal argument lists differ in length) 13:42:10 [ERROR] constructor org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl.OpenRoadmInterfacesImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl121,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl221,org.opendaylight.transportpce.common.openroadminterfaces.OpenRoadmInterfacesImpl710) is not applicable 13:42:10 [ERROR] (actual and formal argument lists differ in length) 13:42:10 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[328,16] no suitable constructor found for CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl221,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl710) 13:42:10 [ERROR] constructor org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl.CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils) is not applicable 13:42:10 [ERROR] (actual and formal argument lists differ in length) 13:42:10 [ERROR] constructor org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl.CrossConnectImpl(org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.mapping.MappingUtils,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl121,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl221,org.opendaylight.transportpce.common.crossconnect.CrossConnectImpl710) is not applicable 13:42:10 [ERROR] (actual and formal argument lists differ in length) 13:42:10 [ERROR] -> [Help 1] 13:42:10 [ERROR] 13:42:10 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:42:10 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:42:10 [ERROR] 13:42:10 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:42:10 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 13:42:10 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 13:42:10 buildlighty: exit 9 (48.77 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=4441 13:42:10 buildlighty: FAIL ✖ in 57.71 seconds 13:42:10 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 13:42:17 sims: freeze> python -m pip freeze --all 13:42:18 sims: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:42:18 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 13:42:18 Using lighynode version 22.1.0.7 13:42:18 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 13:42:20 sed: can't read ./sample_configs/openroadm/1.2.1/oper-ROADM*.xml: No such file or directory 13:42:20 sims: exit 2 (2.46 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh pid=4683 13:42:36 sims: FAIL ✖ in 9.79 seconds 13:42:36 build_karaf_tests71: OK ✔ in 1 minute 30.63 seconds 13:42:36 build_karaf_tests221: OK ✔ in 1 minute 35.53 seconds 13:42:36 build_karaf_tests200: OK ✔ in 1 minute 35.55 seconds 13:42:36 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 13:45:02 testsPCE: freeze> python -m pip freeze --all 13:45:02 testsPCE: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,click==8.4.2,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.3.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.1,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 13:45:02 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 13:45:02 pytest -q transportpce_tests/pce/test01_pce.py 13:47:03 EEEEEEEEEEEEEEEEEEEE [100%] 13:47:06 ==================================== ERRORS ==================================== 13:47:06 _______ ERROR at setup of TestTransportPCEPce.test_01_load_port_mapping ________ 13:47:06 13:47:06 cls = 13:47:06 13:47:06 @classmethod 13:47:06 def setUpClass(cls): 13:47:06 # pylint: disable=bare-except 13:47:06 sample_files_parsed = False 13:47:06 time.sleep(20) 13:47:06 try: 13:47:06 TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:47:06 "..", "..", "sample_configs", "honeynode-topo.json") 13:47:06 with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: 13:47:06 cls.simple_topo_bi_dir_data = topo_bi_dir.read() 13:47:06 13:47:06 TOPO_UNI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:47:06 "..", "..", "sample_configs", "NW-simple-topology.json") 13:47:06 13:47:06 with open(TOPO_UNI_DIR_FILE, 'r', encoding='utf-8') as topo_uni_dir: 13:47:06 cls.simple_topo_uni_dir_data = topo_uni_dir.read() 13:47:06 13:47:06 TOPO_UNI_DIR_COMPLEX_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:47:06 "..", "..", "sample_configs", "NW-for-test-5-4.json") 13:47:06 with open(TOPO_UNI_DIR_COMPLEX_FILE, 'r', encoding='utf-8') as topo_uni_dir_complex: 13:47:06 cls.complex_topo_uni_dir_data = topo_uni_dir_complex.read() 13:47:06 PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:47:06 "..", "..", "sample_configs", "pce_portmapping_221.json") 13:47:06 with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: 13:47:06 cls.port_mapping_data = port_mapping.read() 13:47:06 sample_files_parsed = True 13:47:06 except PermissionError as err: 13:47:06 print("Permission Error when trying to read sample files\n", err) 13:47:06 sys.exit(2) 13:47:06 except FileNotFoundError as err: 13:47:06 print("File Not found Error when trying to read sample files\n", err) 13:47:06 sys.exit(2) 13:47:06 except: 13:47:06 print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) 13:47:06 sys.exit(2) 13:47:06 finally: 13:47:06 if sample_files_parsed: 13:47:06 print("sample files content loaded") 13:47:06 13:47:06 > cls.processes = test_utils.start_tpce() 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 13:47:06 transportpce_tests/pce/test01_pce.py:93: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 def start_tpce(): 13:47:06 if 'NO_ODL_STARTUP' in os.environ: 13:47:06 print('No OpenDaylight instance to start!') 13:47:06 return [] 13:47:06 print('starting OpenDaylight...') 13:47:06 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:47:06 process = start_lighty() 13:47:06 else: 13:47:06 process = start_karaf() 13:47:06 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:47:06 print('OpenDaylight started !') 13:47:06 else: 13:47:06 print('OpenDaylight failed to start !') 13:47:06 shutdown_process(process) 13:47:06 for pid in process_list: 13:47:06 shutdown_process(pid) 13:47:06 > sys.exit(1) 13:47:06 E SystemExit: 1 13:47:06 13:47:06 transportpce_tests/common/test_utils.py:233: SystemExit 13:47:06 ---------------------------- Captured stdout setup ----------------------------- 13:47:06 sample files content loaded 13:47:06 starting OpenDaylight... 13:47:06 starting KARAF (karaf) TransportPCE build... 13:47:06 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:47:06 ____ ERROR at setup of TestTransportPCEPce.test_02_load_simple_topology_bi _____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b0b600> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___________ ERROR at setup of TestTransportPCEPce.test_03_get_nodeId ___________ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb396f0ba60> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___________ ERROR at setup of TestTransportPCEPce.test_04_get_linkId ___________ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ____ ERROR at setup of TestTransportPCEPce.test_05_path_computation_xpdr_bi ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b0b1a0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ____ ERROR at setup of TestTransportPCEPce.test_06_path_computation_rdm_bi _____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4aac0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ____ ERROR at setup of TestTransportPCEPce.test_07_load_simple_topology_uni ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___________ ERROR at setup of TestTransportPCEPce.test_08_get_nodeId ___________ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b48a40> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___________ ERROR at setup of TestTransportPCEPce.test_09_get_linkId ___________ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4b6a0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___ ERROR at setup of TestTransportPCEPce.test_10_path_computation_xpdr_uni ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ____ ERROR at setup of TestTransportPCEPce.test_11_path_computation_rdm_uni ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4bd80> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 _____ ERROR at setup of TestTransportPCEPce.test_12_load_complex_topology ______ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4afc0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___________ ERROR at setup of TestTransportPCEPce.test_13_get_nodeId ___________ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 _____ ERROR at setup of TestTransportPCEPce.test_14_fail_path_computation ______ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4bd80> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___ ERROR at setup of TestTransportPCEPce.test_15_success1_path_computation ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4a660> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___ ERROR at setup of TestTransportPCEPce.test_16_success2_path_computation ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b0a8e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 ___ ERROR at setup of TestTransportPCEPce.test_17_success3_path_computation ____ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 _ ERROR at setup of TestTransportPCEPce.test_18_path_computation_before_oms_attribute_deletion _ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4b4c0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 _ ERROR at setup of TestTransportPCEPce.test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link _ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb3961fa3e0> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 _ ERROR at setup of TestTransportPCEPce.test_20_path_computation_after_oms_attribute_deletion _ 13:47:06 13:47:06 cls = 13:47:06 func = . at 0x7fb394b4bc40> 13:47:06 when = 'setup' 13:47:06 reraise = (, ) 13:47:06 13:47:06 @classmethod 13:47:06 def from_call( 13:47:06 cls, 13:47:06 func: Callable[[], TResult], 13:47:06 when: Literal["collect", "setup", "call", "teardown"], 13:47:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:47:06 ) -> CallInfo[TResult]: 13:47:06 """Call func, wrapping the result in a CallInfo. 13:47:06 13:47:06 :param func: 13:47:06 The function to call. Called without arguments. 13:47:06 :type func: Callable[[], _pytest.runner.TResult] 13:47:06 :param when: 13:47:06 The phase in which the function is called. 13:47:06 :param reraise: 13:47:06 Exception or exceptions that shall propagate if raised by the 13:47:06 function, instead of being wrapped in the CallInfo. 13:47:06 """ 13:47:06 excinfo = None 13:47:06 instant = timing.Instant() 13:47:06 try: 13:47:06 > result: TResult | None = func() 13:47:06 ^^^^^^ 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:47:06 lambda: runtest_hook(item=item, **kwds), 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:47:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:47:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:47:06 yield 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:47:06 return (yield) 13:47:06 ^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:47:06 item.session._setupstate.setup(item) 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:47:06 col.setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:47:06 super().setup() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:47:06 self._request._fillfixtures() 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:47:06 item.funcargs[argname] = self.getfixturevalue(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:47:06 fixturedef = self._get_active_fixturedef(argname) 13:47:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:47:06 fixturedef.execute(request=subrequest) 13:47:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:47:06 13:47:06 self = 13:47:06 request = > 13:47:06 13:47:06 def execute(self, request: SubRequest) -> FixtureValue: 13:47:06 """Return the value of this fixture, executing it if not cached.""" 13:47:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:47:06 # This needs to be done before checking if we have a cached value, since 13:47:06 # if a dependent fixture has their cache invalidated, e.g. due to 13:47:06 # parametrization, they finalize themselves and fixtures depending on it 13:47:06 # (which will likely include this fixture) setting `self.cached_result = None`. 13:47:06 # See #4871 13:47:06 requested_fixtures_that_should_finalize_us = [] 13:47:06 for argname in self.argnames: 13:47:06 fixturedef = request._get_active_fixturedef(argname) 13:47:06 # Saves requested fixtures in a list so we later can add our finalizer 13:47:06 # to them, ensuring that if a requested fixture gets torn down we get torn 13:47:06 # down first. This is generally handled by SetupState, but still currently 13:47:06 # needed when this fixture is not parametrized but depends on a parametrized 13:47:06 # fixture. 13:47:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:47:06 13:47:06 # Check for (and return) cached value/exception. 13:47:06 if self.cached_result is not None: 13:47:06 request_cache_key = self.cache_key(request) 13:47:06 cache_key = self.cached_result[1] 13:47:06 try: 13:47:06 # Attempt to make a normal == check: this might fail for objects 13:47:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:47:06 cache_hit = bool(request_cache_key == cache_key) 13:47:06 except (ValueError, RuntimeError): 13:47:06 # If the comparison raises, use 'is' as fallback. 13:47:06 cache_hit = request_cache_key is cache_key 13:47:06 13:47:06 if cache_hit: 13:47:06 if self.cached_result[2] is not None: 13:47:06 exc, exc_tb = self.cached_result[2] 13:47:06 raise exc.with_traceback(exc_tb) 13:47:06 else: 13:47:06 return self.cached_result[0] 13:47:06 # We have a previous but differently parametrized fixture instance 13:47:06 # so we need to tear it down before creating a new one. 13:47:06 self.finish(request) 13:47:06 assert self.cached_result is None 13:47:06 13:47:06 # Add finalizer to requested fixtures we saved previously. 13:47:06 # We make sure to do this after checking for cached value to avoid 13:47:06 # adding our finalizer multiple times. (#12135) 13:47:06 finalizer = functools.partial(self.finish, request=request) 13:47:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:47:06 parent_fixture.addfinalizer(finalizer) 13:47:06 13:47:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:47:06 # which is executed last. 13:47:06 > assert not self._finalizers 13:47:06 ^^^^^^^^^^^^^^^^^^^^ 13:47:06 E AssertionError 13:47:06 13:47:06 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:47:06 =========================== short test summary info ============================ 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_01_load_port_mapping 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_02_load_simple_topology_bi 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_03_get_nodeId 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_04_get_linkId 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_05_path_computation_xpdr_bi 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_06_path_computation_rdm_bi 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_07_load_simple_topology_uni 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_08_get_nodeId 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_09_get_linkId 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_10_path_computation_xpdr_uni 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_11_path_computation_rdm_uni 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_12_load_complex_topology 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_13_get_nodeId 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_14_fail_path_computation 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_15_success1_path_computation 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_16_success2_path_computation 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_17_success3_path_computation 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_18_path_computation_before_oms_attribute_deletion 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link 13:47:06 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_20_path_computation_after_oms_attribute_deletion 13:47:06 20 errors in 124.01s (0:02:04) 13:47:06 testsPCE: exit 1 (124.31 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4785 13:47:06 testsPCE: FAIL ✖ in 4 minutes 30.12 seconds 13:47:06 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 13:47:16 tests_tapi: freeze> python -m pip freeze --all 13:47:16 tests_tapi: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:47:16 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 13:47:16 using environment variables from ./karaf221.env 13:47:16 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 13:48:57 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:49:07 ==================================== ERRORS ==================================== 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 13:49:07 @classmethod 13:49:07 def setUpClass(cls): 13:49:07 cls.init_failed = False 13:49:07 os.environ['JAVA_MIN_MEM'] = '1024M' 13:49:07 os.environ['JAVA_MAX_MEM'] = '4096M' 13:49:07 > cls.processes = test_utils.start_tpce() 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 13:49:07 transportpce_tests/tapi/test01_abstracted_topology.py:148: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 def start_tpce(): 13:49:07 if 'NO_ODL_STARTUP' in os.environ: 13:49:07 print('No OpenDaylight instance to start!') 13:49:07 return [] 13:49:07 print('starting OpenDaylight...') 13:49:07 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:49:07 process = start_lighty() 13:49:07 else: 13:49:07 process = start_karaf() 13:49:07 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:49:07 print('OpenDaylight started !') 13:49:07 else: 13:49:07 print('OpenDaylight failed to start !') 13:49:07 shutdown_process(process) 13:49:07 for pid in process_list: 13:49:07 shutdown_process(pid) 13:49:07 > sys.exit(1) 13:49:07 E SystemExit: 1 13:49:07 13:49:07 transportpce_tests/common/test_utils.py:233: SystemExit 13:49:07 ---------------------------- Captured stdout setup ----------------------------- 13:49:07 starting OpenDaylight... 13:49:07 starting KARAF (karaf221) TransportPCE build... 13:49:07 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568d4400> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bade0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1958a90680> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1958042c00> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568d4400> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1958042c00> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bbce0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568baa20> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bbce0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1958042c00> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956776b60> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bab60> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1958042c00> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777100> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb600> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777100> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb600> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb600> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956776700> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956776700> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567740e0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567762a0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777600> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956775da0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777600> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567760c0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777b00> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567771a0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567772e0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777560> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777560> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777d80> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777560> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956776520> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19567777e0> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956777740> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f19568bb920> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 13:49:07 13:49:07 cls = 13:49:07 func = . at 0x7f1956776f20> 13:49:07 when = 'setup' 13:49:07 reraise = (, ) 13:49:07 13:49:07 @classmethod 13:49:07 def from_call( 13:49:07 cls, 13:49:07 func: Callable[[], TResult], 13:49:07 when: Literal["collect", "setup", "call", "teardown"], 13:49:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:49:07 ) -> CallInfo[TResult]: 13:49:07 """Call func, wrapping the result in a CallInfo. 13:49:07 13:49:07 :param func: 13:49:07 The function to call. Called without arguments. 13:49:07 :type func: Callable[[], _pytest.runner.TResult] 13:49:07 :param when: 13:49:07 The phase in which the function is called. 13:49:07 :param reraise: 13:49:07 Exception or exceptions that shall propagate if raised by the 13:49:07 function, instead of being wrapped in the CallInfo. 13:49:07 """ 13:49:07 excinfo = None 13:49:07 instant = timing.Instant() 13:49:07 try: 13:49:07 > result: TResult | None = func() 13:49:07 ^^^^^^ 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:49:07 lambda: runtest_hook(item=item, **kwds), 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:49:07 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:49:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:49:07 yield 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:49:07 return (yield) 13:49:07 ^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:49:07 item.session._setupstate.setup(item) 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:49:07 col.setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:49:07 super().setup() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:49:07 self._request._fillfixtures() 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:49:07 item.funcargs[argname] = self.getfixturevalue(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:49:07 fixturedef = self._get_active_fixturedef(argname) 13:49:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:49:07 fixturedef.execute(request=subrequest) 13:49:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:49:07 13:49:07 self = 13:49:07 request = > 13:49:07 13:49:07 def execute(self, request: SubRequest) -> FixtureValue: 13:49:07 """Return the value of this fixture, executing it if not cached.""" 13:49:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:49:07 # This needs to be done before checking if we have a cached value, since 13:49:07 # if a dependent fixture has their cache invalidated, e.g. due to 13:49:07 # parametrization, they finalize themselves and fixtures depending on it 13:49:07 # (which will likely include this fixture) setting `self.cached_result = None`. 13:49:07 # See #4871 13:49:07 requested_fixtures_that_should_finalize_us = [] 13:49:07 for argname in self.argnames: 13:49:07 fixturedef = request._get_active_fixturedef(argname) 13:49:07 # Saves requested fixtures in a list so we later can add our finalizer 13:49:07 # to them, ensuring that if a requested fixture gets torn down we get torn 13:49:07 # down first. This is generally handled by SetupState, but still currently 13:49:07 # needed when this fixture is not parametrized but depends on a parametrized 13:49:07 # fixture. 13:49:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:49:07 13:49:07 # Check for (and return) cached value/exception. 13:49:07 if self.cached_result is not None: 13:49:07 request_cache_key = self.cache_key(request) 13:49:07 cache_key = self.cached_result[1] 13:49:07 try: 13:49:07 # Attempt to make a normal == check: this might fail for objects 13:49:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:49:07 cache_hit = bool(request_cache_key == cache_key) 13:49:07 except (ValueError, RuntimeError): 13:49:07 # If the comparison raises, use 'is' as fallback. 13:49:07 cache_hit = request_cache_key is cache_key 13:49:07 13:49:07 if cache_hit: 13:49:07 if self.cached_result[2] is not None: 13:49:07 exc, exc_tb = self.cached_result[2] 13:49:07 raise exc.with_traceback(exc_tb) 13:49:07 else: 13:49:07 return self.cached_result[0] 13:49:07 # We have a previous but differently parametrized fixture instance 13:49:07 # so we need to tear it down before creating a new one. 13:49:07 self.finish(request) 13:49:07 assert self.cached_result is None 13:49:07 13:49:07 # Add finalizer to requested fixtures we saved previously. 13:49:07 # We make sure to do this after checking for cached value to avoid 13:49:07 # adding our finalizer multiple times. (#12135) 13:49:07 finalizer = functools.partial(self.finish, request=request) 13:49:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:49:07 parent_fixture.addfinalizer(finalizer) 13:49:07 13:49:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:49:07 # which is executed last. 13:49:07 > assert not self._finalizers 13:49:07 ^^^^^^^^^^^^^^^^^^^^ 13:49:07 E AssertionError 13:49:07 13:49:07 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:49:07 =========================== short test summary info ============================ 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 13:49:07 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 13:49:07 51 errors in 110.49s (0:01:50) 13:49:07 tests_tapi: exit 1 (110.76 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=4858 13:49:07 tests_tapi: FAIL ✖ in 2 minutes 0.43 seconds 13:49:07 tests200: 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 13:49:07 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 13:49:14 tests200: freeze> python -m pip freeze --all 13:49:14 tests221: freeze> python -m pip freeze --all 13:49:14 tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:49:14 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 13:49:14 using environment variables from ./karafoc200.env 13:49:14 pytest -q transportpce_tests/oc200/test01_portmapping.py 13:49:14 tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:49:14 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 13:49:14 using environment variables from ./karaf221.env 13:49:14 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 13:50:55 EEEEEEEEEEEEEEEEEE [100%] 13:50:57 ==================================== ERRORS ==================================== 13:50:57 __ ERROR at setup of TestTransportPCEPortmapping.test_01_meta_data_insertion ___ 13:50:57 13:50:57 cls = 13:50:57 13:50:57 @classmethod 13:50:57 def setUpClass(cls): 13:50:57 > cls.processes = test_utils.start_tpce() 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 13:50:57 transportpce_tests/oc200/test01_portmapping.py:29: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 def start_tpce(): 13:50:57 if 'NO_ODL_STARTUP' in os.environ: 13:50:57 print('No OpenDaylight instance to start!') 13:50:57 return [] 13:50:57 print('starting OpenDaylight...') 13:50:57 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:50:57 process = start_lighty() 13:50:57 else: 13:50:57 process = start_karaf() 13:50:57 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:50:57 print('OpenDaylight started !') 13:50:57 else: 13:50:57 print('OpenDaylight failed to start !') 13:50:57 shutdown_process(process) 13:50:57 for pid in process_list: 13:50:57 shutdown_process(pid) 13:50:57 > sys.exit(1) 13:50:57 E SystemExit: 1 13:50:57 13:50:57 transportpce_tests/common/test_utils.py:233: SystemExit 13:50:57 ---------------------------- Captured stdout setup ----------------------------- 13:50:57 starting OpenDaylight... 13:50:57 starting KARAF (karafoc200) TransportPCE build... 13:50:57 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_02_catalog_input_insertion _ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe132d3ef20> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_device_connection _ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe130b27ec0> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_04_xpdr_device_connected __ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe1322ada80> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_05_xpdr_portmapping_info __ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe132d3ed40> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe130b27e20> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe1322ada80> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 __ ERROR at setup of TestTransportPCEPortmapping.test_08_mpdr_switching_pool ___ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe130b260c0> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 ___ ERROR at setup of TestTransportPCEPortmapping.test_09_check_mccapprofile ___ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe130b86480> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 request = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 13:50:57 13:50:57 cls = 13:50:57 func = . at 0x7fe1322ada80> 13:50:57 when = 'setup' 13:50:57 reraise = (, ) 13:50:57 13:50:57 @classmethod 13:50:57 def from_call( 13:50:57 cls, 13:50:57 func: Callable[[], TResult], 13:50:57 when: Literal["collect", "setup", "call", "teardown"], 13:50:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:50:57 ) -> CallInfo[TResult]: 13:50:57 """Call func, wrapping the result in a CallInfo. 13:50:57 13:50:57 :param func: 13:50:57 The function to call. Called without arguments. 13:50:57 :type func: Callable[[], _pytest.runner.TResult] 13:50:57 :param when: 13:50:57 The phase in which the function is called. 13:50:57 :param reraise: 13:50:57 Exception or exceptions that shall propagate if raised by the 13:50:57 function, instead of being wrapped in the CallInfo. 13:50:57 """ 13:50:57 excinfo = None 13:50:57 instant = timing.Instant() 13:50:57 try: 13:50:57 > result: TResult | None = func() 13:50:57 ^^^^^^ 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:50:57 lambda: runtest_hook(item=item, **kwds), 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:50:57 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:50:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:50:57 yield 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:50:57 return (yield) 13:50:57 ^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:50:57 item.session._setupstate.setup(item) 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:50:57 col.setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:50:57 super().setup() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:50:57 self._request._fillfixtures() 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:50:57 item.funcargs[argname] = self.getfixturevalue(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:50:57 fixturedef = self._get_active_fixturedef(argname) 13:50:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:50:57 fixturedef.execute(request=subrequest) 13:50:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:50:57 13:50:57 self = 13:50:57 Erequest = > 13:50:57 13:50:57 def execute(self, request: SubRequest) -> FixtureValue: 13:50:57 """Return the value of this fixture, executing it if not cached.""" 13:50:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:50:57 # This needs to be done before checking if we have a cached value, since 13:50:57 # if a dependent fixture has their cache invalidated, e.g. due to 13:50:57 # parametrization, they finalize themselves and fixtures depending on it 13:50:57 # (which will likely include this fixture) setting `self.cached_result = None`. 13:50:57 # See #4871 13:50:57 requested_fixtures_that_should_finalize_us = [] 13:50:57 for argname in self.argnames: 13:50:57 fixturedef = request._get_active_fixturedef(argname) 13:50:57 # Saves requested fixtures in a list so we later can add our finalizer 13:50:57 # to them, ensuring that if a requested fixture gets torn down we get torn 13:50:57 # down first. This is generally handled by SetupState, but still currently 13:50:57 # needed when this fixture is not parametrized but depends on a parametrized 13:50:57 # fixture. 13:50:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:50:57 13:50:57 # Check for (and return) cached value/exception. 13:50:57 if self.cached_result is not None: 13:50:57 request_cache_key = self.cache_key(request) 13:50:57 cache_key = self.cached_result[1] 13:50:57 try: 13:50:57 # Attempt to make a normal == check: this might fail for objects 13:50:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:50:57 cache_hit = bool(request_cache_key == cache_key) 13:50:57 except (ValueError, RuntimeError): 13:50:57 # If the comparison raises, use 'is' as fallback. 13:50:57 cache_hit = request_cache_key is cache_key 13:50:57 13:50:57 if cache_hit: 13:50:57 if self.cached_result[2] is not None: 13:50:57 exc, exc_tb = self.cached_result[2] 13:50:57 raise exc.with_traceback(exc_tb) 13:50:57 else: 13:50:57 return self.cached_result[0] 13:50:57 # We have a previous but differently parametrized fixture instance 13:50:57 # so we need to tear it down before creating a new one. 13:50:57 self.finish(request) 13:50:57 assert self.cached_result is None 13:50:57 13:50:57 # Add finalizer to requested fixtures we saved previously. 13:50:57 # We make sure to do this after checking for cached value to avoid 13:50:57 # adding our finalizer multiple times. (#12135) 13:50:57 finalizer = functools.partial(self.finish, request=request) 13:50:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:50:57 parent_fixture.addfinalizer(finalizer) 13:50:57 13:50:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:50:57 # which is executed last. 13:50:57 > assert not self._finalizers 13:50:57 ^^^^^^^^^^^^^^^^^^^^ 13:50:57 E AssertionError 13:50:57 13:50:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:50:57 =========================== short test summary info ============================ 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catalog_input_insertion 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 13:50:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 13:50:57 10 errors in 102.39s (0:01:42) 13:50:57 tests200: exit 1 (102.68 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=5187 13:50:57 Etests200: FAIL ✖ in 1 minute 50.35 seconds 13:50:57 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 13:50:57 EEEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:51:02 ==================================== ERRORS ==================================== 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_01_rdm_device_connection __ 13:51:02 13:51:02 cls = 13:51:02 13:51:02 @classmethod 13:51:02 def setUpClass(cls): 13:51:02 > cls.processes = test_utils.start_tpce() 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 13:51:02 transportpce_tests/2.2.1/test01_portmapping.py:33: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 def start_tpce(): 13:51:02 if 'NO_ODL_STARTUP' in os.environ: 13:51:02 print('No OpenDaylight instance to start!') 13:51:02 return [] 13:51:02 print('starting OpenDaylight...') 13:51:02 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:51:02 process = start_lighty() 13:51:02 else: 13:51:02 process = start_karaf() 13:51:02 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:51:02 print('OpenDaylight started !') 13:51:02 else: 13:51:02 print('OpenDaylight failed to start !') 13:51:02 shutdown_process(process) 13:51:02 for pid in process_list: 13:51:02 shutdown_process(pid) 13:51:02 > sys.exit(1) 13:51:02 E SystemExit: 1 13:51:02 13:51:02 transportpce_tests/common/test_utils.py:233: SystemExit 13:51:02 ---------------------------- Captured stdout setup ----------------------------- 13:51:02 starting OpenDaylight... 13:51:02 starting KARAF (karaf221) TransportPCE build... 13:51:02 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:51:02 __ ERROR at setup of TestTransportPCEPortmapping.test_02_rdm_device_connected __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdff60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 __ ERROR at setup of TestTransportPCEPortmapping.test_03_rdm_portmapping_info __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fff060> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdfe20> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdff60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_06_rdm_portmapping_SRG1_PP3_TXRX _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffc040> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_07_rdm_portmapping_SRG3_PP1_TXRX _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdfe20> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_08_xpdr_device_connection _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffe5c0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_09_xpdr_device_connected __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffd8a0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_portmapping_info __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdfe20> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_portmapping_XPDR2_NETWORK1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fffb00> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_13_xpdr_portmapping_XPDR1_CLIENT1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffd8a0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_14_xpdr_portmapping_XPDR1_CLIENT2 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_15_spdr_device_connection _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fffb00> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_16_spdr_device_connected __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_17_spdr_portmapping_info __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdfe20> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_18_spdr_switching_pool_1 __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fded40> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_19_spdr_switching_pool_2 __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_20_spdr_switching_pool_3 __ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdefc0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_21_spdr_portmapping_mappings _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fded40> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_22_spdr_portmapping_XPDR1_CLIENT1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fdefc0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_23_spdr_portmapping_XPDR1_NETWORK1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c54e0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_24_spdr_portmapping_XPDR2_CLIENT2 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_25_spdr_portmapping_XPDR2_NETWORK2 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6fded40> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_26_spdr_portmapping_XPDR3_CLIENT3 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c4fe0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_27_spdr_portmapping_XPDR3_NETWORK1 _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_28_spdr_device_disconnection _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c58a0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_29_xpdr_device_disconnected _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c49a0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_30_xpdr_device_disconnection _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_31_xpdr_device_disconnected _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c5b20> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_32_xpdr_device_not_connected _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_33_rdm_device_disconnection _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c49a0> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_34_rdm_device_disconnected _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa69c5440> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 _ ERROR at setup of TestTransportPCEPortmapping.test_35_rdm_device_not_connected _ 13:51:02 13:51:02 cls = 13:51:02 func = . at 0x7fbfa6ffeb60> 13:51:02 when = 'setup' 13:51:02 reraise = (, ) 13:51:02 13:51:02 @classmethod 13:51:02 def from_call( 13:51:02 cls, 13:51:02 func: Callable[[], TResult], 13:51:02 when: Literal["collect", "setup", "call", "teardown"], 13:51:02 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:51:02 ) -> CallInfo[TResult]: 13:51:02 """Call func, wrapping the result in a CallInfo. 13:51:02 13:51:02 :param func: 13:51:02 The function to call. Called without arguments. 13:51:02 :type func: Callable[[], _pytest.runner.TResult] 13:51:02 :param when: 13:51:02 The phase in which the function is called. 13:51:02 :param reraise: 13:51:02 Exception or exceptions that shall propagate if raised by the 13:51:02 function, instead of being wrapped in the CallInfo. 13:51:02 """ 13:51:02 excinfo = None 13:51:02 instant = timing.Instant() 13:51:02 try: 13:51:02 > result: TResult | None = func() 13:51:02 ^^^^^^ 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:51:02 lambda: runtest_hook(item=item, **kwds), 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:51:02 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:51:02 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:51:02 yield 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:51:02 return (yield) 13:51:02 ^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:51:02 item.session._setupstate.setup(item) 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:51:02 col.setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:51:02 super().setup() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:51:02 self._request._fillfixtures() 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:51:02 item.funcargs[argname] = self.getfixturevalue(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:51:02 fixturedef = self._get_active_fixturedef(argname) 13:51:02 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:51:02 fixturedef.execute(request=subrequest) 13:51:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:51:02 13:51:02 self = 13:51:02 request = > 13:51:02 13:51:02 def execute(self, request: SubRequest) -> FixtureValue: 13:51:02 """Return the value of this fixture, executing it if not cached.""" 13:51:02 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:51:02 # This needs to be done before checking if we have a cached value, since 13:51:02 # if a dependent fixture has their cache invalidated, e.g. due to 13:51:02 # parametrization, they finalize themselves and fixtures depending on it 13:51:02 # (which will likely include this fixture) setting `self.cached_result = None`. 13:51:02 # See #4871 13:51:02 requested_fixtures_that_should_finalize_us = [] 13:51:02 for argname in self.argnames: 13:51:02 fixturedef = request._get_active_fixturedef(argname) 13:51:02 # Saves requested fixtures in a list so we later can add our finalizer 13:51:02 # to them, ensuring that if a requested fixture gets torn down we get torn 13:51:02 # down first. This is generally handled by SetupState, but still currently 13:51:02 # needed when this fixture is not parametrized but depends on a parametrized 13:51:02 # fixture. 13:51:02 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:51:02 13:51:02 # Check for (and return) cached value/exception. 13:51:02 if self.cached_result is not None: 13:51:02 request_cache_key = self.cache_key(request) 13:51:02 cache_key = self.cached_result[1] 13:51:02 try: 13:51:02 # Attempt to make a normal == check: this might fail for objects 13:51:02 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:51:02 cache_hit = bool(request_cache_key == cache_key) 13:51:02 except (ValueError, RuntimeError): 13:51:02 # If the comparison raises, use 'is' as fallback. 13:51:02 cache_hit = request_cache_key is cache_key 13:51:02 13:51:02 if cache_hit: 13:51:02 if self.cached_result[2] is not None: 13:51:02 exc, exc_tb = self.cached_result[2] 13:51:02 raise exc.with_traceback(exc_tb) 13:51:02 else: 13:51:02 return self.cached_result[0] 13:51:02 # We have a previous but differently parametrized fixture instance 13:51:02 # so we need to tear it down before creating a new one. 13:51:02 self.finish(request) 13:51:02 assert self.cached_result is None 13:51:02 13:51:02 # Add finalizer to requested fixtures we saved previously. 13:51:02 # We make sure to do this after checking for cached value to avoid 13:51:02 # adding our finalizer multiple times. (#12135) 13:51:02 finalizer = functools.partial(self.finish, request=request) 13:51:02 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:51:02 parent_fixture.addfinalizer(finalizer) 13:51:02 13:51:02 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:51:02 # which is executed last. 13:51:02 > assert not self._finalizers 13:51:02 ^^^^^^^^^^^^^^^^^^^^ 13:51:02 E AssertionError 13:51:02 13:51:02 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:51:02 =========================== short test summary info ============================ 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_rdm_portmapping_SRG1_PP3_TXRX 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_rdm_portmapping_SRG3_PP1_TXRX 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_xpdr_device_connection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_xpdr_device_connected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_portmapping_info 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_XPDR2_NETWORK1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_XPDR1_CLIENT1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_XPDR1_CLIENT2 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_15_spdr_device_connection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_16_spdr_device_connected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_17_spdr_portmapping_info 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_18_spdr_switching_pool_1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_19_spdr_switching_pool_2 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_20_spdr_switching_pool_3 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_21_spdr_portmapping_mappings 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_22_spdr_portmapping_XPDR1_CLIENT1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_23_spdr_portmapping_XPDR1_NETWORK1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_24_spdr_portmapping_XPDR2_CLIENT2 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_25_spdr_portmapping_XPDR2_NETWORK2 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_26_spdr_portmapping_XPDR3_CLIENT3 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_27_spdr_portmapping_XPDR3_NETWORK1 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_28_spdr_device_disconnection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_29_xpdr_device_disconnected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_30_xpdr_device_disconnection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_31_xpdr_device_disconnected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_32_xpdr_device_not_connected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_33_rdm_device_disconnection 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_34_rdm_device_disconnected 13:51:02 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_35_rdm_device_not_connected 13:51:02 35 errors in 107.30s (0:01:47) 13:51:02 tests221: exit 1 (107.57 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=5198 13:51:02 tests221: FAIL ✖ in 1 minute 55.33 seconds 13:51:02 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 13:51:04 tests71: freeze> python -m pip freeze --all 13:51:04 tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:51:04 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 13:51:04 using environment variables from ./karaf71.env 13:51:04 pytest -q transportpce_tests/7.1/test01_portmapping.py 13:51:09 tests_hybrid: freeze> python -m pip freeze --all 13:51:09 tests_hybrid: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.1.0,charset-normalizer==3.4.9,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.1,requests==2.34.2,setuptools==83.0.0,urllib3==2.7.0 13:51:09 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 13:51:09 using environment variables from ./karaf221.env 13:51:09 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 13:52:45 EEEEEEEEEEEE [100%] 13:52:47 ==================================== ERRORS ==================================== 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_01_xpdr_device_connection _ 13:52:47 13:52:47 cls = 13:52:47 13:52:47 @classmethod 13:52:47 def setUpClass(cls): 13:52:47 > cls.processes = test_utils.start_tpce() 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 13:52:47 transportpce_tests/7.1/test01_portmapping.py:32: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 def start_tpce(): 13:52:47 if 'NO_ODL_STARTUP' in os.environ: 13:52:47 print('No OpenDaylight instance to start!') 13:52:47 return [] 13:52:47 print('starting OpenDaylight...') 13:52:47 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:52:47 process = start_lighty() 13:52:47 else: 13:52:47 process = start_karaf() 13:52:47 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:52:47 print('OpenDaylight started !') 13:52:47 else: 13:52:47 print('OpenDaylight failed to start !') 13:52:47 shutdown_process(process) 13:52:47 for pid in process_list: 13:52:47 shutdown_process(pid) 13:52:47 > sys.exit(1) 13:52:47 E SystemExit: 1 13:52:47 13:52:47 transportpce_tests/common/test_utils.py:233: SystemExit 13:52:47 ---------------------------- Captured stdout setup ----------------------------- 13:52:47 starting OpenDaylight... 13:52:47 starting KARAF (karaf71) TransportPCE build... 13:52:47 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_02_xpdr_device_connected __ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f4941292ac0> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_portmapping_info __ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49410ee200> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_04_tpdr_portmapping_NETWORK1 _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49434b2de0> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_05_tpdr_portmapping_CLIENT1 _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f4942983880> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK1 _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f4941292520> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49434b2de0> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 ___ ERROR at setup of TestTransportPCEPortmapping.test_08_check_mccapprofile ___ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49410ec180> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 __ ERROR at setup of TestTransportPCEPortmapping.test_09_mpdr_switching_pool ___ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49410ed940> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f4941292520> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_device_disconnected _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f49410eefc0> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_device_not_connected _ 13:52:47 13:52:47 cls = 13:52:47 func = . at 0x7f4941292520> 13:52:47 when = 'setup' 13:52:47 reraise = (, ) 13:52:47 13:52:47 @classmethod 13:52:47 def from_call( 13:52:47 cls, 13:52:47 func: Callable[[], TResult], 13:52:47 when: Literal["collect", "setup", "call", "teardown"], 13:52:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:52:47 ) -> CallInfo[TResult]: 13:52:47 """Call func, wrapping the result in a CallInfo. 13:52:47 13:52:47 :param func: 13:52:47 The function to call. Called without arguments. 13:52:47 :type func: Callable[[], _pytest.runner.TResult] 13:52:47 :param when: 13:52:47 The phase in which the function is called. 13:52:47 :param reraise: 13:52:47 Exception or exceptions that shall propagate if raised by the 13:52:47 function, instead of being wrapped in the CallInfo. 13:52:47 """ 13:52:47 excinfo = None 13:52:47 instant = timing.Instant() 13:52:47 try: 13:52:47 > result: TResult | None = func() 13:52:47 ^^^^^^ 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:52:47 lambda: runtest_hook(item=item, **kwds), 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:52:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:52:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:52:47 yield 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:52:47 return (yield) 13:52:47 ^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:52:47 item.session._setupstate.setup(item) 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:52:47 col.setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:52:47 super().setup() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:52:47 self._request._fillfixtures() 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:52:47 item.funcargs[argname] = self.getfixturevalue(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:52:47 fixturedef = self._get_active_fixturedef(argname) 13:52:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:52:47 fixturedef.execute(request=subrequest) 13:52:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:52:47 13:52:47 self = 13:52:47 request = > 13:52:47 13:52:47 def execute(self, request: SubRequest) -> FixtureValue: 13:52:47 """Return the value of this fixture, executing it if not cached.""" 13:52:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:52:47 # This needs to be done before checking if we have a cached value, since 13:52:47 # if a dependent fixture has their cache invalidated, e.g. due to 13:52:47 # parametrization, they finalize themselves and fixtures depending on it 13:52:47 # (which will likely include this fixture) setting `self.cached_result = None`. 13:52:47 # See #4871 13:52:47 requested_fixtures_that_should_finalize_us = [] 13:52:47 for argname in self.argnames: 13:52:47 fixturedef = request._get_active_fixturedef(argname) 13:52:47 # Saves requested fixtures in a list so we later can add our finalizer 13:52:47 # to them, ensuring that if a requested fixture gets torn down we get torn 13:52:47 # down first. This is generally handled by SetupState, but still currently 13:52:47 # needed when this fixture is not parametrized but depends on a parametrized 13:52:47 # fixture. 13:52:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:52:47 13:52:47 # Check for (and return) cached value/exception. 13:52:47 if self.cached_result is not None: 13:52:47 request_cache_key = self.cache_key(request) 13:52:47 cache_key = self.cached_result[1] 13:52:47 try: 13:52:47 # Attempt to make a normal == check: this might fail for objects 13:52:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:52:47 cache_hit = bool(request_cache_key == cache_key) 13:52:47 except (ValueError, RuntimeError): 13:52:47 # If the comparison raises, use 'is' as fallback. 13:52:47 cache_hit = request_cache_key is cache_key 13:52:47 13:52:47 if cache_hit: 13:52:47 if self.cached_result[2] is not None: 13:52:47 exc, exc_tb = self.cached_result[2] 13:52:47 raise exc.with_traceback(exc_tb) 13:52:47 else: 13:52:47 return self.cached_result[0] 13:52:47 # We have a previous but differently parametrized fixture instance 13:52:47 # so we need to tear it down before creating a new one. 13:52:47 self.finish(request) 13:52:47 assert self.cached_result is None 13:52:47 13:52:47 # Add finalizer to requested fixtures we saved previously. 13:52:47 # We make sure to do this after checking for cached value to avoid 13:52:47 # adding our finalizer multiple times. (#12135) 13:52:47 finalizer = functools.partial(self.finish, request=request) 13:52:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:52:47 parent_fixture.addfinalizer(finalizer) 13:52:47 13:52:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:52:47 # which is executed last. 13:52:47 > assert not self._finalizers 13:52:47 ^^^^^^^^^^^^^^^^^^^^ 13:52:47 E AssertionError 13:52:47 13:52:47 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:52:47 =========================== short test summary info ============================ 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_xpdr_device_connection 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_xpdr_device_connected 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_portmapping_info 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_tpdr_portmapping_NETWORK1 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_tpdr_portmapping_CLIENT1 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK1 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_check_mccapprofile 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_mpdr_switching_pool 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_device_disconnected 13:52:47 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_device_not_connected 13:52:47 12 errors in 102.79s (0:01:42) 13:52:47 tests71: exit 1 (103.07 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=5683 13:52:50 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:53:00 ==================================== ERRORS ==================================== 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_01_connect_xpdrA _ 13:53:00 13:53:00 cls = 13:53:00 13:53:00 @classmethod 13:53:00 def setUpClass(cls): 13:53:00 > cls.processes = test_utils.start_tpce() 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 13:53:00 transportpce_tests/hybrid/test01_device_change_notifications.py:76: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 def start_tpce(): 13:53:00 if 'NO_ODL_STARTUP' in os.environ: 13:53:00 print('No OpenDaylight instance to start!') 13:53:00 return [] 13:53:00 print('starting OpenDaylight...') 13:53:00 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:53:00 process = start_lighty() 13:53:00 else: 13:53:00 process = start_karaf() 13:53:00 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:53:00 print('OpenDaylight started !') 13:53:00 else: 13:53:00 print('OpenDaylight failed to start !') 13:53:00 shutdown_process(process) 13:53:00 for pid in process_list: 13:53:00 shutdown_process(pid) 13:53:00 > sys.exit(1) 13:53:00 E SystemExit: 1 13:53:00 13:53:00 transportpce_tests/common/test_utils.py:233: SystemExit 13:53:00 ---------------------------- Captured stdout setup ----------------------------- 13:53:00 starting OpenDaylight... 13:53:00 starting KARAF (karaf221) TransportPCE build... 13:53:00 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_02_connect_xpdrC _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a36a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_03_connect_rdmA _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595efd80> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_04_connect_rdmC _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d5ac8f7e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_05_connect_xpdrA_N1_to_roadmA_PP1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d5b7b2a20> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_06_connect_roadmA_PP1_to_xpdrA_N1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef7e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_07_connect_xpdrC_N1_to_roadmC_PP1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d5b7b2a20> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_08_connect_roadmC_PP1_to_xpdrC_N1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef1a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_09_add_omsAttributes_ROADMA_ROADMC _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef7e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_10_add_omsAttributes_ROADMC_ROADMA _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef1a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_11_create_eth_service1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d5b7b2a20> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_12_get_eth_service1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192480> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_13_change_status_line_port_xpdra _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef2e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d5b7b2a20> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d591928e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595ef2e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_17_restore_status_line_port_xpdra _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a2b60> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_18_check_update_portmapping_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_19_check_update_openroadm_topo_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a2b60> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_20_check_update_service1_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191940> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_21_change_status_port_roadma_srg _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_22_check_update_portmapping _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191940> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_23_check_update_openroadm_topo _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191ee0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_24_restore_status_port_roadma_srg _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_25_check_update_portmapping_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59190ea0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_26_check_update_openroadm_topo_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192b60> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_27_check_update_service1_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_28_change_status_line_port_roadma_deg _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192200> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_29_check_update_portmapping _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192340> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_30_check_update_openroadm_topo _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_31_restore_status_line_port_roadma_srg _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191760> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_32_check_update_portmapping_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192340> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_33_check_update_openroadm_topo_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_34_check_update_service1_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192ac0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_35_change_status_line_port_xpdrc _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_36_check_update_portmapping _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192840> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_37_check_update_openroadm_topo _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191c60> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_38_restore_status_line_port_xpdrc _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_39_check_update_portmapping_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191c60> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_40_check_update_openroadm_topo_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59193380> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_41_check_update_service1_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_42_change_status_port_roadma_srg _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d591923e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_43_check_update_portmapping _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d591936a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_44_check_update_openroadm_topo _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_45_check_update_service1_ok _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192ac0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_46_delete_eth_service1 _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d591922a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_47_disconnect_xponders_from_roadm _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_48_disconnect_XPDRA _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59192de0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_49_disconnect_XPDRC _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d591922a0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_50_disconnect_ROADMA _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d595a28e0> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_51_disconnect_ROADMC _ 13:53:00 13:53:00 cls = 13:53:00 func = . at 0x7f2d59191940> 13:53:00 when = 'setup' 13:53:00 reraise = (, ) 13:53:00 13:53:00 @classmethod 13:53:00 def from_call( 13:53:00 cls, 13:53:00 func: Callable[[], TResult], 13:53:00 when: Literal["collect", "setup", "call", "teardown"], 13:53:00 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:53:00 ) -> CallInfo[TResult]: 13:53:00 """Call func, wrapping the result in a CallInfo. 13:53:00 13:53:00 :param func: 13:53:00 The function to call. Called without arguments. 13:53:00 :type func: Callable[[], _pytest.runner.TResult] 13:53:00 :param when: 13:53:00 The phase in which the function is called. 13:53:00 :param reraise: 13:53:00 Exception or exceptions that shall propagate if raised by the 13:53:00 function, instead of being wrapped in the CallInfo. 13:53:00 """ 13:53:00 excinfo = None 13:53:00 instant = timing.Instant() 13:53:00 try: 13:53:00 > result: TResult | None = func() 13:53:00 ^^^^^^ 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:53:00 lambda: runtest_hook(item=item, **kwds), 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:53:00 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:53:00 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:53:00 yield 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:53:00 return (yield) 13:53:00 ^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:53:00 item.session._setupstate.setup(item) 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:53:00 col.setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:53:00 super().setup() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:53:00 self._request._fillfixtures() 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:53:00 item.funcargs[argname] = self.getfixturevalue(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:53:00 fixturedef = self._get_active_fixturedef(argname) 13:53:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:53:00 fixturedef.execute(request=subrequest) 13:53:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:53:00 13:53:00 self = 13:53:00 request = > 13:53:00 13:53:00 def execute(self, request: SubRequest) -> FixtureValue: 13:53:00 """Return the value of this fixture, executing it if not cached.""" 13:53:00 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:53:00 # This needs to be done before checking if we have a cached value, since 13:53:00 # if a dependent fixture has their cache invalidated, e.g. due to 13:53:00 # parametrization, they finalize themselves and fixtures depending on it 13:53:00 # (which will likely include this fixture) setting `self.cached_result = None`. 13:53:00 # See #4871 13:53:00 requested_fixtures_that_should_finalize_us = [] 13:53:00 for argname in self.argnames: 13:53:00 fixturedef = request._get_active_fixturedef(argname) 13:53:00 # Saves requested fixtures in a list so we later can add our finalizer 13:53:00 # to them, ensuring that if a requested fixture gets torn down we get torn 13:53:00 # down first. This is generally handled by SetupState, but still currently 13:53:00 # needed when this fixture is not parametrized but depends on a parametrized 13:53:00 # fixture. 13:53:00 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:53:00 13:53:00 # Check for (and return) cached value/exception. 13:53:00 if self.cached_result is not None: 13:53:00 request_cache_key = self.cache_key(request) 13:53:00 cache_key = self.cached_result[1] 13:53:00 try: 13:53:00 # Attempt to make a normal == check: this might fail for objects 13:53:00 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:53:00 cache_hit = bool(request_cache_key == cache_key) 13:53:00 except (ValueError, RuntimeError): 13:53:00 # If the comparison raises, use 'is' as fallback. 13:53:00 cache_hit = request_cache_key is cache_key 13:53:00 13:53:00 if cache_hit: 13:53:00 if self.cached_result[2] is not None: 13:53:00 exc, exc_tb = self.cached_result[2] 13:53:00 raise exc.with_traceback(exc_tb) 13:53:00 else: 13:53:00 return self.cached_result[0] 13:53:00 # We have a previous but differently parametrized fixture instance 13:53:00 # so we need to tear it down before creating a new one. 13:53:00 self.finish(request) 13:53:00 assert self.cached_result is None 13:53:00 13:53:00 # Add finalizer to requested fixtures we saved previously. 13:53:00 # We make sure to do this after checking for cached value to avoid 13:53:00 # adding our finalizer multiple times. (#12135) 13:53:00 finalizer = functools.partial(self.finish, request=request) 13:53:00 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:53:00 parent_fixture.addfinalizer(finalizer) 13:53:00 13:53:00 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:53:00 # which is executed last. 13:53:00 > assert not self._finalizers 13:53:00 ^^^^^^^^^^^^^^^^^^^^ 13:53:00 E AssertionError 13:53:00 13:53:00 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:53:00 =========================== short test summary info ============================ 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_01_connect_xpdrA 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_02_connect_xpdrC 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_03_connect_rdmA 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_04_connect_rdmC 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_05_connect_xpdrA_N1_to_roadmA_PP1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_06_connect_roadmA_PP1_to_xpdrA_N1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_07_connect_xpdrC_N1_to_roadmC_PP1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_08_connect_roadmC_PP1_to_xpdrC_N1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_09_add_omsAttributes_ROADMA_ROADMC 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_10_add_omsAttributes_ROADMC_ROADMA 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_11_create_eth_service1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_eth_service1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_13_change_status_line_port_xpdra 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_17_restore_status_line_port_xpdra 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_portmapping_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_19_check_update_openroadm_topo_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_service1_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_21_change_status_port_roadma_srg 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_22_check_update_portmapping 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_23_check_update_openroadm_topo 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_24_restore_status_port_roadma_srg 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_portmapping_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_26_check_update_openroadm_topo_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_service1_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_28_change_status_line_port_roadma_deg 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_29_check_update_portmapping 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_30_check_update_openroadm_topo 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_31_restore_status_line_port_roadma_srg 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_portmapping_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_33_check_update_openroadm_topo_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_service1_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_35_change_status_line_port_xpdrc 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_36_check_update_portmapping 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_37_check_update_openroadm_topo 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_38_restore_status_line_port_xpdrc 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_39_check_update_portmapping_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_40_check_update_openroadm_topo_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_service1_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_42_change_status_port_roadma_srg 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_43_check_update_portmapping 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_44_check_update_openroadm_topo 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_service1_ok 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_delete_eth_service1 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_47_disconnect_xponders_from_roadm 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_48_disconnect_XPDRA 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_49_disconnect_XPDRC 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_50_disconnect_ROADMA 13:53:00 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_51_disconnect_ROADMC 13:53:00 51 errors in 110.28s (0:01:50) 13:53:00 tests71: FAIL ✖ in 1 minute 50.21 seconds 13:53:00 tests_hybrid: exit 1 (110.60 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=5889 13:53:00 buildcontroller: FAIL code 1 (58.35=setup[8.80]+cmd[49.55] seconds) 13:53:00 sims: FAIL code 2 (9.79=setup[7.34]+cmd[2.46] seconds) 13:53:00 testsPCE: FAIL code 1 (270.12=setup[145.80]+cmd[124.31] seconds) 13:53:00 build_karaf_tests221: OK (95.53=setup[7.19]+cmd[88.34] seconds) 13:53:00 tests_tapi: FAIL code 1 (120.43=setup[9.67]+cmd[110.76] seconds) 13:53:00 tests221: FAIL code 1 (115.33=setup[7.76]+cmd[107.57] seconds) 13:53:00 build_karaf_tests71: OK (90.63=setup[7.18]+cmd[83.46] seconds) 13:53:00 tests71: FAIL code 1 (110.21=setup[7.14]+cmd[103.07] seconds) 13:53:00 build_karaf_tests200: OK (95.55=setup[7.00]+cmd[88.55] seconds) 13:53:00 tests200: FAIL code 1 (110.35=setup[7.67]+cmd[102.68] seconds) 13:53:00 tests_hybrid: FAIL code 1 (117.86=setup[7.26]+cmd[110.60] seconds) 13:53:00 buildlighty: FAIL code 9 (57.71=setup[8.94]+cmd[48.77] seconds) 13:53:00 docs: OK (20.18=setup[17.01]+cmd[3.17] seconds) 13:53:00 docs-linkcheck: OK (21.60=setup[16.42]+cmd[5.18] seconds) 13:53:00 checkbashisms: OK (3.65=setup[2.35]+cmd[0.01,0.05,1.24] seconds) 13:53:00 pre-commit: OK (66.58=setup[2.77]+cmd[0.01,0.00,52.81,10.99] seconds) 13:53:00 pylint: OK (28.64=setup[3.81]+cmd[24.83] seconds) 13:53:00 evaluation failed :( (777.69 seconds) 13:53:00 + tox_status=1 13:53:00 + echo '---> Completed tox runs' 13:53:00 ---> Completed tox runs 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/build_karaf_tests200/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=build_karaf_tests200 13:53:00 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/build_karaf_tests221/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=build_karaf_tests221 13:53:00 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/build_karaf_tests71/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=build_karaf_tests71 13:53:00 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/buildcontroller/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=buildcontroller 13:53:00 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/buildlighty/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=buildlighty 13:53:00 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/checkbashisms/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=checkbashisms 13:53:00 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/docs-linkcheck/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=docs-linkcheck 13:53:00 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/docs/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=docs 13:53:00 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/pre-commit/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=pre-commit 13:53:00 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/pylint/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=pylint 13:53:00 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/sims/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=sims 13:53:00 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/tests200/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=tests200 13:53:00 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/tests221/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=tests221 13:53:00 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/tests71/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=tests71 13:53:00 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/testsPCE/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=testsPCE 13:53:00 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/tests_hybrid/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=tests_hybrid 13:53:00 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 13:53:00 + for i in .tox/*/log 13:53:00 ++ echo .tox/tests_tapi/log 13:53:00 ++ awk -F/ '{print $2}' 13:53:00 + tox_env=tests_tapi 13:53:00 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 13:53:00 + DOC_DIR=docs/_build/html 13:53:00 + [[ -d docs/_build/html ]] 13:53:00 + echo '---> Archiving generated docs' 13:53:00 ---> Archiving generated docs 13:53:00 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 13:53:00 + echo '---> tox-run.sh ends' 13:53:00 ---> tox-run.sh ends 13:53:00 + test 1 -eq 0 13:53:00 + exit 1 13:53:00 ++ '[' 1 = 1 ']' 13:53:00 ++ '[' -x /usr/bin/clear_console ']' 13:53:00 ++ /usr/bin/clear_console -q 13:53:00 Build step 'Execute shell' marked build as failure 13:53:00 $ ssh-agent -k 13:53:00 unset SSH_AUTH_SOCK; 13:53:00 unset SSH_AGENT_PID; 13:53:00 echo Agent pid 1564 killed; 13:53:00 [ssh-agent] Stopped. 13:53:00 [PostBuildScript] - [INFO] Executing post build scripts. 13:53:00 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2556459865338432386.sh 13:53:00 ---> sysstat.sh 13:53:01 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5328684222656181171.sh 13:53:01 ---> package-listing.sh 13:53:01 ++ tr '[:upper:]' '[:lower:]' 13:53:01 ++ facter osfamily 13:53:01 + OS_FAMILY=debian 13:53:01 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 13:53:01 + START_PACKAGES=/tmp/packages_start.txt 13:53:01 + END_PACKAGES=/tmp/packages_end.txt 13:53:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:53:01 + PACKAGES=/tmp/packages_start.txt 13:53:01 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 13:53:01 + PACKAGES=/tmp/packages_end.txt 13:53:01 + case "${OS_FAMILY}" in 13:53:01 + dpkg -l 13:53:01 + grep '^ii' 13:53:01 + '[' -f /tmp/packages_start.txt ']' 13:53:01 + '[' -f /tmp/packages_end.txt ']' 13:53:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:53:01 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 13:53:01 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 13:53:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 13:53:01 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1393279900174433715.sh 13:53:01 ---> capture-instance-metadata.sh 13:53:01 Setup pyenv: 13:53:01 system 13:53:01 3.8.20 13:53:01 3.9.20 13:53:01 3.10.15 13:53:01 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:53:01 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yoax from file:/tmp/.os_lf_venv 13:53:01 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:53:01 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:53:03 lf-activate-venv(): INFO: Base packages installed successfully 13:53:03 lf-activate-venv(): INFO: Installing additional packages: lftools 13:53:16 lf-activate-venv(): INFO: Adding /tmp/venv-Yoax/bin to PATH 13:53:16 INFO: Running in OpenStack, capturing instance metadata 13:53:16 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7935568460946938563.sh 13:53:16 provisioning config files... 13:53:17 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #5870 13:53:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config4483808595077578271tmp 13:53:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 13:53:17 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 13:53:17 provisioning config files... 13:53:17 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 13:53:17 [EnvInject] - Injecting environment variables from a build step. 13:53:17 [EnvInject] - Injecting as environment variables the properties content 13:53:17 SERVER_ID=logs 13:53:17 13:53:17 [EnvInject] - Variables injected successfully. 13:53:17 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9843320736247552408.sh 13:53:17 ---> create-netrc.sh 13:53:17 WARN: Log server credential not found. 13:53:17 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8008566479177469746.sh 13:53:17 ---> python-tools-install.sh 13:53:17 Setup pyenv: 13:53:17 system 13:53:17 3.8.20 13:53:17 3.9.20 13:53:17 3.10.15 13:53:17 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:53:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yoax from file:/tmp/.os_lf_venv 13:53:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:53:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:53:20 lf-activate-venv(): INFO: Base packages installed successfully 13:53:20 lf-activate-venv(): INFO: Installing additional packages: lftools 13:53:29 lf-activate-venv(): INFO: Adding /tmp/venv-Yoax/bin to PATH 13:53:29 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins7741313551060861709.sh 13:53:29 ---> uv-install.sh 13:53:29 uv 0.11.28 is already installed 13:53:29 uvx 0.11.28 (x86_64-unknown-linux-gnu) 13:53:29 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins288029733814198943.sh 13:53:29 ---> sudo-logs.sh 13:53:29 Archiving 'sudo' log.. 13:53:30 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15200508224226306990.sh 13:53:30 ---> job-cost.sh 13:53:30 INFO: Activating Python virtual environment... 13:53:30 Setup pyenv: 13:53:30 system 13:53:30 3.8.20 13:53:30 3.9.20 13:53:30 3.10.15 13:53:30 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:53:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yoax from file:/tmp/.os_lf_venv 13:53:30 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:53:30 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:53:32 lf-activate-venv(): INFO: Base packages installed successfully 13:53:32 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 13:53:39 lf-activate-venv(): INFO: Adding /tmp/venv-Yoax/bin to PATH 13:53:39 INFO: No stack-cost file found 13:53:39 INFO: Instance uptime: 956s 13:53:39 INFO: Fetching instance metadata (attempt 1 of 3)... 13:53:39 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 13:53:39 INFO: Successfully fetched instance metadata 13:53:39 INFO: Instance type: v3-standard-4 13:53:39 INFO: Retrieving pricing info for: v3-standard-4 13:53:39 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 13:53:39 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=956 13:53:39 INFO: Successfully fetched Vexxhost pricing API 13:53:39 INFO: Retrieved cost: 0.11 13:53:39 INFO: Retrieved resource: v3-standard-4 13:53:39 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 13:53:39 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 13:53:39 INFO: Successfully archived job cost data 13:53:39 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,5870,2026-07-10 13:53:39,v3-standard-4,956,0.11,0.00,FAILURE 13:53:39 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins7754088455982319705.sh 13:53:39 ---> logs-deploy.sh 13:53:39 Setup pyenv: 13:53:39 system 13:53:39 3.8.20 13:53:39 3.9.20 13:53:39 3.10.15 13:53:39 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:53:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Yoax from file:/tmp/.os_lf_venv 13:53:40 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:53:40 lf-activate-venv(): INFO: Attempting to install with network-safe options... 13:53:42 lf-activate-venv(): INFO: Base packages installed successfully 13:53:42 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 13:53:54 lf-activate-venv(): INFO: Adding /tmp/venv-Yoax/bin to PATH 13:53:54 WARNING: Nexus logging server not set 13:53:54 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/5870/ 13:53:54 INFO: archiving logs to S3 13:53:55 ---> uname -a: 13:53:55 Linux prd-ubuntu2204-docker-4c-16g-34542 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 13:53:55 13:53:55 13:53:55 ---> lscpu: 13:53:55 Architecture: x86_64 13:53:55 CPU op-mode(s): 32-bit, 64-bit 13:53:55 Address sizes: 40 bits physical, 48 bits virtual 13:53:55 Byte Order: Little Endian 13:53:55 CPU(s): 4 13:53:55 On-line CPU(s) list: 0-3 13:53:55 Vendor ID: AuthenticAMD 13:53:55 Model name: AMD EPYC-Rome Processor 13:53:55 CPU family: 23 13:53:55 Model: 49 13:53:55 Thread(s) per core: 1 13:53:55 Core(s) per socket: 1 13:53:55 Socket(s): 4 13:53:55 Stepping: 0 13:53:55 BogoMIPS: 5599.99 13:53:55 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 13:53:55 Virtualization: AMD-V 13:53:55 Hypervisor vendor: KVM 13:53:55 Virtualization type: full 13:53:55 L1d cache: 128 KiB (4 instances) 13:53:55 L1i cache: 128 KiB (4 instances) 13:53:55 L2 cache: 2 MiB (4 instances) 13:53:55 L3 cache: 64 MiB (4 instances) 13:53:55 NUMA node(s): 1 13:53:55 NUMA node0 CPU(s): 0-3 13:53:55 Vulnerability Gather data sampling: Not affected 13:53:55 Vulnerability Indirect target selection: Not affected 13:53:55 Vulnerability Itlb multihit: Not affected 13:53:55 Vulnerability L1tf: Not affected 13:53:55 Vulnerability Mds: Not affected 13:53:55 Vulnerability Meltdown: Not affected 13:53:55 Vulnerability Mmio stale data: Not affected 13:53:55 Vulnerability Reg file data sampling: Not affected 13:53:55 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 13:53:55 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 13:53:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:53:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:53:55 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 13:53:55 Vulnerability Srbds: Not affected 13:53:55 Vulnerability Tsa: Not affected 13:53:55 Vulnerability Tsx async abort: Not affected 13:53:55 Vulnerability Vmscape: Not affected 13:53:55 13:53:55 13:53:55 ---> nproc: 13:53:55 4 13:53:55 13:53:55 13:53:55 ---> df -h: 13:53:55 Filesystem Size Used Avail Use% Mounted on 13:53:55 tmpfs 1.6G 1.1M 1.6G 1% /run 13:53:55 /dev/vda1 78G 14G 64G 18% / 13:53:55 tmpfs 7.9G 0 7.9G 0% /dev/shm 13:53:55 tmpfs 5.0M 0 5.0M 0% /run/lock 13:53:55 /dev/vda15 105M 6.1M 99M 6% /boot/efi 13:53:55 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 13:53:55 13:53:55 13:53:55 ---> free -m: 13:53:55 total used free shared buff/cache available 13:53:55 Mem: 15989 714 6675 4 8599 14932 13:53:55 Swap: 1023 0 1023 13:53:55 13:53:55 13:53:55 ---> ip addr: 13:53:55 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 13:53:55 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:53:55 inet 127.0.0.1/8 scope host lo 13:53:55 valid_lft forever preferred_lft forever 13:53:55 inet6 ::1/128 scope host 13:53:55 valid_lft forever preferred_lft forever 13:53:55 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 13:53:55 link/ether fa:16:3e:ab:54:91 brd ff:ff:ff:ff:ff:ff 13:53:55 altname enp0s3 13:53:55 inet 10.30.170.99/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 13:53:55 valid_lft 85436sec preferred_lft 85436sec 13:53:55 inet6 fe80::f816:3eff:feab:5491/64 scope link 13:53:55 valid_lft forever preferred_lft forever 13:53:55 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 13:53:55 link/ether 92:cf:75:86:42:2c brd ff:ff:ff:ff:ff:ff 13:53:55 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:53:55 valid_lft forever preferred_lft forever 13:53:55 inet6 fe80::90cf:75ff:fe86:422c/64 scope link 13:53:55 valid_lft forever preferred_lft forever 13:53:55 13:53:55 13:53:55 ---> sar -b -r -n DEV: 13:53:55 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-34542) 07/10/26 _x86_64_ (4 CPU) 13:53:55 13:53:55 13:37:55 LINUX RESTART (4 CPU) 13:53:55 13:53:55 13:40:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:53:55 13:50:01 81.37 7.53 69.65 4.19 726.23 22259.01 3227.09 13:53:55 Average: 81.37 7.53 69.65 4.19 726.23 22259.01 3227.09 13:53:55 13:53:55 13:40:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:53:55 13:50:01 6343368 14595356 1338936 8.18 218416 7894916 2213688 12.71 1471896 7877388 1484 13:53:55 Average: 6343368 14595356 1338936 8.18 218416 7894916 2213688 12.71 1471896 7877388 1484 13:53:55 13:53:55 13:40:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:53:55 13:50:01 lo 1.09 1.09 0.11 0.11 0.00 0.00 0.00 0.00 13:53:55 13:50:01 ens3 169.02 128.83 2254.14 14.14 0.00 0.00 0.00 0.00 13:53:55 13:50:01 docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 13:53:55 Average: lo 1.09 1.09 0.11 0.11 0.00 0.00 0.00 0.00 13:53:55 Average: ens3 169.02 128.83 2254.14 14.14 0.00 0.00 0.00 0.00 13:53:55 Average: docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 13:53:55 13:53:55 13:53:55 ---> sar -P ALL: 13:53:55 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-34542) 07/10/26 _x86_64_ (4 CPU) 13:53:55 13:53:55 13:37:55 LINUX RESTART (4 CPU) 13:53:55 13:53:55 13:40:01 CPU %user %nice %system %iowait %steal %idle 13:53:55 13:50:01 all 22.97 0.00 1.55 5.33 0.05 70.10 13:53:55 13:50:01 0 23.38 0.00 1.48 2.02 0.05 73.07 13:53:55 13:50:01 1 24.31 0.00 1.60 3.11 0.05 70.93 13:53:55 13:50:01 2 22.78 0.00 1.56 14.58 0.05 61.03 13:53:55 13:50:01 3 21.43 0.00 1.57 1.63 0.05 75.33 13:53:55 Average: all 22.97 0.00 1.55 5.33 0.05 70.10 13:53:55 Average: 0 23.38 0.00 1.48 2.02 0.05 73.07 13:53:55 Average: 1 24.31 0.00 1.60 3.11 0.05 70.93 13:53:55 Average: 2 22.78 0.00 1.56 14.58 0.05 61.03 13:53:55 Average: 3 21.43 0.00 1.57 1.63 0.05 75.33 13:53:55 13:53:55 13:53:55