13:07:55 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/126684 13:07:55 Running as SYSTEM 13:07:55 [EnvInject] - Loading node environment variables. 13:07:55 Building remotely on prd-ubuntu2204-docker-4c-16g-62931 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 13:07:55 [ssh-agent] Looking for ssh-agent implementation... 13:07:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:07:56 $ ssh-agent 13:07:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOs7oEo/agent.1559 13:07:56 SSH_AGENT_PID=1561 13:07:56 [ssh-agent] Started. 13:07:56 Running ssh-add (command line suppressed) 13:07:56 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_2452584920152150249.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_2452584920152150249.key) 13:07:56 [ssh-agent] Using credentials jenkins (jenkins-ssh) 13:07:56 The recommended git tool is: NONE 13:07:59 using credential jenkins-ssh 13:07:59 Wiping out workspace first. 13:07:59 Cloning the remote Git repository 13:07:59 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 13:07:59 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 13:07:59 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 13:07:59 > git --version # timeout=10 13:07:59 > git --version # 'git version 2.34.1' 13:07:59 using GIT_SSH to set credentials jenkins-ssh 13:07:59 Verifying host key using known hosts file, will automatically accept unseen keys 13:07:59 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 13:08:04 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 13:08:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:08:05 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 13:08:05 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 13:08:05 using GIT_SSH to set credentials jenkins-ssh 13:08:05 Verifying host key using known hosts file, will automatically accept unseen keys 13:08:05 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/84/126684/2 # timeout=10 13:08:05 > git rev-parse e0b170560f9ed6e34107c17bf95569f9f9cd6a92^{commit} # timeout=10 13:08:05 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 13:08:05 Checking out Revision e0b170560f9ed6e34107c17bf95569f9f9cd6a92 (refs/changes/84/126684/2) 13:08:05 > git config core.sparsecheckout # timeout=10 13:08:05 > git checkout -f e0b170560f9ed6e34107c17bf95569f9f9cd6a92 # timeout=10 13:08:06 Commit message: "Fix networkmodel code style violations" 13:08:06 > git rev-parse FETCH_HEAD^{commit} # timeout=10 13:08:06 > git rev-list --no-walk 186b08f36fcfc5611cc659f6aa7d8df4c39d390b # timeout=10 13:08:06 > git remote # timeout=10 13:08:06 > git submodule init # timeout=10 13:08:06 > git submodule sync # timeout=10 13:08:06 > git config --get remote.origin.url # timeout=10 13:08:06 > git submodule init # timeout=10 13:08:06 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 13:08:06 ERROR: No submodules found. 13:08:09 provisioning config files... 13:08:09 copy managed file [npmrc] to file:/home/jenkins/.npmrc 13:08:09 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 13:08:09 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1533840147428738726.sh 13:08:09 ---> python-tools-install.sh 13:08:09 Setup pyenv: 13:08:09 * system (set by /opt/pyenv/version) 13:08:09 * 3.8.20 (set by /opt/pyenv/version) 13:08:09 * 3.9.20 (set by /opt/pyenv/version) 13:08:09 3.10.15 13:08:09 3.11.10 13:08:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BErR 13:08:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 13:08:14 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:08:18 lf-activate-venv(): INFO: Installing additional packages: lftools 13:08:47 lf-activate-venv(): INFO: Adding /tmp/venv-BErR/bin to PATH 13:08:47 Generating Requirements File 13:09:16 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:09:16 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 13:09:16 Python 3.11.10 13:09:16 pip 26.2.1 from /tmp/venv-BErR/lib/python3.11/site-packages/pip (python 3.11) 13:09:17 aiohappyeyeballs==2.7.1 13:09:17 aiohttp==3.14.4 13:09:17 aiosignal==1.4.0 13:09:17 appdirs==1.4.4 13:09:17 argcomplete==3.7.2 13:09:17 aspy.yaml==1.3.0 13:09:17 attrs==26.1.0 13:09:17 autopage==0.6.0 13:09:17 beautifulsoup4==4.15.0 13:09:17 boto3==1.43.109 13:09:17 botocore==1.43.109 13:09:17 bs4==0.0.2 13:09:17 certifi==2026.7.22 13:09:17 cffi==2.1.1 13:09:17 cfgv==3.5.0 13:09:17 chardet==7.6.0 13:09:17 charset-normalizer==3.5.2 13:09:17 click==8.5.0 13:09:17 cliff==4.16.0 13:09:17 cmd2==4.2.4 13:09:17 cryptography==3.3.2 13:09:17 debtcollector==3.1.0 13:09:17 decorator==5.3.1 13:09:17 defusedxml==0.7.1 13:09:17 Deprecated==1.3.1 13:09:17 distlib==0.4.3 13:09:17 dnspython==2.8.0 13:09:17 docker==7.2.0 13:09:17 dogpile.cache==1.5.0 13:09:17 durationpy==0.11 13:09:17 email-validator==2.3.0 13:09:17 filelock==4.0.12 13:09:17 frozenlist==1.8.0 13:09:17 future==1.0.0 13:09:17 gitdb==4.0.12 13:09:17 GitPython==3.2.0 13:09:17 httplib2==0.30.2 13:09:17 identify==2.6.20 13:09:17 idna==3.20 13:09:17 importlib-resources==1.5.0 13:09:17 iso8601==2.1.0 13:09:17 Jinja2==3.1.6 13:09:17 jmespath==1.1.0 13:09:17 jsonpatch==1.33 13:09:17 jsonpointer==3.2.0 13:09:17 jsonschema==4.26.0 13:09:17 jsonschema-specifications==2025.9.1 13:09:17 keystoneauth1==5.18.0 13:09:17 kubernetes==36.0.3 13:09:17 lftools==0.37.23 13:09:17 lxml==6.1.3 13:09:17 markdown-it-py==4.2.0 13:09:17 MarkupSafe==3.0.4 13:09:17 mdurl==0.1.2 13:09:17 msgpack==1.2.3 13:09:17 multi_key_dict==2.0.3 13:09:17 multidict==6.9.1 13:09:17 munch==4.0.0 13:09:17 netaddr==1.3.0 13:09:17 niet==1.4.2 13:09:17 nodeenv==1.11.0 13:09:17 oauth2client==4.1.3 13:09:17 oauthlib==4.0.0 13:09:17 openstacksdk==4.21.0 13:09:17 os-service-types==1.9.0 13:09:17 osc-lib==4.7.0 13:09:17 oslo.config==10.7.0 13:09:17 oslo.context==6.5.0 13:09:17 oslo.i18n==6.9.0 13:09:17 oslo.log==8.3.2 13:09:17 oslo.serialization==5.11.0 13:09:17 oslo.utils==10.2.0 13:09:17 packaging==26.3 13:09:17 pbr==7.1.3 13:09:17 platformdirs==4.12.4 13:09:17 prettytable==3.18.0 13:09:17 prompt_toolkit==3.0.53 13:09:17 propcache==0.5.4 13:09:17 psutil==7.2.2 13:09:17 pyasn1==0.6.4 13:09:17 pyasn1_modules==0.4.2 13:09:17 pycparser==3.1 13:09:17 pygerrit2==2.0.15 13:09:17 PyGithub==2.10.0 13:09:17 Pygments==2.21.0 13:09:17 PyJWT==2.15.1 13:09:17 PyNaCl==1.6.2 13:09:17 pyparsing==2.4.7 13:09:17 pyperclip==1.11.0 13:09:17 pyrsistent==0.20.0 13:09:17 python-dateutil==2.9.0.post0 13:09:17 python-discovery==1.6.1 13:09:17 python-heatclient==5.3.0 13:09:17 python-jenkins==1.8.3 13:09:17 python-keystoneclient==6.0.0 13:09:17 python-magnumclient==5.0.0 13:09:17 python-manilaclient==6.3.0 13:09:17 python-openstackclient==10.3.0 13:09:17 python-swiftclient==4.11.0 13:09:17 PyYAML==6.0.3 13:09:17 referencing==0.37.0 13:09:17 requests==2.34.2 13:09:17 requests-oauthlib==2.0.0 13:09:17 rfc3986==2.0.0 13:09:17 rich==15.0.0 13:09:17 rich-argparse==1.8.0 13:09:17 rpds-py==2026.9.1 13:09:17 rsa==4.9.1 13:09:17 ruamel.yaml==0.19.1 13:09:17 ruamel.yaml.clib==0.2.15 13:09:17 s3transfer==0.19.2 13:09:17 simplejson==4.2.0 13:09:17 six==1.17.0 13:09:17 smmap==5.0.3 13:09:17 soupsieve==2.10 13:09:17 stevedore==5.9.1 13:09:17 tabulate==0.10.0 13:09:17 toml==0.10.2 13:09:17 tomlkit==0.15.1 13:09:17 tqdm==4.70.1 13:09:17 typing_extensions==4.16.0 13:09:17 urllib3==1.26.20 13:09:17 virtualenv==21.14.5 13:09:17 wcwidth==0.9.2 13:09:17 websocket-client==1.9.2 13:09:17 wrapt==2.5.0 13:09:17 xdg==6.0.0 13:09:17 xmltodict==1.0.4 13:09:17 yarl==1.25.1 13:09:17 yq==4.4.0 13:09:17 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins14797969130280626489.sh 13:09:17 ---> uv-install.sh 13:09:17 Installing uv/uvx (latest) using shell installer 13:09:17 2026-10-08 13:09:17 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71308/71308] -> "/tmp/uv-install-BJamZf.sh" [1] 13:09:17 downloading uv 0.12.23 x86_64-unknown-linux-gnu 13:09:19 installing to /home/jenkins/.local/bin 13:09:19 uv 13:09:19 uvx 13:09:19 everything's installed! 13:09:19 13:09:19 To add $HOME/.local/bin to your PATH, either restart your shell or run: 13:09:19 13:09:19 source $HOME/.local/bin/env (sh, bash, zsh) 13:09:19 source $HOME/.local/bin/env.fish (fish) 13:09:19 Adding install location to PATH 13:09:19 ---> Validating uv/uvx install 13:09:19 uvx 0.12.23 (x86_64-unknown-linux-gnu) 13:09:19 [EnvInject] - Injecting environment variables from a build step. 13:09:20 [EnvInject] - Injecting as environment variables the properties content 13:09:20 PYTHON=python3 13:09:20 13:09:20 [EnvInject] - Variables injected successfully. 13:09:20 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins17249430897643423924.sh 13:09:20 ---> tox-install.sh 13:09:20 + source /home/jenkins/lf-env.sh 13:09:20 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:09:20 ++ mktemp -d /tmp/venv-XXXX 13:09:20 + lf_venv=/tmp/venv-zP0g 13:09:20 + local venv_file=/tmp/.os_lf_venv 13:09:20 + local python=python3 13:09:20 + local options 13:09:20 + local set_path=true 13:09:20 + local install_args= 13:09:20 ++ 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:09:20 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:09:20 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:09:20 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:09:20 + true 13:09:20 + case $1 in 13:09:20 + venv_file=/tmp/.toxenv 13:09:20 + shift 2 13:09:20 + true 13:09:20 + case $1 in 13:09:20 + shift 13:09:20 + break 13:09:20 + case $python in 13:09:20 + local pkg_list= 13:09:20 + [[ -d /opt/pyenv ]] 13:09:20 + echo 'Setup pyenv:' 13:09:20 Setup pyenv: 13:09:20 + export PYENV_ROOT=/opt/pyenv 13:09:20 + PYENV_ROOT=/opt/pyenv 13:09:20 + 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:09:20 + 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:09:20 + pyenv versions 13:09:20 system 13:09:20 3.8.20 13:09:20 3.9.20 13:09:20 3.10.15 13:09:20 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:09:20 + command -v pyenv 13:09:20 ++ pyenv init - --no-rehash 13:09:20 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 13:09:20 for i in ${!paths[@]}; do 13:09:20 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 13:09:20 fi; done; 13:09:20 echo "${paths[*]}"'\'')" 13:09:20 export PATH="/opt/pyenv/shims:${PATH}" 13:09:20 export PYENV_SHELL=bash 13:09:20 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:09:20 pyenv() { 13:09:20 local command 13:09:20 command="${1:-}" 13:09:20 if [ "$#" -gt 0 ]; then 13:09:20 shift 13:09:20 fi 13:09:20 13:09:20 case "$command" in 13:09:20 rehash|shell) 13:09:20 eval "$(pyenv "sh-$command" "$@")" 13:09:20 ;; 13:09:20 *) 13:09:20 command pyenv "$command" "$@" 13:09:20 ;; 13:09:20 esac 13:09:20 }' 13:09:20 +++ bash --norc -ec 'IFS=:; paths=($PATH); 13:09:20 for i in ${!paths[@]}; do 13:09:20 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 13:09:20 fi; done; 13:09:20 echo "${paths[*]}"' 13:09:20 ++ 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:09:20 ++ 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:09:20 ++ 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:09:20 ++ export PYENV_SHELL=bash 13:09:20 ++ PYENV_SHELL=bash 13:09:20 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:09:20 +++ complete -F _pyenv pyenv 13:09:20 ++ lf-pyver python3 13:09:20 ++ local py_version_xy=python3 13:09:20 ++ local py_version_xyz= 13:09:20 ++ sed 's/^[ *]* //' 13:09:20 ++ pyenv versions 13:09:20 ++ local command 13:09:20 ++ command=versions 13:09:20 ++ '[' 1 -gt 0 ']' 13:09:20 ++ shift 13:09:20 ++ case "$command" in 13:09:20 ++ command pyenv versions 13:09:20 ++ awk '{ print $1 }' 13:09:20 ++ grep -E '^[0-9.]*[0-9]$' 13:09:20 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:09:20 +++ grep '^3' /tmp/.pyenv_versions 13:09:20 +++ sort -V 13:09:20 +++ tail -n 1 13:09:20 ++ py_version_xyz=3.11.10 13:09:20 ++ [[ -z 3.11.10 ]] 13:09:20 ++ echo 3.11.10 13:09:20 ++ return 0 13:09:20 + pyenv local 3.11.10 13:09:20 + local command 13:09:20 + command=local 13:09:20 + '[' 2 -gt 0 ']' 13:09:20 + shift 13:09:20 + case "$command" in 13:09:20 + command pyenv local 3.11.10 13:09:20 + for arg in "$@" 13:09:20 + case $arg in 13:09:20 + pkg_list+='tox ' 13:09:20 + for arg in "$@" 13:09:20 + case $arg in 13:09:20 + pkg_list+='virtualenv ' 13:09:20 + for arg in "$@" 13:09:20 + case $arg in 13:09:20 + pkg_list+='urllib3~=1.26.15 ' 13:09:20 + [[ -f /tmp/.toxenv ]] 13:09:20 + [[ ! -f /tmp/.toxenv ]] 13:09:20 + [[ -n '' ]] 13:09:20 + python3 -m venv /tmp/venv-zP0g 13:09:24 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zP0g' 13:09:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zP0g 13:09:24 + echo /tmp/venv-zP0g 13:09:24 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 13:09:24 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 13:09:24 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 13:09:24 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:09:24 + local 'pip_opts=--upgrade --quiet' 13:09:24 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 13:09:24 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 13:09:24 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 13:09:24 + [[ -n '' ]] 13:09:24 + [[ -n '' ]] 13:09:24 + lf-venv-pip-install /tmp/venv-zP0g/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 13:09:24 + local venv_python=/tmp/venv-zP0g/bin/python3 13:09:24 + shift 13:09:24 + local upstream=https://pypi.org/simple 13:09:24 + /tmp/venv-zP0g/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:09:28 + return 0 13:09:28 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:09:28 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 13:09:28 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 13:09:28 + lf-venv-pip-install /tmp/venv-zP0g/bin/python3 --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:09:28 + local venv_python=/tmp/venv-zP0g/bin/python3 13:09:28 + shift 13:09:28 + local upstream=https://pypi.org/simple 13:09:28 + /tmp/venv-zP0g/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:09:30 + return 0 13:09:30 + type python3 13:09:30 + true 13:09:30 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zP0g/bin to PATH' 13:09:30 lf-activate-venv(): INFO: Adding /tmp/venv-zP0g/bin to PATH 13:09:30 + PATH=/tmp/venv-zP0g/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:09:30 + return 0 13:09:30 + python3 --version 13:09:30 Python 3.11.10 13:09:30 + python3 -m pip --version 13:09:30 pip 26.2.1 from /tmp/venv-zP0g/lib/python3.11/site-packages/pip (python 3.11) 13:09:30 + python3 -m pip freeze 13:09:30 cachetools==7.2.1 13:09:30 colorama==0.4.6 13:09:30 distlib==0.4.3 13:09:30 filelock==4.0.12 13:09:30 packaging==26.3 13:09:30 platformdirs==4.12.4 13:09:30 pluggy==1.6.0 13:09:30 pyproject-api==1.11.4 13:09:30 python-discovery==1.6.1 13:09:30 tomli_w==1.2.0 13:09:30 tox==4.64.9 13:09:30 typing_extensions==4.16.0 13:09:30 urllib3==1.26.20 13:09:30 virtualenv==21.14.5 13:09:30 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins12154757039888514310.sh 13:09:30 [EnvInject] - Injecting environment variables from a build step. 13:09:30 [EnvInject] - Injecting as environment variables the properties content 13:09:30 PARALLEL=True 13:09:30 13:09:30 [EnvInject] - Variables injected successfully. 13:09:30 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins17122665211838766058.sh 13:09:30 ---> tox-run.sh 13:09:30 + 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:09:30 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 13:09:30 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 13:09:30 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 13:09:30 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 13:09:30 + source /home/jenkins/lf-env.sh 13:09:30 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:09:30 ++ mktemp -d /tmp/venv-XXXX 13:09:30 + lf_venv=/tmp/venv-sXqE 13:09:30 + local venv_file=/tmp/.os_lf_venv 13:09:30 + local python=python3 13:09:30 + local options 13:09:30 + local set_path=true 13:09:30 + local install_args= 13:09:30 ++ 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:09:30 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:09:30 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:09:30 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:09:30 + true 13:09:30 + case $1 in 13:09:30 + venv_file=/tmp/.toxenv 13:09:30 + shift 2 13:09:30 + true 13:09:30 + case $1 in 13:09:30 + shift 13:09:30 + break 13:09:30 + case $python in 13:09:30 + local pkg_list= 13:09:30 + [[ -d /opt/pyenv ]] 13:09:30 + echo 'Setup pyenv:' 13:09:30 Setup pyenv: 13:09:30 + export PYENV_ROOT=/opt/pyenv 13:09:30 + PYENV_ROOT=/opt/pyenv 13:09:30 + 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:09:30 + 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:09:30 + pyenv versions 13:09:30 system 13:09:30 3.8.20 13:09:30 3.9.20 13:09:30 3.10.15 13:09:30 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:09:30 + command -v pyenv 13:09:30 ++ pyenv init - --no-rehash 13:09:30 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 13:09:30 for i in ${!paths[@]}; do 13:09:30 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 13:09:30 fi; done; 13:09:30 echo "${paths[*]}"'\'')" 13:09:30 export PATH="/opt/pyenv/shims:${PATH}" 13:09:30 export PYENV_SHELL=bash 13:09:30 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:09:30 pyenv() { 13:09:30 local command 13:09:30 command="${1:-}" 13:09:30 if [ "$#" -gt 0 ]; then 13:09:30 shift 13:09:30 fi 13:09:30 13:09:30 case "$command" in 13:09:30 rehash|shell) 13:09:30 eval "$(pyenv "sh-$command" "$@")" 13:09:30 ;; 13:09:30 *) 13:09:30 command pyenv "$command" "$@" 13:09:30 ;; 13:09:30 esac 13:09:30 }' 13:09:30 +++ bash --norc -ec 'IFS=:; paths=($PATH); 13:09:30 for i in ${!paths[@]}; do 13:09:30 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 13:09:30 fi; done; 13:09:30 echo "${paths[*]}"' 13:09:30 ++ 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:09:30 ++ 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:09:30 ++ 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:09:30 ++ export PYENV_SHELL=bash 13:09:30 ++ PYENV_SHELL=bash 13:09:30 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:09:30 +++ complete -F _pyenv pyenv 13:09:30 ++ lf-pyver python3 13:09:30 ++ local py_version_xy=python3 13:09:30 ++ local py_version_xyz= 13:09:30 ++ pyenv versions 13:09:30 ++ local command 13:09:30 ++ command=versions 13:09:30 ++ '[' 1 -gt 0 ']' 13:09:30 ++ shift 13:09:30 ++ case "$command" in 13:09:30 ++ command pyenv versions 13:09:30 ++ sed 's/^[ *]* //' 13:09:30 ++ awk '{ print $1 }' 13:09:30 ++ grep -E '^[0-9.]*[0-9]$' 13:09:31 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:09:31 +++ grep '^3' /tmp/.pyenv_versions 13:09:31 +++ sort -V 13:09:31 +++ tail -n 1 13:09:31 ++ py_version_xyz=3.11.10 13:09:31 ++ [[ -z 3.11.10 ]] 13:09:31 ++ echo 3.11.10 13:09:31 ++ return 0 13:09:31 + pyenv local 3.11.10 13:09:31 + local command 13:09:31 + command=local 13:09:31 + '[' 2 -gt 0 ']' 13:09:31 + shift 13:09:31 + case "$command" in 13:09:31 + command pyenv local 3.11.10 13:09:31 + for arg in "$@" 13:09:31 + case $arg in 13:09:31 + pkg_list+='tox ' 13:09:31 + for arg in "$@" 13:09:31 + case $arg in 13:09:31 + pkg_list+='virtualenv ' 13:09:31 + for arg in "$@" 13:09:31 + case $arg in 13:09:31 + pkg_list+='urllib3~=1.26.15 ' 13:09:31 + [[ -f /tmp/.toxenv ]] 13:09:31 ++ cat /tmp/.toxenv 13:09:31 + lf_venv=/tmp/venv-zP0g 13:09:31 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zP0g from' file:/tmp/.toxenv 13:09:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zP0g from file:/tmp/.toxenv 13:09:31 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 13:09:31 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:09:31 + local 'pip_opts=--upgrade --quiet' 13:09:31 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 13:09:31 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 13:09:31 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 13:09:31 + [[ -n '' ]] 13:09:31 + [[ -n '' ]] 13:09:31 + lf-venv-pip-install /tmp/venv-zP0g/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 13:09:31 + local venv_python=/tmp/venv-zP0g/bin/python3 13:09:31 + shift 13:09:31 + local upstream=https://pypi.org/simple 13:09:31 + /tmp/venv-zP0g/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:09:32 + return 0 13:09:32 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:09:32 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 13:09:32 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 13:09:32 + lf-venv-pip-install /tmp/venv-zP0g/bin/python3 --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:09:32 + local venv_python=/tmp/venv-zP0g/bin/python3 13:09:32 + shift 13:09:32 + local upstream=https://pypi.org/simple 13:09:32 + /tmp/venv-zP0g/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:09:33 + return 0 13:09:33 + type python3 13:09:33 + true 13:09:33 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zP0g/bin to PATH' 13:09:33 lf-activate-venv(): INFO: Adding /tmp/venv-zP0g/bin to PATH 13:09:33 + PATH=/tmp/venv-zP0g/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:09:33 + return 0 13:09:33 + [[ -d /opt/pyenv ]] 13:09:33 + echo '---> Setting up pyenv' 13:09:33 ---> Setting up pyenv 13:09:33 + export PYENV_ROOT=/opt/pyenv 13:09:33 + PYENV_ROOT=/opt/pyenv 13:09:33 + export PATH=/opt/pyenv/bin:/tmp/venv-zP0g/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:09:33 + PATH=/opt/pyenv/bin:/tmp/venv-zP0g/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:09:33 ++ pwd 13:09:33 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 13:09:33 + export PYTHONPATH 13:09:33 + export TOX_TESTENV_PASSENV=PYTHONPATH 13:09:33 + TOX_TESTENV_PASSENV=PYTHONPATH 13:09:33 + tox --version 13:09:33 4.64.9 from /tmp/venv-zP0g/lib/python3.11/site-packages/tox/__init__.py 13:09:33 + PARALLEL=True 13:09:33 + TOX_OPTIONS_LIST= 13:09:33 + [[ -n '' ]] 13:09:33 + case ${PARALLEL,,} in 13:09:33 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 13:09:33 + tox --parallel auto --parallel-live 13:09:33 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 13:09:35 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:09:35 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 13:09:35 checkbashisms: freeze> python -m pip freeze --all 13:09:35 docs: install_deps> python -I -m pip install -r docs/requirements.txt 13:09:35 checkbashisms: pip==26.2.1,setuptools==84.0.0 13:09:35 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 13:09:35 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:09:35 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 13:09:36 checkbashisms: OK ✔ in 3.05 seconds 13:09:36 pre-commit: install_deps> python -I -m pip install pre-commit 13:09:39 pre-commit: freeze> python -m pip freeze --all 13:09:39 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==4.0.12,identify==2.6.20,nodeenv==1.11.0,packaging==26.3,pip==26.2.1,platformdirs==4.12.4,pre_commit==4.6.2,python-discovery==1.6.1,PyYAML==6.0.3,setuptools==84.0.0,virtualenv==21.14.5 13:09:39 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 13:09:39 pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' 13:09:39 /usr/bin/cpan 13:09:39 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 13:09:40 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 13:09:40 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 13:09:41 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 13:09:41 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 13:09:41 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 13:09:42 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 13:09:42 buildcontroller: freeze> python -m pip freeze --all 13:09:43 buildcontroller: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:09:43 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 13:09:43 + update-java-alternatives -l 13:09:43 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 13:09:43 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 13:09:43 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 13:09:43 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 13:09:43 update-alternatives: error: no alternatives for jaotc 13:09:43 update-alternatives: error: no alternatives for rmic 13:09:43 + java -version 13:09:43 + sed -n s/.* version "\([0-9]*\).*/\1/p 13:09:43 + JAVA_VER=21 13:09:43 + echo 21 13:09:43 21 13:09:43 + javac -version 13:09:43 + sed -n s/^javac \([0-9]*\).*/\1/p 13:09:43 + JAVAC_VER=21 13:09:43 + echo 21 13:09:43 21 13:09:43 ok, java is 21 or newer 13:09:43 + [ 21 -ge 21 ] 13:09:43 + [ 21 -ge 21 ] 13:09:43 + echo ok, java is 21 or newer 13:09:43 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 13:09:43 2026-10-08 13:09:43 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:09:43 + sudo mkdir -p /opt 13:09:43 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 13:09:44 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 13:09:44 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 13:09:44 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 13:09:44 + mvn --version 13:09:44 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 13:09:44 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 13:09:44 Maven home: /opt/maven 13:09:44 Java version: 21.0.12.1, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 13:09:44 Default locale: en, platform encoding: UTF-8 13:09:44 OS name: "linux", version: "5.15.0-198-generic", arch: "amd64", family: "unix" 13:09:44 NOTE: Picked up JDK_JAVA_OPTIONS: 13:09:44 --add-opens=java.base/java.io=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.lang=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.net=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.nio=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.util=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:09:44 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:09:44 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:09:44 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:09:44 -Xlog:disable 13:09:45 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 13:09:45 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 13:09:46 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 13:09:46 [INFO] Once installed this environment will be reused. 13:09:46 [INFO] This may take a few minutes... 13:09:51 docs: freeze> python -m pip freeze --all 13:09:51 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.52.1,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.5.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.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,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.8.0 13:09:51 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:09:52 docs-linkcheck: freeze> python -m pip freeze --all 13:09:52 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 13:09:52 [INFO] Once installed this environment will be reused. 13:09:52 [INFO] This may take a few minutes... 13:09:52 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.52.1,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.5.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.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,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.8.0 13:09:52 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:09:56 docs: OK ✔ in 22.16 seconds 13:09:56 docs-linkcheck: OK ✔ in 22.3 seconds 13:09:56 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 13:09:58 [INFO] Installing environment for https://github.com/hhatto/autopep8. 13:09:58 [INFO] Once installed this environment will be reused. 13:09:58 [INFO] This may take a few minutes... 13:09:59 pylint: freeze> python -m pip freeze --all 13:09:59 pylint: astroid==4.3.4,dill==0.4.1,isort==9.0.2,mccabe==0.7.0,mypy_extensions==1.1.0,pip==26.2.1,platformdirs==4.12.4,pylint==4.1.2,setuptools==84.0.0,tomlkit==0.15.1 13:09:59 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:10:02 [INFO] Installing environment for https://github.com/perltidy/perltidy. 13:10:02 [INFO] Once installed this environment will be reused. 13:10:02 [INFO] This may take a few minutes... 13:10:12 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 13:10:12 [INFO] Once installed this environment will be reused. 13:10:12 [INFO] This may take a few minutes... 13:10:17 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 13:10:17 [INFO] Once installed this environment will be reused. 13:10:17 [INFO] This may take a few minutes... 13:10:18 ************* Module 2.2.1.test12_end2end 13:10:18 transportpce_tests/2.2.1/test12_end2end.py:435:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 ************* Module common.test_utils 13:10:18 transportpce_tests/common/test_utils.py:532:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:555:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:581:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:617:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:635:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:666:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 transportpce_tests/common/test_utils.py:687:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 13:10:18 13:10:18 ----------------------------------- 13:10:18 Your code has been rated at 9.99/10 13:10:18 13:10:20 pylint: exit 1 (20.32 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + pid=3464 13:10:21 trim trailing whitespace.................................................Passed 13:10:22 fix end of files.........................................................Passed 13:10:22 check for added large files..............................................Passed 13:10:22 check for merge conflicts................................................Passed 13:10:22 check for case conflicts.................................................Passed 13:10:22 check json...............................................................Passed 13:10:23 mixed line ending........................................................Passed 13:10:23 Tabs remover.............................................................Passed 13:10:23 autopep8.................................................................Passed 13:10:26 perltidy.................................................................Passed 13:10:26 ShellCheck v0.11.0.......................................................[ERROR] COMPILATION ERROR : 13:10:32 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/TpceNetwork.java:[78,29] wrong number of type arguments; required 1 13:10:32 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/TpceNetwork.java:[88,29] wrong number of type arguments; required 1 13:10:32 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project transportpce-networkmodel: Compilation failure: Compilation failure: 13:10:32 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/TpceNetwork.java:[78,29] wrong number of type arguments; required 1 13:10:32 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/util/TpceNetwork.java:[88,29] wrong number of type arguments; required 1 13:10:32 [ERROR] -> [Help 1] 13:10:32 [ERROR] 13:10:32 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:10:32 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:10:32 [ERROR] 13:10:32 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:10:32 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 13:10:32 [ERROR] 13:10:32 [ERROR] After correcting the problems, you can resume the build with the command 13:10:32 [ERROR] mvn -rf :transportpce-networkmodel 13:10:32 pylint: FAIL ✖ in 24.13 seconds 13:10:32 buildcontroller: exit 1 (49.76 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh pid=2823 13:10:33 buildcontroller: FAIL ✖ in 59.11 seconds 13:10:33 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:10:33 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:10:33 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:10:34 Passed 13:10:34 prettier.................................................................Passed 13:10:36 yamllint.................................................................Passed 13:10:36 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 13:10:36 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 13:10:36 [INFO] Once installed this environment will be reused. 13:10:36 [INFO] This may take a few minutes... 13:10:40 build_karaf_tests71: freeze> python -m pip freeze --all 13:10:41 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:10:41 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:10:41 build karaf in karaf71 with ./karaf71.env 13:10:41 build_karaf_tests221: freeze> python -m pip freeze --all 13:10:41 NOTE: Picked up JDK_JAVA_OPTIONS: 13:10:41 --add-opens=java.base/java.io=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.net=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:10:41 -Xlog:disable 13:10:41 build_karaf_tests200: freeze> python -m pip freeze --all 13:10:41 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:10:41 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:10:41 build karaf in karaf221 with ./karaf221.env 13:10:41 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:10:41 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 13:10:41 build karaf in karafoc200 with ./karafoc200.env 13:10:41 NOTE: Picked up JDK_JAVA_OPTIONS: 13:10:41 --add-opens=java.base/java.io=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.net=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:10:41 -Xlog:disable 13:10:41 NOTE: Picked up JDK_JAVA_OPTIONS: 13:10:41 --add-opens=java.base/java.io=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.net=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.nio.file=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.jar=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.stream=ALL-UNNAMED 13:10:41 --add-opens=java.base/java.util.zip=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 13:10:41 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 13:10:41 -Xlog:disable 13:10:48 gitlint..................................................................Passed 13:10:48 pre-commit: OK ✔ in 1 minute 11.78 seconds 13:10:48 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:10:51 [ERROR] Failed to execute goal on project transportpce-karaf: Could not resolve dependencies for project org.opendaylight.transportpce:transportpce-karaf:pom:14.0.0-SNAPSHOT 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] Could not find artifact org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:10:51 [ERROR] -> [Help 1] 13:10:51 [ERROR] 13:10:51 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:10:51 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:10:51 [ERROR] 13:10:51 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:10:51 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 13:10:51 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 13:10:51 build_karaf_tests71: exit 127 (10.40 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=4259 13:10:51 build_karaf_tests71: FAIL ✖ in 18.72 seconds 13:10:51 sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 13:10:51 [ERROR] Failed to execute goal on project transportpce-karaf: Could not resolve dependencies for project org.opendaylight.transportpce:transportpce-karaf:pom:14.0.0-SNAPSHOT 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] -> [Help 1] 13:10:51 [ERROR] 13:10:51 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:10:51 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:10:51 [ERROR] 13:10:51 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:10:51 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 13:10:51 [ERROR] Failed to execute goal on project transportpce-karaf: Could not resolve dependencies for project org.opendaylight.transportpce:transportpce-karaf:pom:14.0.0-SNAPSHOT 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-tapi:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-tapisbi:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-inventory:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-nbinotifications:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] dependency: org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT (runtime) 13:10:51 [ERROR] org.opendaylight.transportpce:odl-transportpce-dmaap-client:xml:features:14.0.0-SNAPSHOT was not found in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced 13:10:51 [ERROR] -> [Help 1] 13:10:51 [ERROR] 13:10:51 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:10:51 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:10:51 [ERROR] 13:10:51 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:10:51 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 13:10:51 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 13:10:51 build_karaf_tests200: exit 127 (10.32 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=4342 13:10:51 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 13:10:51 build_karaf_tests200: FAIL ✖ in 18.98 seconds 13:10:51 build_karaf_tests221: exit 127 (10.38 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=4329 13:10:52 build_karaf_tests221: FAIL ✖ in 19 seconds 13:10:52 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:10:56 buildlighty: freeze> python -m pip freeze --all 13:10:56 buildlighty: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:10:56 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 13:10:56 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 13:10:58 sims: freeze> python -m pip freeze --all 13:10:58 sims: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:10:58 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 13:10:58 Using lighynode version 22.1.0.7 13:10:58 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 13:11:06 [ERROR] Failed to execute goal on project tpce: Could not resolve dependencies for project io.lighty.controllers:tpce:jar:14.0.0-SNAPSHOT 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-networkmodel:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-networkmodel:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-pce:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-pce:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-olm:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-olm:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-servicehandler:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-servicehandler:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-tapi:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-tapi:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] dependency: org.opendaylight.transportpce:transportpce-nbinotifications:jar:14.0.0-SNAPSHOT (compile) 13:11:06 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-nbinotifications:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 13:11:06 [ERROR] -> [Help 1] 13:11:06 [ERROR] 13:11:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 13:11:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 13:11:06 [ERROR] 13:11:06 [ERROR] For more information about the errors and possible solutions, please read the following articles: 13:11:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 13:11:06 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 13:11:06 buildlighty: exit 9 (10.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=4579 13:11:48 buildlighty: FAIL ✖ in 18.23 seconds 13:11:48 sims: OK ✔ in 20.39 seconds 13:11:48 testsPCE: freeze> python -m pip freeze --all 13:11:48 testsPCE: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,click==8.5.0,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.66.1,gnpy4tpce==2.4.7,idna==3.20,iniconfig==2.3.1,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.1,lxml==6.1.3,MarkupSafe==3.0.4,matplotlib==3.11.2,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.3,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.3.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pyparsing==3.3.3,pytest==9.1.1,python-dateutil==2.9.0.post0,pytz==2026.5,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.8.0,Werkzeug==2.0.3,xlrd==1.2.0 13:11:48 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 13:11:48 pytest -q transportpce_tests/pce/test01_pce.py 13:13:49 EEEEEEEEEEEEEEEEEEEE [100%] 13:13:52 ==================================== ERRORS ==================================== 13:13:52 _______ ERROR at setup of TestTransportPCEPce.test_01_load_port_mapping ________ 13:13:52 13:13:52 cls = 13:13:52 13:13:52 @classmethod 13:13:52 def setUpClass(cls): 13:13:52 # pylint: disable=bare-except 13:13:52 sample_files_parsed = False 13:13:52 time.sleep(20) 13:13:52 try: 13:13:52 TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:13:52 "..", "..", "sample_configs", "honeynode-topo.json") 13:13:52 with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: 13:13:52 cls.simple_topo_bi_dir_data = topo_bi_dir.read() 13:13:52 13:13:52 TOPO_UNI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:13:52 "..", "..", "sample_configs", "NW-simple-topology.json") 13:13:52 13:13:52 with open(TOPO_UNI_DIR_FILE, 'r', encoding='utf-8') as topo_uni_dir: 13:13:52 cls.simple_topo_uni_dir_data = topo_uni_dir.read() 13:13:52 13:13:52 TOPO_UNI_DIR_COMPLEX_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:13:52 "..", "..", "sample_configs", "NW-for-test-5-4.json") 13:13:52 with open(TOPO_UNI_DIR_COMPLEX_FILE, 'r', encoding='utf-8') as topo_uni_dir_complex: 13:13:52 cls.complex_topo_uni_dir_data = topo_uni_dir_complex.read() 13:13:52 PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 13:13:52 "..", "..", "sample_configs", "pce_portmapping_221.json") 13:13:52 with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: 13:13:52 cls.port_mapping_data = port_mapping.read() 13:13:52 sample_files_parsed = True 13:13:52 except PermissionError as err: 13:13:52 print("Permission Error when trying to read sample files\n", err) 13:13:52 sys.exit(2) 13:13:52 except FileNotFoundError as err: 13:13:52 print("File Not found Error when trying to read sample files\n", err) 13:13:52 sys.exit(2) 13:13:52 except: 13:13:52 print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) 13:13:52 sys.exit(2) 13:13:52 finally: 13:13:52 if sample_files_parsed: 13:13:52 print("sample files content loaded") 13:13:52 13:13:52 > cls.processes = test_utils.start_tpce() 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 13:13:52 transportpce_tests/pce/test01_pce.py:93: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 def start_tpce(): 13:13:52 if 'NO_ODL_STARTUP' in os.environ: 13:13:52 print('No OpenDaylight instance to start!') 13:13:52 return [] 13:13:52 print('starting OpenDaylight...') 13:13:52 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:13:52 process = start_lighty() 13:13:52 else: 13:13:52 process = start_karaf() 13:13:52 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:13:52 print('OpenDaylight started !') 13:13:52 else: 13:13:52 print('OpenDaylight failed to start !') 13:13:52 shutdown_process(process) 13:13:52 for pid in process_list: 13:13:52 shutdown_process(pid) 13:13:52 > sys.exit(1) 13:13:52 E SystemExit: 1 13:13:52 13:13:52 transportpce_tests/common/test_utils.py:234: SystemExit 13:13:52 ---------------------------- Captured stdout setup ----------------------------- 13:13:52 sample files content loaded 13:13:52 starting OpenDaylight... 13:13:52 starting KARAF (karaf) TransportPCE build... 13:13:52 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:13:52 ____ ERROR at setup of TestTransportPCEPce.test_02_load_simple_topology_bi _____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77380> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___________ ERROR at setup of TestTransportPCEPce.test_03_get_nodeId ___________ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8bc40> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___________ ERROR at setup of TestTransportPCEPce.test_04_get_linkId ___________ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8b420> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ____ ERROR at setup of TestTransportPCEPce.test_05_path_computation_xpdr_bi ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77380> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ____ ERROR at setup of TestTransportPCEPce.test_06_path_computation_rdm_bi _____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8b1a0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ____ ERROR at setup of TestTransportPCEPce.test_07_load_simple_topology_uni ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8b6a0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___________ ERROR at setup of TestTransportPCEPce.test_08_get_nodeId ___________ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62ed509da0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___________ ERROR at setup of TestTransportPCEPce.test_09_get_linkId ___________ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77ec0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___ ERROR at setup of TestTransportPCEPce.test_10_path_computation_xpdr_uni ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77380> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ____ ERROR at setup of TestTransportPCEPce.test_11_path_computation_rdm_uni ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77ec0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 _____ ERROR at setup of TestTransportPCEPce.test_12_load_complex_topology ______ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62ed509940> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___________ ERROR at setup of TestTransportPCEPce.test_13_get_nodeId ___________ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8b1a0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 _____ ERROR at setup of TestTransportPCEPce.test_14_fail_path_computation ______ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77380> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___ ERROR at setup of TestTransportPCEPce.test_15_success1_path_computation ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62ed50a980> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___ ERROR at setup of TestTransportPCEPce.test_16_success2_path_computation ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda88540> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 ___ ERROR at setup of TestTransportPCEPce.test_17_success3_path_computation ____ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda77380> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 _ ERROR at setup of TestTransportPCEPce.test_18_path_computation_before_oms_attribute_deletion _ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62ed50a2a0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 _ ERROR at setup of TestTransportPCEPce.test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link _ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda8b1a0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 _ ERROR at setup of TestTransportPCEPce.test_20_path_computation_after_oms_attribute_deletion _ 13:13:52 13:13:52 cls = 13:13:52 func = . at 0x7f62eda882c0> 13:13:52 when = 'setup' 13:13:52 reraise = (, ) 13:13:52 13:13:52 @classmethod 13:13:52 def from_call( 13:13:52 cls, 13:13:52 func: Callable[[], TResult], 13:13:52 when: Literal["collect", "setup", "call", "teardown"], 13:13:52 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:13:52 ) -> CallInfo[TResult]: 13:13:52 """Call func, wrapping the result in a CallInfo. 13:13:52 13:13:52 :param func: 13:13:52 The function to call. Called without arguments. 13:13:52 :type func: Callable[[], _pytest.runner.TResult] 13:13:52 :param when: 13:13:52 The phase in which the function is called. 13:13:52 :param reraise: 13:13:52 Exception or exceptions that shall propagate if raised by the 13:13:52 function, instead of being wrapped in the CallInfo. 13:13:52 """ 13:13:52 excinfo = None 13:13:52 instant = timing.Instant() 13:13:52 try: 13:13:52 > result: TResult | None = func() 13:13:52 ^^^^^^ 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:13:52 lambda: runtest_hook(item=item, **kwds), 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:13:52 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:13:52 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:13:52 yield 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:13:52 return (yield) 13:13:52 ^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:13:52 item.session._setupstate.setup(item) 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:13:52 col.setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:13:52 super().setup() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:13:52 self._request._fillfixtures() 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:13:52 item.funcargs[argname] = self.getfixturevalue(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:13:52 fixturedef = self._get_active_fixturedef(argname) 13:13:52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:13:52 fixturedef.execute(request=subrequest) 13:13:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:13:52 13:13:52 self = 13:13:52 request = > 13:13:52 13:13:52 def execute(self, request: SubRequest) -> FixtureValue: 13:13:52 """Return the value of this fixture, executing it if not cached.""" 13:13:52 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:13:52 # This needs to be done before checking if we have a cached value, since 13:13:52 # if a dependent fixture has their cache invalidated, e.g. due to 13:13:52 # parametrization, they finalize themselves and fixtures depending on it 13:13:52 # (which will likely include this fixture) setting `self.cached_result = None`. 13:13:52 # See #4871 13:13:52 requested_fixtures_that_should_finalize_us = [] 13:13:52 for argname in self.argnames: 13:13:52 fixturedef = request._get_active_fixturedef(argname) 13:13:52 # Saves requested fixtures in a list so we later can add our finalizer 13:13:52 # to them, ensuring that if a requested fixture gets torn down we get torn 13:13:52 # down first. This is generally handled by SetupState, but still currently 13:13:52 # needed when this fixture is not parametrized but depends on a parametrized 13:13:52 # fixture. 13:13:52 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:13:52 13:13:52 # Check for (and return) cached value/exception. 13:13:52 if self.cached_result is not None: 13:13:52 request_cache_key = self.cache_key(request) 13:13:52 cache_key = self.cached_result[1] 13:13:52 try: 13:13:52 # Attempt to make a normal == check: this might fail for objects 13:13:52 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:13:52 cache_hit = bool(request_cache_key == cache_key) 13:13:52 except (ValueError, RuntimeError): 13:13:52 # If the comparison raises, use 'is' as fallback. 13:13:52 cache_hit = request_cache_key is cache_key 13:13:52 13:13:52 if cache_hit: 13:13:52 if self.cached_result[2] is not None: 13:13:52 exc, exc_tb = self.cached_result[2] 13:13:52 raise exc.with_traceback(exc_tb) 13:13:52 else: 13:13:52 return self.cached_result[0] 13:13:52 # We have a previous but differently parametrized fixture instance 13:13:52 # so we need to tear it down before creating a new one. 13:13:52 self.finish(request) 13:13:52 assert self.cached_result is None 13:13:52 13:13:52 # Add finalizer to requested fixtures we saved previously. 13:13:52 # We make sure to do this after checking for cached value to avoid 13:13:52 # adding our finalizer multiple times. (#12135) 13:13:52 finalizer = functools.partial(self.finish, request=request) 13:13:52 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:13:52 parent_fixture.addfinalizer(finalizer) 13:13:52 13:13:52 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:13:52 # which is executed last. 13:13:52 > assert not self._finalizers 13:13:52 ^^^^^^^^^^^^^^^^^^^^ 13:13:52 E AssertionError 13:13:52 13:13:52 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:13:52 =========================== short test summary info ============================ 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_01_load_port_mapping 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_02_load_simple_topology_bi 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_03_get_nodeId 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_04_get_linkId 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_05_path_computation_xpdr_bi 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_06_path_computation_rdm_bi 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_07_load_simple_topology_uni 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_08_get_nodeId 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_09_get_linkId 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_10_path_computation_xpdr_uni 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_11_path_computation_rdm_uni 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_12_load_complex_topology 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_13_get_nodeId 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_14_fail_path_computation 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_15_success1_path_computation 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_16_success2_path_computation 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_17_success3_path_computation 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_18_path_computation_before_oms_attribute_deletion 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link 13:13:52 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_20_path_computation_after_oms_attribute_deletion 13:13:52 20 errors in 123.85s (0:02:03) 13:13:52 testsPCE: exit 1 (124.14 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4705 13:13:52 testsPCE: FAIL ✖ in 3 minutes 0.77 seconds 13:13:52 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:13:59 tests_tapi: freeze> python -m pip freeze --all 13:13:59 tests_tapi: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:13:59 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 13:13:59 using environment variables from ./karaf221.env 13:13:59 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 13:15:39 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:15:49 ==================================== ERRORS ==================================== 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 13:15:49 @classmethod 13:15:49 def setUpClass(cls): 13:15:49 cls.init_failed = False 13:15:49 os.environ['JAVA_MIN_MEM'] = '1024M' 13:15:49 os.environ['JAVA_MAX_MEM'] = '4096M' 13:15:49 > cls.processes = test_utils.start_tpce() 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 13:15:49 transportpce_tests/tapi/test01_abstracted_topology.py:148: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 def start_tpce(): 13:15:49 if 'NO_ODL_STARTUP' in os.environ: 13:15:49 print('No OpenDaylight instance to start!') 13:15:49 return [] 13:15:49 print('starting OpenDaylight...') 13:15:49 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:15:49 process = start_lighty() 13:15:49 else: 13:15:49 process = start_karaf() 13:15:49 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:15:49 print('OpenDaylight started !') 13:15:49 else: 13:15:49 print('OpenDaylight failed to start !') 13:15:49 shutdown_process(process) 13:15:49 for pid in process_list: 13:15:49 shutdown_process(pid) 13:15:49 > sys.exit(1) 13:15:49 E SystemExit: 1 13:15:49 13:15:49 transportpce_tests/common/test_utils.py:234: SystemExit 13:15:49 ---------------------------- Captured stdout setup ----------------------------- 13:15:49 starting OpenDaylight... 13:15:49 starting KARAF (karaf221) TransportPCE build... 13:15:49 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc597740> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5e7c40> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bdeff060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5e7100> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc595b20> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5e76a0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5962a0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce020> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc595a80> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce5c0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc596480> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5e7100> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc596480> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bec9b060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cdbc0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cdbc0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ccd60> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cc7c0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ceac0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cd300> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ceac0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cda80> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cefc0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cde40> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce020> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce340> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce340> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cf240> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cf420> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cf560> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1ce3e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cda80> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc5968e0> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 13:15:49 13:15:49 cls = 13:15:49 func = . at 0x7f72bc1cf060> 13:15:49 when = 'setup' 13:15:49 reraise = (, ) 13:15:49 13:15:49 @classmethod 13:15:49 def from_call( 13:15:49 cls, 13:15:49 func: Callable[[], TResult], 13:15:49 when: Literal["collect", "setup", "call", "teardown"], 13:15:49 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:15:49 ) -> CallInfo[TResult]: 13:15:49 """Call func, wrapping the result in a CallInfo. 13:15:49 13:15:49 :param func: 13:15:49 The function to call. Called without arguments. 13:15:49 :type func: Callable[[], _pytest.runner.TResult] 13:15:49 :param when: 13:15:49 The phase in which the function is called. 13:15:49 :param reraise: 13:15:49 Exception or exceptions that shall propagate if raised by the 13:15:49 function, instead of being wrapped in the CallInfo. 13:15:49 """ 13:15:49 excinfo = None 13:15:49 instant = timing.Instant() 13:15:49 try: 13:15:49 > result: TResult | None = func() 13:15:49 ^^^^^^ 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:15:49 lambda: runtest_hook(item=item, **kwds), 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:15:49 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:15:49 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:15:49 yield 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:15:49 return (yield) 13:15:49 ^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:15:49 item.session._setupstate.setup(item) 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:15:49 col.setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:15:49 super().setup() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:15:49 self._request._fillfixtures() 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:15:49 item.funcargs[argname] = self.getfixturevalue(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:15:49 fixturedef = self._get_active_fixturedef(argname) 13:15:49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:15:49 fixturedef.execute(request=subrequest) 13:15:49 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:15:49 13:15:49 self = 13:15:49 request = > 13:15:49 13:15:49 def execute(self, request: SubRequest) -> FixtureValue: 13:15:49 """Return the value of this fixture, executing it if not cached.""" 13:15:49 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:15:49 # This needs to be done before checking if we have a cached value, since 13:15:49 # if a dependent fixture has their cache invalidated, e.g. due to 13:15:49 # parametrization, they finalize themselves and fixtures depending on it 13:15:49 # (which will likely include this fixture) setting `self.cached_result = None`. 13:15:49 # See #4871 13:15:49 requested_fixtures_that_should_finalize_us = [] 13:15:49 for argname in self.argnames: 13:15:49 fixturedef = request._get_active_fixturedef(argname) 13:15:49 # Saves requested fixtures in a list so we later can add our finalizer 13:15:49 # to them, ensuring that if a requested fixture gets torn down we get torn 13:15:49 # down first. This is generally handled by SetupState, but still currently 13:15:49 # needed when this fixture is not parametrized but depends on a parametrized 13:15:49 # fixture. 13:15:49 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:15:49 13:15:49 # Check for (and return) cached value/exception. 13:15:49 if self.cached_result is not None: 13:15:49 request_cache_key = self.cache_key(request) 13:15:49 cache_key = self.cached_result[1] 13:15:49 try: 13:15:49 # Attempt to make a normal == check: this might fail for objects 13:15:49 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:15:49 cache_hit = bool(request_cache_key == cache_key) 13:15:49 except (ValueError, RuntimeError): 13:15:49 # If the comparison raises, use 'is' as fallback. 13:15:49 cache_hit = request_cache_key is cache_key 13:15:49 13:15:49 if cache_hit: 13:15:49 if self.cached_result[2] is not None: 13:15:49 exc, exc_tb = self.cached_result[2] 13:15:49 raise exc.with_traceback(exc_tb) 13:15:49 else: 13:15:49 return self.cached_result[0] 13:15:49 # We have a previous but differently parametrized fixture instance 13:15:49 # so we need to tear it down before creating a new one. 13:15:49 self.finish(request) 13:15:49 assert self.cached_result is None 13:15:49 13:15:49 # Add finalizer to requested fixtures we saved previously. 13:15:49 # We make sure to do this after checking for cached value to avoid 13:15:49 # adding our finalizer multiple times. (#12135) 13:15:49 finalizer = functools.partial(self.finish, request=request) 13:15:49 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:15:49 parent_fixture.addfinalizer(finalizer) 13:15:49 13:15:49 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:15:49 # which is executed last. 13:15:49 > assert not self._finalizers 13:15:49 ^^^^^^^^^^^^^^^^^^^^ 13:15:49 E AssertionError 13:15:49 13:15:49 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:15:49 =========================== short test summary info ============================ 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 13:15:49 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 13:15:49 51 errors in 109.88s (0:01:49) 13:15:49 tests_tapi: exit 1 (110.20 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=5085 13:15:49 tests_tapi: FAIL ✖ in 1 minute 56.84 seconds 13:15:49 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:15:49 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:15:56 tests200: freeze> python -m pip freeze --all 13:15:56 tests221: freeze> python -m pip freeze --all 13:15:56 tests221: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:15:56 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 13:15:56 using environment variables from ./karaf221.env 13:15:56 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 13:15:56 tests200: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:15:56 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 13:15:56 using environment variables from ./karafoc200.env 13:15:56 pytest -q transportpce_tests/oc200/test01_portmapping.py 13:17:37 EEEEEEEEEEEEEEEEEEE [100%] 13:17:38 ==================================== ERRORS ==================================== 13:17:38 __ ERROR at setup of TestTransportPCEPortmapping.test_01_meta_data_insertion ___ 13:17:38 13:17:38 cls = 13:17:38 13:17:38 @classmethod 13:17:38 def setUpClass(cls): 13:17:38 > cls.processes = test_utils.start_tpce() 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 13:17:38 transportpce_tests/oc200/test01_portmapping.py:29: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 def start_tpce(): 13:17:38 if 'NO_ODL_STARTUP' in os.environ: 13:17:38 print('No OpenDaylight instance to start!') 13:17:38 return [] 13:17:38 print('starting OpenDaylight...') 13:17:38 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:17:38 process = start_lighty() 13:17:38 else: 13:17:38 process = start_karaf() 13:17:38 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:17:38 print('OpenDaylight started !') 13:17:38 else: 13:17:38 print('OpenDaylight failed to start !') 13:17:38 shutdown_process(process) 13:17:38 for pid in process_list: 13:17:38 shutdown_process(pid) 13:17:38 > sys.exit(1) 13:17:38 E SystemExit: 1 13:17:38 13:17:38 transportpce_tests/common/test_utils.py:234: SystemExit 13:17:38 ---------------------------- Captured stdout setup ----------------------------- 13:17:38 starting OpenDaylight... 13:17:38 starting KARAF (karafoc200) TransportPCE build... 13:17:38 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_02_catalog_input_insertion _ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386c7fb420> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_device_connection _ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386a107ec0> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_04_xpdr_device_connected __ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386b8af600> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_05_xpdr_portmapping_info __ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386a0df740> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386c7fb420> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386b8af600> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 __ ERROR at setup of TestTransportPCEPortmapping.test_08_mpdr_switching_pool ___ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386a107880> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 ___ ERROR at setup of TestTransportPCEPortmapping.test_09_check_mccapprofile ___ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386a1076a0> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 request = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 13:17:38 13:17:38 cls = 13:17:38 func = . at 0x7f386a107600> 13:17:38 when = 'setup' 13:17:38 reraise = (, ) 13:17:38 13:17:38 @classmethod 13:17:38 def from_call( 13:17:38 cls, 13:17:38 func: Callable[[], TResult], 13:17:38 when: Literal["collect", "setup", "call", "teardown"], 13:17:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:38 ) -> CallInfo[TResult]: 13:17:38 """Call func, wrapping the result in a CallInfo. 13:17:38 13:17:38 :param func: 13:17:38 The function to call. Called without arguments. 13:17:38 :type func: Callable[[], _pytest.runner.TResult] 13:17:38 :param when: 13:17:38 The phase in which the function is called. 13:17:38 :param reraise: 13:17:38 Exception or exceptions that shall propagate if raised by the 13:17:38 function, instead of being wrapped in the CallInfo. 13:17:38 """ 13:17:38 excinfo = None 13:17:38 instant = timing.Instant() 13:17:38 try: 13:17:38 > result: TResult | None = func() 13:17:38 ^^^^^^ 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:38 lambda: runtest_hook(item=item, **kwds), 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:38 yield 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:38 return (yield) 13:17:38 ^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:38 item.session._setupstate.setup(item) 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:38 col.setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:38 super().setup() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:38 self._request._fillfixtures() 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:38 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:38 fixturedef = self._get_active_fixturedef(argname) 13:17:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:38 fixturedef.execute(request=subrequest) 13:17:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:38 13:17:38 self = 13:17:38 Erequest = > 13:17:38 13:17:38 def execute(self, request: SubRequest) -> FixtureValue: 13:17:38 """Return the value of this fixture, executing it if not cached.""" 13:17:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:38 # This needs to be done before checking if we have a cached value, since 13:17:38 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:38 # parametrization, they finalize themselves and fixtures depending on it 13:17:38 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:38 # See #4871 13:17:38 requested_fixtures_that_should_finalize_us = [] 13:17:38 for argname in self.argnames: 13:17:38 fixturedef = request._get_active_fixturedef(argname) 13:17:38 # Saves requested fixtures in a list so we later can add our finalizer 13:17:38 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:38 # down first. This is generally handled by SetupState, but still currently 13:17:38 # needed when this fixture is not parametrized but depends on a parametrized 13:17:38 # fixture. 13:17:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:38 13:17:38 # Check for (and return) cached value/exception. 13:17:38 if self.cached_result is not None: 13:17:38 request_cache_key = self.cache_key(request) 13:17:38 cache_key = self.cached_result[1] 13:17:38 try: 13:17:38 # Attempt to make a normal == check: this might fail for objects 13:17:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:38 cache_hit = bool(request_cache_key == cache_key) 13:17:38 except (ValueError, RuntimeError): 13:17:38 # If the comparison raises, use 'is' as fallback. 13:17:38 cache_hit = request_cache_key is cache_key 13:17:38 13:17:38 if cache_hit: 13:17:38 if self.cached_result[2] is not None: 13:17:38 exc, exc_tb = self.cached_result[2] 13:17:38 raise exc.with_traceback(exc_tb) 13:17:38 else: 13:17:38 return self.cached_result[0] 13:17:38 # We have a previous but differently parametrized fixture instance 13:17:38 # so we need to tear it down before creating a new one. 13:17:38 self.finish(request) 13:17:38 assert self.cached_result is None 13:17:38 13:17:38 # Add finalizer to requested fixtures we saved previously. 13:17:38 # We make sure to do this after checking for cached value to avoid 13:17:38 # adding our finalizer multiple times. (#12135) 13:17:38 finalizer = functools.partial(self.finish, request=request) 13:17:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:38 parent_fixture.addfinalizer(finalizer) 13:17:38 13:17:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:38 # which is executed last. 13:17:38 > assert not self._finalizers 13:17:38 ^^^^^^^^^^^^^^^^^^^^ 13:17:38 E AssertionError 13:17:38 13:17:38 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:38 =========================== short test summary info ============================ 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catalog_input_insertion 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 13:17:38 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 13:17:38 10 errors in 102.04s (0:01:42) 13:17:38 tests200: exit 1 (102.32 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=5237 13:17:39 Etests200: FAIL ✖ in 1 minute 49.44 seconds 13:17:39 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:17:39 EEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:17:43 ==================================== ERRORS ==================================== 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_01_rdm_device_connection __ 13:17:43 13:17:43 cls = 13:17:43 13:17:43 @classmethod 13:17:43 def setUpClass(cls): 13:17:43 > cls.processes = test_utils.start_tpce() 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 13:17:43 transportpce_tests/2.2.1/test01_portmapping.py:33: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 def start_tpce(): 13:17:43 if 'NO_ODL_STARTUP' in os.environ: 13:17:43 print('No OpenDaylight instance to start!') 13:17:43 return [] 13:17:43 print('starting OpenDaylight...') 13:17:43 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:17:43 process = start_lighty() 13:17:43 else: 13:17:43 process = start_karaf() 13:17:43 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:17:43 print('OpenDaylight started !') 13:17:43 else: 13:17:43 print('OpenDaylight failed to start !') 13:17:43 shutdown_process(process) 13:17:43 for pid in process_list: 13:17:43 shutdown_process(pid) 13:17:43 > sys.exit(1) 13:17:43 E SystemExit: 1 13:17:43 13:17:43 transportpce_tests/common/test_utils.py:234: SystemExit 13:17:43 ---------------------------- Captured stdout setup ----------------------------- 13:17:43 starting OpenDaylight... 13:17:43 starting KARAF (karaf221) TransportPCE build... 13:17:43 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:17:43 __ ERROR at setup of TestTransportPCEPortmapping.test_02_rdm_device_connected __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ab100> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 __ ERROR at setup of TestTransportPCEPortmapping.test_03_rdm_portmapping_info __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ab2e0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0caaf240> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_06_rdm_portmapping_SRG1_PP3_TXRX _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ab100> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_07_rdm_portmapping_SRG3_PP1_TXRX _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_08_xpdr_device_connection _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9120> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_09_xpdr_device_connected __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ead40> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_portmapping_info __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9120> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_portmapping_XPDR2_NETWORK1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ebf60> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_13_xpdr_portmapping_XPDR1_CLIENT1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_14_xpdr_portmapping_XPDR1_CLIENT2 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_15_spdr_device_connection _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9120> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_16_spdr_device_connected __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_17_spdr_portmapping_info __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ea520> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_18_spdr_switching_pool_1 __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_19_spdr_switching_pool_2 __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3ebd80> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_20_spdr_switching_pool_3 __ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9120> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_21_spdr_portmapping_mappings _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_22_spdr_portmapping_XPDR1_CLIENT1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3aa0c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_23_spdr_portmapping_XPDR1_NETWORK1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9f80> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_24_spdr_portmapping_XPDR2_CLIENT2 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_25_spdr_portmapping_XPDR2_NETWORK2 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3a9f80> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_26_spdr_portmapping_XPDR3_CLIENT3 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_27_spdr_portmapping_XPDR3_NETWORK1 _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_28_spdr_device_disconnection _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0bcbf060> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_29_xpdr_device_disconnected _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a4744a0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_30_xpdr_device_disconnection _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_31_xpdr_device_disconnected _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a475800> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_32_xpdr_device_not_connected _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a474540> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_33_rdm_device_disconnection _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_34_rdm_device_disconnected _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a4756c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 _ ERROR at setup of TestTransportPCEPortmapping.test_35_rdm_device_not_connected _ 13:17:43 13:17:43 cls = 13:17:43 func = . at 0x7fbc0a3eb9c0> 13:17:43 when = 'setup' 13:17:43 reraise = (, ) 13:17:43 13:17:43 @classmethod 13:17:43 def from_call( 13:17:43 cls, 13:17:43 func: Callable[[], TResult], 13:17:43 when: Literal["collect", "setup", "call", "teardown"], 13:17:43 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:17:43 ) -> CallInfo[TResult]: 13:17:43 """Call func, wrapping the result in a CallInfo. 13:17:43 13:17:43 :param func: 13:17:43 The function to call. Called without arguments. 13:17:43 :type func: Callable[[], _pytest.runner.TResult] 13:17:43 :param when: 13:17:43 The phase in which the function is called. 13:17:43 :param reraise: 13:17:43 Exception or exceptions that shall propagate if raised by the 13:17:43 function, instead of being wrapped in the CallInfo. 13:17:43 """ 13:17:43 excinfo = None 13:17:43 instant = timing.Instant() 13:17:43 try: 13:17:43 > result: TResult | None = func() 13:17:43 ^^^^^^ 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:17:43 lambda: runtest_hook(item=item, **kwds), 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:17:43 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:17:43 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:17:43 yield 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:17:43 return (yield) 13:17:43 ^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:17:43 item.session._setupstate.setup(item) 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:17:43 col.setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:17:43 super().setup() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:17:43 self._request._fillfixtures() 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:17:43 item.funcargs[argname] = self.getfixturevalue(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:17:43 fixturedef = self._get_active_fixturedef(argname) 13:17:43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:17:43 fixturedef.execute(request=subrequest) 13:17:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:17:43 13:17:43 self = 13:17:43 request = > 13:17:43 13:17:43 def execute(self, request: SubRequest) -> FixtureValue: 13:17:43 """Return the value of this fixture, executing it if not cached.""" 13:17:43 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:17:43 # This needs to be done before checking if we have a cached value, since 13:17:43 # if a dependent fixture has their cache invalidated, e.g. due to 13:17:43 # parametrization, they finalize themselves and fixtures depending on it 13:17:43 # (which will likely include this fixture) setting `self.cached_result = None`. 13:17:43 # See #4871 13:17:43 requested_fixtures_that_should_finalize_us = [] 13:17:43 for argname in self.argnames: 13:17:43 fixturedef = request._get_active_fixturedef(argname) 13:17:43 # Saves requested fixtures in a list so we later can add our finalizer 13:17:43 # to them, ensuring that if a requested fixture gets torn down we get torn 13:17:43 # down first. This is generally handled by SetupState, but still currently 13:17:43 # needed when this fixture is not parametrized but depends on a parametrized 13:17:43 # fixture. 13:17:43 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:17:43 13:17:43 # Check for (and return) cached value/exception. 13:17:43 if self.cached_result is not None: 13:17:43 request_cache_key = self.cache_key(request) 13:17:43 cache_key = self.cached_result[1] 13:17:43 try: 13:17:43 # Attempt to make a normal == check: this might fail for objects 13:17:43 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:17:43 cache_hit = bool(request_cache_key == cache_key) 13:17:43 except (ValueError, RuntimeError): 13:17:43 # If the comparison raises, use 'is' as fallback. 13:17:43 cache_hit = request_cache_key is cache_key 13:17:43 13:17:43 if cache_hit: 13:17:43 if self.cached_result[2] is not None: 13:17:43 exc, exc_tb = self.cached_result[2] 13:17:43 raise exc.with_traceback(exc_tb) 13:17:43 else: 13:17:43 return self.cached_result[0] 13:17:43 # We have a previous but differently parametrized fixture instance 13:17:43 # so we need to tear it down before creating a new one. 13:17:43 self.finish(request) 13:17:43 assert self.cached_result is None 13:17:43 13:17:43 # Add finalizer to requested fixtures we saved previously. 13:17:43 # We make sure to do this after checking for cached value to avoid 13:17:43 # adding our finalizer multiple times. (#12135) 13:17:43 finalizer = functools.partial(self.finish, request=request) 13:17:43 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:17:43 parent_fixture.addfinalizer(finalizer) 13:17:43 13:17:43 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:17:43 # which is executed last. 13:17:43 > assert not self._finalizers 13:17:43 ^^^^^^^^^^^^^^^^^^^^ 13:17:43 E AssertionError 13:17:43 13:17:43 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:17:43 =========================== short test summary info ============================ 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_rdm_portmapping_SRG1_PP3_TXRX 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_rdm_portmapping_SRG3_PP1_TXRX 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_xpdr_device_connection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_xpdr_device_connected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_portmapping_info 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_XPDR2_NETWORK1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_XPDR1_CLIENT1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_XPDR1_CLIENT2 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_15_spdr_device_connection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_16_spdr_device_connected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_17_spdr_portmapping_info 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_18_spdr_switching_pool_1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_19_spdr_switching_pool_2 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_20_spdr_switching_pool_3 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_21_spdr_portmapping_mappings 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_22_spdr_portmapping_XPDR1_CLIENT1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_23_spdr_portmapping_XPDR1_NETWORK1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_24_spdr_portmapping_XPDR2_CLIENT2 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_25_spdr_portmapping_XPDR2_NETWORK2 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_26_spdr_portmapping_XPDR3_CLIENT3 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_27_spdr_portmapping_XPDR3_NETWORK1 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_28_spdr_device_disconnection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_29_xpdr_device_disconnected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_30_xpdr_device_disconnection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_31_xpdr_device_disconnected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_32_xpdr_device_not_connected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_33_rdm_device_disconnection 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_34_rdm_device_disconnected 13:17:43 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_35_rdm_device_not_connected 13:17:43 35 errors in 106.57s (0:01:46) 13:17:43 tests221: exit 1 (106.92 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=5226 13:17:43 tests221: FAIL ✖ in 1 minute 54 seconds 13:17:43 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:17:45 tests71: freeze> python -m pip freeze --all 13:17:45 tests71: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:17:45 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 13:17:45 using environment variables from ./karaf71.env 13:17:45 pytest -q transportpce_tests/7.1/test01_portmapping.py 13:17:49 tests_hybrid: freeze> python -m pip freeze --all 13:17:49 tests_hybrid: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.1,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 13:17:49 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 13:17:49 using environment variables from ./karaf221.env 13:17:49 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 13:19:26 EEEEEEEEEEEE [100%] 13:19:27 ==================================== ERRORS ==================================== 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_01_xpdr_device_connection _ 13:19:27 13:19:27 cls = 13:19:27 13:19:27 @classmethod 13:19:27 def setUpClass(cls): 13:19:27 > cls.processes = test_utils.start_tpce() 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 13:19:27 transportpce_tests/7.1/test01_portmapping.py:32: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 def start_tpce(): 13:19:27 if 'NO_ODL_STARTUP' in os.environ: 13:19:27 print('No OpenDaylight instance to start!') 13:19:27 return [] 13:19:27 print('starting OpenDaylight...') 13:19:27 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:19:27 process = start_lighty() 13:19:27 else: 13:19:27 process = start_karaf() 13:19:27 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:19:27 print('OpenDaylight started !') 13:19:27 else: 13:19:27 print('OpenDaylight failed to start !') 13:19:27 shutdown_process(process) 13:19:27 for pid in process_list: 13:19:27 shutdown_process(pid) 13:19:27 > sys.exit(1) 13:19:27 E SystemExit: 1 13:19:27 13:19:27 transportpce_tests/common/test_utils.py:234: SystemExit 13:19:27 ---------------------------- Captured stdout setup ----------------------------- 13:19:27 starting OpenDaylight... 13:19:27 starting KARAF (karaf71) TransportPCE build... 13:19:27 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_02_xpdr_device_connected __ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dedcb4c0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_portmapping_info __ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bfa60> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_04_tpdr_portmapping_NETWORK1 _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82ddfcafc0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_05_tpdr_portmapping_CLIENT1 _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dedcb2e0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK1 _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bf7e0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82ddfcafc0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 ___ ERROR at setup of TestTransportPCEPortmapping.test_08_check_mccapprofile ___ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bfa60> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 __ ERROR at setup of TestTransportPCEPortmapping.test_09_mpdr_switching_pool ___ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bd120> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bf7e0> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_device_disconnected _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bf600> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_device_not_connected _ 13:19:27 13:19:27 cls = 13:19:27 func = . at 0x7f82dc6bd120> 13:19:27 when = 'setup' 13:19:27 reraise = (, ) 13:19:27 13:19:27 @classmethod 13:19:27 def from_call( 13:19:27 cls, 13:19:27 func: Callable[[], TResult], 13:19:27 when: Literal["collect", "setup", "call", "teardown"], 13:19:27 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:27 ) -> CallInfo[TResult]: 13:19:27 """Call func, wrapping the result in a CallInfo. 13:19:27 13:19:27 :param func: 13:19:27 The function to call. Called without arguments. 13:19:27 :type func: Callable[[], _pytest.runner.TResult] 13:19:27 :param when: 13:19:27 The phase in which the function is called. 13:19:27 :param reraise: 13:19:27 Exception or exceptions that shall propagate if raised by the 13:19:27 function, instead of being wrapped in the CallInfo. 13:19:27 """ 13:19:27 excinfo = None 13:19:27 instant = timing.Instant() 13:19:27 try: 13:19:27 > result: TResult | None = func() 13:19:27 ^^^^^^ 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:27 lambda: runtest_hook(item=item, **kwds), 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:27 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:27 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:27 yield 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:27 return (yield) 13:19:27 ^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:27 item.session._setupstate.setup(item) 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:27 col.setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:27 super().setup() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:27 self._request._fillfixtures() 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:27 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:27 fixturedef = self._get_active_fixturedef(argname) 13:19:27 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:27 fixturedef.execute(request=subrequest) 13:19:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:27 13:19:27 self = 13:19:27 request = > 13:19:27 13:19:27 def execute(self, request: SubRequest) -> FixtureValue: 13:19:27 """Return the value of this fixture, executing it if not cached.""" 13:19:27 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:27 # This needs to be done before checking if we have a cached value, since 13:19:27 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:27 # parametrization, they finalize themselves and fixtures depending on it 13:19:27 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:27 # See #4871 13:19:27 requested_fixtures_that_should_finalize_us = [] 13:19:27 for argname in self.argnames: 13:19:27 fixturedef = request._get_active_fixturedef(argname) 13:19:27 # Saves requested fixtures in a list so we later can add our finalizer 13:19:27 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:27 # down first. This is generally handled by SetupState, but still currently 13:19:27 # needed when this fixture is not parametrized but depends on a parametrized 13:19:27 # fixture. 13:19:27 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:27 13:19:27 # Check for (and return) cached value/exception. 13:19:27 if self.cached_result is not None: 13:19:27 request_cache_key = self.cache_key(request) 13:19:27 cache_key = self.cached_result[1] 13:19:27 try: 13:19:27 # Attempt to make a normal == check: this might fail for objects 13:19:27 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:27 cache_hit = bool(request_cache_key == cache_key) 13:19:27 except (ValueError, RuntimeError): 13:19:27 # If the comparison raises, use 'is' as fallback. 13:19:27 cache_hit = request_cache_key is cache_key 13:19:27 13:19:27 if cache_hit: 13:19:27 if self.cached_result[2] is not None: 13:19:27 exc, exc_tb = self.cached_result[2] 13:19:27 raise exc.with_traceback(exc_tb) 13:19:27 else: 13:19:27 return self.cached_result[0] 13:19:27 # We have a previous but differently parametrized fixture instance 13:19:27 # so we need to tear it down before creating a new one. 13:19:27 self.finish(request) 13:19:27 assert self.cached_result is None 13:19:27 13:19:27 # Add finalizer to requested fixtures we saved previously. 13:19:27 # We make sure to do this after checking for cached value to avoid 13:19:27 # adding our finalizer multiple times. (#12135) 13:19:27 finalizer = functools.partial(self.finish, request=request) 13:19:27 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:27 parent_fixture.addfinalizer(finalizer) 13:19:27 13:19:27 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:27 # which is executed last. 13:19:27 > assert not self._finalizers 13:19:27 ^^^^^^^^^^^^^^^^^^^^ 13:19:27 E AssertionError 13:19:27 13:19:27 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:27 =========================== short test summary info ============================ 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_xpdr_device_connection 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_xpdr_device_connected 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_portmapping_info 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_tpdr_portmapping_NETWORK1 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_tpdr_portmapping_CLIENT1 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK1 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_check_mccapprofile 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_mpdr_switching_pool 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_device_disconnected 13:19:27 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_device_not_connected 13:19:27 12 errors in 102.26s (0:01:42) 13:19:28 tests71: exit 1 (102.55 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=5369 13:19:30 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 13:19:39 ==================================== ERRORS ==================================== 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_01_connect_xpdrA _ 13:19:39 13:19:39 cls = 13:19:39 13:19:39 @classmethod 13:19:39 def setUpClass(cls): 13:19:39 > cls.processes = test_utils.start_tpce() 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 13:19:39 transportpce_tests/hybrid/test01_device_change_notifications.py:76: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 def start_tpce(): 13:19:39 if 'NO_ODL_STARTUP' in os.environ: 13:19:39 print('No OpenDaylight instance to start!') 13:19:39 return [] 13:19:39 print('starting OpenDaylight...') 13:19:39 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 13:19:39 process = start_lighty() 13:19:39 else: 13:19:39 process = start_karaf() 13:19:39 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 13:19:39 print('OpenDaylight started !') 13:19:39 else: 13:19:39 print('OpenDaylight failed to start !') 13:19:39 shutdown_process(process) 13:19:39 for pid in process_list: 13:19:39 shutdown_process(pid) 13:19:39 > sys.exit(1) 13:19:39 E SystemExit: 1 13:19:39 13:19:39 transportpce_tests/common/test_utils.py:234: SystemExit 13:19:39 ---------------------------- Captured stdout setup ----------------------------- 13:19:39 starting OpenDaylight... 13:19:39 starting KARAF (karaf221) TransportPCE build... 13:19:39 Pattern not found after 100 seconds! OpenDaylight failed to start ! 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_02_connect_xpdrC _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cea20> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_03_connect_rdmA _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d523f60> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_04_connect_rdmC _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3fbcef20> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_05_connect_xpdrA_N1_to_roadmA_PP1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_06_connect_roadmA_PP1_to_xpdrA_N1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3ee453a0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_07_connect_xpdrC_N1_to_roadmC_PP1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_08_connect_roadmC_PP1_to_xpdrC_N1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522700> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_09_add_omsAttributes_ROADMA_ROADMC _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522980> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_10_add_omsAttributes_ROADMC_ROADMA _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522700> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_11_create_eth_service1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_12_get_eth_service1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9940> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_13_change_status_line_port_xpdra _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522700> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9da0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_17_restore_status_line_port_xpdra _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd8a0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_18_check_update_portmapping_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d5228e0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_19_check_update_openroadm_topo_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d4cd8a0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_20_check_update_service1_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_21_change_status_port_roadma_srg _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d5228e0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_22_check_update_portmapping _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_23_check_update_openroadm_topo _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cefa0c0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_24_restore_status_port_roadma_srg _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_25_check_update_portmapping_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cefa0c0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_26_check_update_openroadm_topo_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef8860> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_27_check_update_service1_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_28_change_status_line_port_roadma_deg _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9440> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_29_check_update_portmapping _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9260> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_30_check_update_openroadm_topo _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_31_restore_status_line_port_roadma_srg _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef96c0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_32_check_update_portmapping_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9800> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_33_check_update_openroadm_topo_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_34_check_update_service1_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9d00> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_35_change_status_line_port_xpdrc _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9800> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_36_check_update_portmapping _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_37_check_update_openroadm_topo _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9f80> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_38_restore_status_line_port_xpdrc _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_39_check_update_portmapping_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef8ea0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_40_check_update_openroadm_topo_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9a80> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_41_check_update_service1_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_42_change_status_port_roadma_srg _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9a80> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_43_check_update_portmapping _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cefaa20> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_44_check_update_openroadm_topo _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_45_check_update_service1_ok _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef99e0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_46_delete_eth_service1 _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9bc0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_47_disconnect_xponders_from_roadm _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_48_disconnect_XPDRA _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cef9f80> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_49_disconnect_XPDRC _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cefa5c0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_50_disconnect_ROADMA _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3d522d40> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_51_disconnect_ROADMC _ 13:19:39 13:19:39 cls = 13:19:39 func = . at 0x7f7a3cefa2a0> 13:19:39 when = 'setup' 13:19:39 reraise = (, ) 13:19:39 13:19:39 @classmethod 13:19:39 def from_call( 13:19:39 cls, 13:19:39 func: Callable[[], TResult], 13:19:39 when: Literal["collect", "setup", "call", "teardown"], 13:19:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 13:19:39 ) -> CallInfo[TResult]: 13:19:39 """Call func, wrapping the result in a CallInfo. 13:19:39 13:19:39 :param func: 13:19:39 The function to call. Called without arguments. 13:19:39 :type func: Callable[[], _pytest.runner.TResult] 13:19:39 :param when: 13:19:39 The phase in which the function is called. 13:19:39 :param reraise: 13:19:39 Exception or exceptions that shall propagate if raised by the 13:19:39 function, instead of being wrapped in the CallInfo. 13:19:39 """ 13:19:39 excinfo = None 13:19:39 instant = timing.Instant() 13:19:39 try: 13:19:39 > result: TResult | None = func() 13:19:39 ^^^^^^ 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 13:19:39 lambda: runtest_hook(item=item, **kwds), 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 13:19:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 13:19:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 13:19:39 yield 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 13:19:39 return (yield) 13:19:39 ^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 13:19:39 item.session._setupstate.setup(item) 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 13:19:39 col.setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 13:19:39 super().setup() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 13:19:39 self._request._fillfixtures() 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 13:19:39 item.funcargs[argname] = self.getfixturevalue(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 13:19:39 fixturedef = self._get_active_fixturedef(argname) 13:19:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 13:19:39 fixturedef.execute(request=subrequest) 13:19:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:19:39 13:19:39 self = 13:19:39 request = > 13:19:39 13:19:39 def execute(self, request: SubRequest) -> FixtureValue: 13:19:39 """Return the value of this fixture, executing it if not cached.""" 13:19:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 13:19:39 # This needs to be done before checking if we have a cached value, since 13:19:39 # if a dependent fixture has their cache invalidated, e.g. due to 13:19:39 # parametrization, they finalize themselves and fixtures depending on it 13:19:39 # (which will likely include this fixture) setting `self.cached_result = None`. 13:19:39 # See #4871 13:19:39 requested_fixtures_that_should_finalize_us = [] 13:19:39 for argname in self.argnames: 13:19:39 fixturedef = request._get_active_fixturedef(argname) 13:19:39 # Saves requested fixtures in a list so we later can add our finalizer 13:19:39 # to them, ensuring that if a requested fixture gets torn down we get torn 13:19:39 # down first. This is generally handled by SetupState, but still currently 13:19:39 # needed when this fixture is not parametrized but depends on a parametrized 13:19:39 # fixture. 13:19:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 13:19:39 13:19:39 # Check for (and return) cached value/exception. 13:19:39 if self.cached_result is not None: 13:19:39 request_cache_key = self.cache_key(request) 13:19:39 cache_key = self.cached_result[1] 13:19:39 try: 13:19:39 # Attempt to make a normal == check: this might fail for objects 13:19:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 13:19:39 cache_hit = bool(request_cache_key == cache_key) 13:19:39 except (ValueError, RuntimeError): 13:19:39 # If the comparison raises, use 'is' as fallback. 13:19:39 cache_hit = request_cache_key is cache_key 13:19:39 13:19:39 if cache_hit: 13:19:39 if self.cached_result[2] is not None: 13:19:39 exc, exc_tb = self.cached_result[2] 13:19:39 raise exc.with_traceback(exc_tb) 13:19:39 else: 13:19:39 return self.cached_result[0] 13:19:39 # We have a previous but differently parametrized fixture instance 13:19:39 # so we need to tear it down before creating a new one. 13:19:39 self.finish(request) 13:19:39 assert self.cached_result is None 13:19:39 13:19:39 # Add finalizer to requested fixtures we saved previously. 13:19:39 # We make sure to do this after checking for cached value to avoid 13:19:39 # adding our finalizer multiple times. (#12135) 13:19:39 finalizer = functools.partial(self.finish, request=request) 13:19:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 13:19:39 parent_fixture.addfinalizer(finalizer) 13:19:39 13:19:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 13:19:39 # which is executed last. 13:19:39 > assert not self._finalizers 13:19:39 ^^^^^^^^^^^^^^^^^^^^ 13:19:39 E AssertionError 13:19:39 13:19:39 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 13:19:39 =========================== short test summary info ============================ 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_01_connect_xpdrA 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_02_connect_xpdrC 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_03_connect_rdmA 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_04_connect_rdmC 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_05_connect_xpdrA_N1_to_roadmA_PP1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_06_connect_roadmA_PP1_to_xpdrA_N1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_07_connect_xpdrC_N1_to_roadmC_PP1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_08_connect_roadmC_PP1_to_xpdrC_N1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_09_add_omsAttributes_ROADMA_ROADMC 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_10_add_omsAttributes_ROADMC_ROADMA 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_11_create_eth_service1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_eth_service1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_13_change_status_line_port_xpdra 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_17_restore_status_line_port_xpdra 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_portmapping_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_19_check_update_openroadm_topo_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_service1_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_21_change_status_port_roadma_srg 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_22_check_update_portmapping 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_23_check_update_openroadm_topo 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_24_restore_status_port_roadma_srg 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_portmapping_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_26_check_update_openroadm_topo_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_service1_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_28_change_status_line_port_roadma_deg 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_29_check_update_portmapping 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_30_check_update_openroadm_topo 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_31_restore_status_line_port_roadma_srg 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_portmapping_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_33_check_update_openroadm_topo_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_service1_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_35_change_status_line_port_xpdrc 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_36_check_update_portmapping 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_37_check_update_openroadm_topo 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_38_restore_status_line_port_xpdrc 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_39_check_update_portmapping_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_40_check_update_openroadm_topo_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_service1_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_42_change_status_port_roadma_srg 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_43_check_update_portmapping 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_44_check_update_openroadm_topo 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_service1_ok 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_delete_eth_service1 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_47_disconnect_xponders_from_roadm 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_48_disconnect_XPDRA 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_49_disconnect_XPDRC 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_50_disconnect_ROADMA 13:19:39 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_51_disconnect_ROADMC 13:19:39 51 errors in 109.55s (0:01:49) 13:19:39 tests71: FAIL ✖ in 1 minute 49.11 seconds 13:19:39 tests_hybrid: exit 1 (109.88 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=5385 13:19:39 buildcontroller: FAIL code 1 (59.11=setup[9.35]+cmd[49.76] seconds) 13:19:39 sims: OK (20.39=setup[7.12]+cmd[13.27] seconds) 13:19:39 testsPCE: FAIL code 1 (180.77=setup[56.62]+cmd[124.14] seconds) 13:19:39 build_karaf_tests221: FAIL code 127 (19.00=setup[8.62]+cmd[10.38] seconds) 13:19:39 tests_tapi: FAIL code 1 (116.84=setup[6.65]+cmd[110.20] seconds) 13:19:39 tests221: FAIL code 1 (114.00=setup[7.08]+cmd[106.92] seconds) 13:19:39 build_karaf_tests71: FAIL code 127 (18.72=setup[8.32]+cmd[10.40] seconds) 13:19:39 tests71: FAIL code 1 (109.11=setup[6.57]+cmd[102.55] seconds) 13:19:39 build_karaf_tests200: FAIL code 127 (18.98=setup[8.66]+cmd[10.32] seconds) 13:19:39 tests200: FAIL code 1 (109.44=setup[7.12]+cmd[102.32] seconds) 13:19:39 tests_hybrid: FAIL code 1 (116.26=setup[6.38]+cmd[109.88] seconds) 13:19:39 buildlighty: FAIL code 9 (18.23=setup[8.22]+cmd[10.01] seconds) 13:19:39 docs: OK (22.16=setup[18.19]+cmd[3.97] seconds) 13:19:39 docs-linkcheck: OK (22.30=setup[18.58]+cmd[3.73] seconds) 13:19:39 checkbashisms: OK (3.04=setup[1.84]+cmd[0.01,0.04,1.15] seconds) 13:19:39 pre-commit: OK (71.78=setup[3.12]+cmd[0.00,0.00,56.32,12.34] seconds) 13:19:39 pylint: FAIL code 1 (24.13=setup[3.81]+cmd[20.32] seconds) 13:19:39 evaluation failed :( (606.04 seconds) 13:19:39 + tox_status=1 13:19:39 + echo '---> Completed tox runs' 13:19:39 ---> Completed tox runs 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/build_karaf_tests200/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=build_karaf_tests200 13:19:39 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/build_karaf_tests221/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=build_karaf_tests221 13:19:39 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/build_karaf_tests71/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=build_karaf_tests71 13:19:39 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/buildcontroller/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=buildcontroller 13:19:39 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/buildlighty/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=buildlighty 13:19:39 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/checkbashisms/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=checkbashisms 13:19:39 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/docs-linkcheck/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=docs-linkcheck 13:19:39 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/docs/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=docs 13:19:39 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/pre-commit/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=pre-commit 13:19:39 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/pylint/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=pylint 13:19:39 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/sims/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=sims 13:19:39 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 13:19:39 + for i in .tox/*/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 ++ echo .tox/tests200/log 13:19:39 + tox_env=tests200 13:19:39 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 13:19:39 + for i in .tox/*/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 ++ echo .tox/tests221/log 13:19:39 + tox_env=tests221 13:19:39 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 13:19:39 + for i in .tox/*/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 ++ echo .tox/tests71/log 13:19:39 + tox_env=tests71 13:19:39 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/testsPCE/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=testsPCE 13:19:39 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/tests_hybrid/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=tests_hybrid 13:19:39 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 13:19:39 + for i in .tox/*/log 13:19:39 ++ echo .tox/tests_tapi/log 13:19:39 ++ awk -F/ '{print $2}' 13:19:39 + tox_env=tests_tapi 13:19:39 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 13:19:39 + DOC_DIR=docs/_build/html 13:19:39 + [[ -d docs/_build/html ]] 13:19:39 + echo '---> Archiving generated docs' 13:19:39 ---> Archiving generated docs 13:19:39 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 13:19:39 + echo '---> tox-run.sh ends' 13:19:39 ---> tox-run.sh ends 13:19:39 + test 1 -eq 0 13:19:39 + exit 1 13:19:39 ++ '[' 1 = 1 ']' 13:19:39 ++ '[' -x /usr/bin/clear_console ']' 13:19:39 ++ /usr/bin/clear_console -q 13:19:39 Build step 'Execute shell' marked build as failure 13:19:39 $ ssh-agent -k 13:19:39 unset SSH_AUTH_SOCK; 13:19:39 unset SSH_AGENT_PID; 13:19:39 echo Agent pid 1561 killed; 13:19:39 [ssh-agent] Stopped. 13:19:40 [PostBuildScript] - [INFO] Executing post build scripts. 13:19:40 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins17643941456768388943.sh 13:19:40 ---> sysstat.sh 13:19:40 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2824097396689866212.sh 13:19:40 ---> package-listing.sh 13:19:40 + '[' -f /etc/os-release ']' 13:19:40 + . /etc/os-release 13:19:40 ++ PRETTY_NAME='Ubuntu 22.04.5 LTS' 13:19:40 ++ NAME=Ubuntu 13:19:40 ++ VERSION_ID=22.04 13:19:40 ++ VERSION='22.04.5 LTS (Jammy Jellyfish)' 13:19:40 ++ VERSION_CODENAME=jammy 13:19:40 ++ ID=ubuntu 13:19:40 ++ ID_LIKE=debian 13:19:40 ++ HOME_URL=https://www.ubuntu.com/ 13:19:40 ++ SUPPORT_URL=https://help.ubuntu.com/ 13:19:40 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 13:19:40 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 13:19:40 ++ UBUNTU_CODENAME=jammy 13:19:40 + case " ${ID:-} ${ID_LIKE:-} " in 13:19:40 + OS_FAMILY=debian 13:19:40 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 13:19:40 + START_PACKAGES=/tmp/packages_start.txt 13:19:40 + END_PACKAGES=/tmp/packages_end.txt 13:19:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:19:40 + PACKAGES=/tmp/packages_start.txt 13:19:40 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 13:19:40 + PACKAGES=/tmp/packages_end.txt 13:19:40 + case "${OS_FAMILY}" in 13:19:40 + dpkg -l 13:19:40 + grep '^ii' 13:19:40 + '[' -f /tmp/packages_start.txt ']' 13:19:40 + '[' -f /tmp/packages_end.txt ']' 13:19:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:19:40 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 13:19:40 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 13:19:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 13:19:40 + exit 0 13:19:40 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14233267498189424429.sh 13:19:40 ---> capture-instance-metadata.sh 13:19:40 Setup pyenv: 13:19:40 system 13:19:40 3.8.20 13:19:40 3.9.20 13:19:40 3.10.15 13:19:40 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:19:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BErR from file:/tmp/.os_lf_venv 13:19:40 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:19:42 lf-activate-venv(): INFO: Installing additional packages: lftools 13:19:51 lf-activate-venv(): INFO: Adding /tmp/venv-BErR/bin to PATH 13:19:51 INFO: Running in OpenStack, capturing instance metadata 13:19:52 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3722492961122226784.sh 13:19:52 provisioning config files... 13:19:52 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #6157 13:19:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config13338109934698443086tmp 13:19:52 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 13:19:52 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 13:19:52 provisioning config files... 13:19:52 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 13:19:52 [EnvInject] - Injecting environment variables from a build step. 13:19:52 [EnvInject] - Injecting as environment variables the properties content 13:19:52 SERVER_ID=logs 13:19:52 13:19:52 [EnvInject] - Variables injected successfully. 13:19:52 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12471380933283651547.sh 13:19:52 ---> create-netrc.sh 13:19:52 WARN: Log server credential not found. 13:19:52 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16731042571440129222.sh 13:19:52 ---> python-tools-install.sh 13:19:52 Setup pyenv: 13:19:52 system 13:19:52 3.8.20 13:19:52 3.9.20 13:19:52 3.10.15 13:19:52 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:19:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BErR from file:/tmp/.os_lf_venv 13:19:53 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:19:54 lf-activate-venv(): INFO: Installing additional packages: lftools 13:20:04 lf-activate-venv(): INFO: Adding /tmp/venv-BErR/bin to PATH 13:20:04 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins3948473426310705195.sh 13:20:04 ---> uv-install.sh 13:20:04 uv 0.12.23 is already installed 13:20:04 uvx 0.12.23 (x86_64-unknown-linux-gnu) 13:20:04 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3232593993102128958.sh 13:20:04 ---> sudo-logs.sh 13:20:04 Archiving 'sudo' log.. 13:20:04 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14384947420489274083.sh 13:20:04 ---> job-cost.sh 13:20:04 INFO: Activating Python virtual environment... 13:20:04 Setup pyenv: 13:20:04 system 13:20:04 3.8.20 13:20:04 3.9.20 13:20:04 3.10.15 13:20:04 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:20:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BErR from file:/tmp/.os_lf_venv 13:20:04 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:20:06 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 13:20:12 lf-activate-venv(): INFO: Adding /tmp/venv-BErR/bin to PATH 13:20:12 INFO: No stack-cost file found 13:20:12 INFO: Instance uptime: 780s 13:20:12 INFO: Fetching instance metadata (attempt 1 of 3)... 13:20:12 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 13:20:12 INFO: Successfully fetched instance metadata 13:20:12 INFO: Instance type: v3-standard-4 13:20:12 INFO: Retrieving pricing info for: v3-standard-4 13:20:12 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 13:20:12 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=780 13:20:12 INFO: Successfully fetched Vexxhost pricing API 13:20:12 INFO: Retrieved cost: 0.11 13:20:12 INFO: Retrieved resource: v3-standard-4 13:20:12 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 13:20:12 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 13:20:12 INFO: Successfully archived job cost data 13:20:12 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,6157,2026-10-08 13:20:12,v3-standard-4,780,0.11,0.00,FAILURE 13:20:12 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins1233371945806354385.sh 13:20:12 ---> logs-deploy.sh 13:20:12 Setup pyenv: 13:20:12 system 13:20:12 3.8.20 13:20:12 3.9.20 13:20:12 3.10.15 13:20:12 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 13:20:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BErR from file:/tmp/.os_lf_venv 13:20:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 13:20:15 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 13:20:29 lf-activate-venv(): INFO: Adding /tmp/venv-BErR/bin to PATH 13:20:29 WARNING: Nexus logging server not set 13:20:29 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/6157/ 13:20:29 INFO: archiving logs to S3 13:20:30 ---> uname -a: 13:20:30 Linux prd-ubuntu2204-docker-4c-16g-62931 5.15.0-198-generic #208-Ubuntu SMP Fri Sep 4 10:22:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 13:20:30 13:20:30 13:20:30 ---> lscpu: 13:20:30 Architecture: x86_64 13:20:30 CPU op-mode(s): 32-bit, 64-bit 13:20:30 Address sizes: 40 bits physical, 48 bits virtual 13:20:30 Byte Order: Little Endian 13:20:30 CPU(s): 4 13:20:30 On-line CPU(s) list: 0-3 13:20:30 Vendor ID: AuthenticAMD 13:20:30 Model name: AMD EPYC-Rome Processor 13:20:30 CPU family: 23 13:20:30 Model: 49 13:20:30 Thread(s) per core: 1 13:20:30 Core(s) per socket: 1 13:20:30 Socket(s): 4 13:20:30 Stepping: 0 13:20:30 BogoMIPS: 5599.99 13:20:30 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 lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif umip rdpid arch_capabilities 13:20:30 Virtualization: AMD-V 13:20:30 Hypervisor vendor: KVM 13:20:30 Virtualization type: full 13:20:30 L1d cache: 128 KiB (4 instances) 13:20:30 L1i cache: 128 KiB (4 instances) 13:20:30 L2 cache: 2 MiB (4 instances) 13:20:30 L3 cache: 64 MiB (4 instances) 13:20:30 NUMA node(s): 1 13:20:30 NUMA node0 CPU(s): 0-3 13:20:30 Vulnerability Gather data sampling: Not affected 13:20:30 Vulnerability Indirect target selection: Not affected 13:20:30 Vulnerability Itlb multihit: Not affected 13:20:30 Vulnerability L1tf: Not affected 13:20:30 Vulnerability Mds: Not affected 13:20:30 Vulnerability Meltdown: Not affected 13:20:30 Vulnerability Mmio stale data: Not affected 13:20:30 Vulnerability Reg file data sampling: Not affected 13:20:30 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 13:20:30 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 13:20:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:20:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:20:30 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 13:20:30 Vulnerability Srbds: Not affected 13:20:30 Vulnerability Tsa: Not affected 13:20:30 Vulnerability Tsx async abort: Not affected 13:20:30 Vulnerability Vmscape: Not affected 13:20:30 13:20:30 13:20:30 ---> nproc: 13:20:30 4 13:20:30 13:20:30 13:20:30 ---> df -h: 13:20:30 Filesystem Size Used Avail Use% Mounted on 13:20:30 tmpfs 1.6G 1.1M 1.6G 1% /run 13:20:30 /dev/vda1 78G 12G 67G 15% / 13:20:30 tmpfs 7.9G 0 7.9G 0% /dev/shm 13:20:30 tmpfs 5.0M 0 5.0M 0% /run/lock 13:20:30 /dev/vda15 105M 6.1M 99M 6% /boot/efi 13:20:30 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 13:20:30 13:20:30 13:20:30 ---> free -m: 13:20:30 total used free shared buff/cache available 13:20:30 Mem: 15989 712 9158 4 6118 14933 13:20:30 Swap: 1023 0 1023 13:20:30 13:20:30 13:20:30 ---> ip addr: 13:20:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 13:20:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:20:30 inet 127.0.0.1/8 scope host lo 13:20:30 valid_lft forever preferred_lft forever 13:20:30 inet6 ::1/128 scope host 13:20:30 valid_lft forever preferred_lft forever 13:20:30 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 13:20:30 link/ether fa:16:3e:8e:13:49 brd ff:ff:ff:ff:ff:ff 13:20:30 altname enp0s3 13:20:30 inet 10.30.171.52/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 13:20:30 valid_lft 85610sec preferred_lft 85610sec 13:20:30 inet6 fe80::f816:3eff:fe8e:1349/64 scope link 13:20:30 valid_lft forever preferred_lft forever 13:20:30 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 13:20:30 link/ether e6:ae:9c:9c:67:6c brd ff:ff:ff:ff:ff:ff 13:20:30 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 13:20:30 valid_lft forever preferred_lft forever 13:20:30 inet6 fe80::e4ae:9cff:fe9c:676c/64 scope link 13:20:30 valid_lft forever preferred_lft forever 13:20:30 13:20:30 13:20:30 ---> sar -b -r -n DEV: 13:20:30 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-62931) 10/08/26 _x86_64_ (4 CPU) 13:20:30 13:20:30 13:07:24 LINUX RESTART (4 CPU) 13:20:30 13:20:30 13:10:19 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:20:30 13:20:06 47.61 2.71 42.01 2.88 408.52 9268.82 1618.34 13:20:30 Average: 47.61 2.71 42.01 2.88 408.52 9268.82 1618.34 13:20:30 13:20:30 13:10:19 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:20:30 13:20:06 9437808 15351612 590648 3.61 204616 5645276 1276136 7.33 682284 5651792 31472 13:20:30 Average: 9437808 15351612 590648 3.61 204616 5645276 1276136 7.33 682284 5651792 31472 13:20:30 13:20:30 13:10:19 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:20:30 13:20:06 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 13:20:30 13:20:06 ens3 104.70 76.50 1049.16 10.78 0.00 0.00 0.00 0.00 13:20:30 13:20:06 docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 13:20:30 Average: lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 13:20:30 Average: ens3 104.70 76.50 1049.16 10.78 0.00 0.00 0.00 0.00 13:20:30 Average: docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 13:20:30 13:20:30 13:20:30 ---> sar -P ALL: 13:20:30 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-62931) 10/08/26 _x86_64_ (4 CPU) 13:20:30 13:20:30 13:07:24 LINUX RESTART (4 CPU) 13:20:30 13:20:30 13:10:19 CPU %user %nice %system %iowait %steal %idle 13:20:30 13:20:06 all 11.12 0.00 0.95 0.47 0.01 87.45 13:20:30 13:20:06 0 8.75 0.00 1.13 0.37 0.01 89.75 13:20:30 13:20:06 1 14.71 0.00 1.03 0.38 0.02 83.86 13:20:30 13:20:06 2 11.59 0.00 0.89 0.89 0.02 86.62 13:20:30 13:20:06 3 9.44 0.00 0.75 0.23 0.01 89.57 13:20:30 Average: all 11.12 0.00 0.95 0.47 0.01 87.45 13:20:30 Average: 0 8.75 0.00 1.13 0.37 0.01 89.75 13:20:30 Average: 1 14.71 0.00 1.03 0.38 0.02 83.86 13:20:30 Average: 2 11.59 0.00 0.89 0.89 0.02 86.62 13:20:30 Average: 3 9.44 0.00 0.75 0.23 0.01 89.57 13:20:30 13:20:30 13:20:30