06:53:35 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/124847 06:53:35 Running as SYSTEM 06:53:35 [EnvInject] - Loading node environment variables. 06:53:35 Building remotely on prd-ubuntu2204-docker-4c-16g-65113 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 06:53:36 [ssh-agent] Looking for ssh-agent implementation... 06:53:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:36 $ ssh-agent 06:53:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXZEazfu/agent.5095 06:53:36 SSH_AGENT_PID=5097 06:53:36 [ssh-agent] Started. 06:53:36 Running ssh-add (command line suppressed) 06:53:36 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_18399211291225164293.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_18399211291225164293.key) 06:53:36 [ssh-agent] Using credentials jenkins (jenkins-ssh) 06:53:36 The recommended git tool is: NONE 06:53:38 using credential jenkins-ssh 06:53:38 Wiping out workspace first. 06:53:38 Cloning the remote Git repository 06:53:38 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 06:53:38 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 06:53:39 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 06:53:39 > git --version # timeout=10 06:53:39 > git --version # 'git version 2.34.1' 06:53:39 using GIT_SSH to set credentials jenkins-ssh 06:53:39 Verifying host key using known hosts file, will automatically accept unseen keys 06:53:39 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:43 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 06:53:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:43 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 06:53:43 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 06:53:43 using GIT_SSH to set credentials jenkins-ssh 06:53:43 Verifying host key using known hosts file, will automatically accept unseen keys 06:53:43 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/47/124847/5 # timeout=10 06:53:43 > git rev-parse 83ffa6eb102fcd794a01400f123dff7b30cd4f0b^{commit} # timeout=10 06:53:43 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 06:53:43 Checking out Revision 83ffa6eb102fcd794a01400f123dff7b30cd4f0b (refs/changes/47/124847/5) 06:53:43 > git config core.sparsecheckout # timeout=10 06:53:43 > git checkout -f 83ffa6eb102fcd794a01400f123dff7b30cd4f0b # timeout=10 06:53:47 Commit message: "common: fix EventSubscriber thread-safety bugs" 06:53:47 > git rev-parse FETCH_HEAD^{commit} # timeout=10 06:53:47 > git rev-list --no-walk bfd2c47e37d47f66796eaf948699644129552e69 # timeout=10 06:53:47 > git remote # timeout=10 06:53:47 > git submodule init # timeout=10 06:53:47 > git submodule sync # timeout=10 06:53:47 > git config --get remote.origin.url # timeout=10 06:53:47 > git submodule init # timeout=10 06:53:47 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 06:53:47 ERROR: No submodules found. 06:53:47 provisioning config files... 06:53:47 copy managed file [npmrc] to file:/home/jenkins/.npmrc 06:53:47 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 06:53:47 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8714789904504238988.sh 06:53:47 ---> python-tools-install.sh 06:53:47 Setup pyenv: 06:53:48 * system (set by /opt/pyenv/version) 06:53:48 * 3.8.20 (set by /opt/pyenv/version) 06:53:48 * 3.9.20 (set by /opt/pyenv/version) 06:53:48 3.10.15 06:53:48 3.11.10 06:53:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jKnX 06:53:52 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 06:53:52 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 06:53:57 lf-activate-venv(): INFO: Installing additional packages: lftools 06:54:27 lf-activate-venv(): INFO: Adding /tmp/venv-jKnX/bin to PATH 06:54:27 Generating Requirements File 06:54:59 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. 06:54:59 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 06:54:59 Python 3.11.10 06:54:59 pip 26.2.1 from /tmp/venv-jKnX/lib/python3.11/site-packages/pip (python 3.11) 06:55:00 aiohappyeyeballs==2.7.1 06:55:00 aiohttp==3.14.5 06:55:00 aiosignal==1.4.0 06:55:00 appdirs==1.4.4 06:55:00 argcomplete==3.7.2 06:55:00 aspy.yaml==1.3.0 06:55:00 attrs==26.1.0 06:55:00 autopage==0.6.0 06:55:00 beautifulsoup4==4.15.0 06:55:00 boto3==1.43.114 06:55:00 botocore==1.43.114 06:55:00 bs4==0.0.2 06:55:00 certifi==2026.7.22 06:55:00 cffi==2.1.1 06:55:00 cfgv==3.5.0 06:55:00 chardet==7.6.0 06:55:00 charset-normalizer==3.5.2 06:55:00 click==8.5.0 06:55:00 cliff==4.16.0 06:55:00 cmd2==4.3.0 06:55:00 cryptography==3.3.2 06:55:00 debtcollector==3.1.0 06:55:00 decorator==5.3.1 06:55:00 defusedxml==0.7.1 06:55:00 Deprecated==1.3.1 06:55:00 distlib==0.4.3 06:55:00 dnspython==2.9.0 06:55:00 docker==7.2.0 06:55:00 dogpile.cache==1.5.0 06:55:00 durationpy==0.11 06:55:00 email-validator==2.3.0 06:55:00 filelock==4.2.0 06:55:00 frozenlist==1.8.0 06:55:00 future==1.0.0 06:55:00 gitdb==4.0.12 06:55:00 GitPython==3.2.1 06:55:00 httplib2==0.30.2 06:55:00 identify==2.6.20 06:55:00 idna==3.20 06:55:00 importlib-resources==1.5.0 06:55:00 iso8601==2.1.0 06:55:00 Jinja2==3.1.6 06:55:00 jmespath==1.1.0 06:55:00 jsonpatch==1.35 06:55:00 jsonpointer==3.2.1 06:55:00 jsonschema==4.26.0 06:55:00 jsonschema-specifications==2025.9.1 06:55:00 keystoneauth1==5.18.1 06:55:00 kubernetes==36.0.3 06:55:00 lftools==0.37.25 06:55:00 lxml==6.1.3 06:55:00 markdown-it-py==4.2.0 06:55:00 MarkupSafe==3.0.4 06:55:00 mdurl==0.1.2 06:55:00 msgpack==1.2.3 06:55:00 multi_key_dict==2.0.3 06:55:00 multidict==7.1.0 06:55:00 munch==4.0.0 06:55:00 netaddr==1.3.0 06:55:00 niet==1.4.2 06:55:00 nodeenv==1.11.0 06:55:00 oauth2client==4.1.3 06:55:00 oauthlib==4.0.0 06:55:00 openstacksdk==4.21.0 06:55:00 os-service-types==1.9.0 06:55:00 osc-lib==4.7.0 06:55:00 oslo.config==10.7.0 06:55:00 oslo.context==6.5.0 06:55:00 oslo.i18n==6.9.0 06:55:00 oslo.log==8.3.2 06:55:00 oslo.serialization==5.11.0 06:55:00 oslo.utils==10.2.0 06:55:00 packaging==26.3 06:55:00 pbr==7.1.3 06:55:00 platformdirs==4.13.0 06:55:00 prettytable==3.18.0 06:55:00 prompt_toolkit==3.0.53 06:55:00 propcache==0.5.4 06:55:00 psutil==7.2.2 06:55:00 pyasn1==0.6.4 06:55:00 pyasn1_modules==0.4.2 06:55:00 pycparser==3.11 06:55:00 pygerrit2==2.0.15 06:55:00 PyGithub==2.10.0 06:55:00 Pygments==2.21.0 06:55:00 PyJWT==2.15.1 06:55:00 PyNaCl==1.6.2 06:55:00 pyparsing==2.4.7 06:55:00 pyperclip==1.11.0 06:55:00 pyrsistent==0.20.0 06:55:00 python-dateutil==2.9.0.post0 06:55:00 python-discovery==1.6.2 06:55:00 python-heatclient==5.3.0 06:55:00 python-jenkins==1.8.3 06:55:00 python-keystoneclient==6.0.0 06:55:00 python-magnumclient==5.0.0 06:55:00 python-manilaclient==6.3.0 06:55:00 python-openstackclient==10.4.0 06:55:00 python-swiftclient==4.11.0 06:55:00 PyYAML==6.0.3 06:55:00 referencing==0.37.0 06:55:00 requests==2.34.2 06:55:00 requests-oauthlib==2.0.0 06:55:00 rfc3986==2.0.0 06:55:00 rich==15.0.0 06:55:00 rich-argparse==1.8.0 06:55:00 rpds-py==2026.9.1 06:55:00 rsa==4.9.1 06:55:00 ruamel.yaml==0.19.1 06:55:00 ruamel.yaml.clib==0.2.15 06:55:00 s3transfer==0.19.2 06:55:00 simplejson==4.2.0 06:55:00 six==1.17.0 06:55:00 smmap==5.0.3 06:55:00 soupsieve==3.0.3 06:55:00 stevedore==5.9.1 06:55:00 tabulate==0.10.0 06:55:00 toml==0.10.2 06:55:00 tomlkit==0.15.1 06:55:00 tqdm==4.70.1 06:55:00 typing_extensions==4.16.0 06:55:00 urllib3==1.26.20 06:55:00 virtualenv==21.14.7 06:55:00 wcwidth==0.9.2 06:55:00 websocket-client==1.9.2 06:55:00 wrapt==2.5.1 06:55:00 xdg==6.0.0 06:55:00 xmltodict==1.0.4 06:55:00 yarl==1.25.1 06:55:00 yq==4.4.5 06:55:00 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins12458983139242936669.sh 06:55:00 ---> uv-install.sh 06:55:00 Installing uv/uvx (latest) using shell installer 06:55:00 2026-10-15 06:55:00 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-xGwJRk.sh" [1] 06:55:00 downloading uv 0.13.1 x86_64-unknown-linux-gnu 06:55:01 installing to /home/jenkins/.local/bin 06:55:01 uv 06:55:01 uvx 06:55:01 everything's installed! 06:55:01 06:55:01 To add $HOME/.local/bin to your PATH, either restart your shell or run: 06:55:01 06:55:01 source $HOME/.local/bin/env (sh, bash, zsh) 06:55:01 source $HOME/.local/bin/env.fish (fish) 06:55:01 Adding install location to PATH 06:55:01 ---> Validating uv/uvx install 06:55:01 uvx 0.13.1 (x86_64-unknown-linux-gnu) 06:55:01 [EnvInject] - Injecting environment variables from a build step. 06:55:01 [EnvInject] - Injecting as environment variables the properties content 06:55:01 PYTHON=python3 06:55:01 06:55:01 [EnvInject] - Variables injected successfully. 06:55:01 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins8774816346497027452.sh 06:55:01 ---> tox-install.sh 06:55:01 + source /home/jenkins/lf-env.sh 06:55:01 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 06:55:01 ++ mktemp -d /tmp/venv-XXXX 06:55:01 + lf_venv=/tmp/venv-cI4z 06:55:01 + local venv_file=/tmp/.os_lf_venv 06:55:01 + local python=python3 06:55:01 + local options 06:55:01 + local set_path=true 06:55:01 + local install_args= 06:55:01 ++ 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 06:55:01 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 06:55:01 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 06:55:01 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 06:55:01 + true 06:55:01 + case $1 in 06:55:01 + venv_file=/tmp/.toxenv 06:55:01 + shift 2 06:55:01 + true 06:55:01 + case $1 in 06:55:01 + shift 06:55:01 + break 06:55:01 + case $python in 06:55:01 + local pkg_list= 06:55:01 + [[ -d /opt/pyenv ]] 06:55:01 + echo 'Setup pyenv:' 06:55:01 Setup pyenv: 06:55:01 + export PYENV_ROOT=/opt/pyenv 06:55:01 + PYENV_ROOT=/opt/pyenv 06:55:01 + 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 06:55:01 + 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 06:55:01 + pyenv versions 06:55:01 system 06:55:01 3.8.20 06:55:01 3.9.20 06:55:01 3.10.15 06:55:01 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 06:55:01 + command -v pyenv 06:55:01 ++ pyenv init - --no-rehash 06:55:01 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 06:55:01 for i in ${!paths[@]}; do 06:55:01 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 06:55:01 fi; done; 06:55:01 echo "${paths[*]}"'\'')" 06:55:01 export PATH="/opt/pyenv/shims:${PATH}" 06:55:01 export PYENV_SHELL=bash 06:55:01 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 06:55:01 pyenv() { 06:55:01 local command 06:55:01 command="${1:-}" 06:55:01 if [ "$#" -gt 0 ]; then 06:55:01 shift 06:55:01 fi 06:55:01 06:55:01 case "$command" in 06:55:01 rehash|shell) 06:55:01 eval "$(pyenv "sh-$command" "$@")" 06:55:01 ;; 06:55:01 *) 06:55:01 command pyenv "$command" "$@" 06:55:01 ;; 06:55:01 esac 06:55:01 }' 06:55:01 +++ bash --norc -ec 'IFS=:; paths=($PATH); 06:55:01 for i in ${!paths[@]}; do 06:55:01 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 06:55:01 fi; done; 06:55:01 echo "${paths[*]}"' 06:55:01 ++ 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 06:55:01 ++ 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 06:55:01 ++ 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 06:55:01 ++ export PYENV_SHELL=bash 06:55:01 ++ PYENV_SHELL=bash 06:55:01 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 06:55:01 +++ complete -F _pyenv pyenv 06:55:01 ++ lf-pyver python3 06:55:01 ++ local py_version_xy=python3 06:55:01 ++ local py_version_xyz= 06:55:01 ++ pyenv versions 06:55:01 ++ local command 06:55:01 ++ sed 's/^[ *]* //' 06:55:01 ++ command=versions 06:55:01 ++ '[' 1 -gt 0 ']' 06:55:01 ++ awk '{ print $1 }' 06:55:01 ++ shift 06:55:01 ++ grep -E '^[0-9.]*[0-9]$' 06:55:01 ++ case "$command" in 06:55:01 ++ command pyenv versions 06:55:01 ++ [[ ! -s /tmp/.pyenv_versions ]] 06:55:01 +++ grep '^3' /tmp/.pyenv_versions 06:55:01 +++ sort -V 06:55:01 +++ tail -n 1 06:55:01 ++ py_version_xyz=3.11.10 06:55:01 ++ [[ -z 3.11.10 ]] 06:55:01 ++ echo 3.11.10 06:55:01 ++ return 0 06:55:01 + pyenv local 3.11.10 06:55:01 + local command 06:55:01 + command=local 06:55:01 + '[' 2 -gt 0 ']' 06:55:01 + shift 06:55:01 + case "$command" in 06:55:01 + command pyenv local 3.11.10 06:55:01 + for arg in "$@" 06:55:01 + case $arg in 06:55:01 + pkg_list+='tox ' 06:55:01 + for arg in "$@" 06:55:01 + case $arg in 06:55:01 + pkg_list+='virtualenv ' 06:55:01 + for arg in "$@" 06:55:01 + case $arg in 06:55:01 + pkg_list+='urllib3~=1.26.15 ' 06:55:01 + [[ -f /tmp/.toxenv ]] 06:55:01 + [[ ! -f /tmp/.toxenv ]] 06:55:01 + [[ -n '' ]] 06:55:01 + python3 -m venv /tmp/venv-cI4z 06:55:05 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cI4z' 06:55:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cI4z 06:55:05 + echo /tmp/venv-cI4z 06:55:05 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 06:55:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 06:55:05 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 06:55:05 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 06:55:05 + local 'pip_opts=--upgrade --quiet' 06:55:05 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 06:55:05 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 06:55:05 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 06:55:05 + [[ -n '' ]] 06:55:05 + [[ -n '' ]] 06:55:05 + lf-venv-pip-install /tmp/venv-cI4z/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 06:55:05 + local venv_python=/tmp/venv-cI4z/bin/python3 06:55:05 + shift 06:55:05 + local upstream=https://pypi.org/simple 06:55:05 + /tmp/venv-cI4z/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 06:55:10 + return 0 06:55:10 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 06:55:10 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 06:55:10 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 06:55:10 + lf-venv-pip-install /tmp/venv-cI4z/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 06:55:10 + local venv_python=/tmp/venv-cI4z/bin/python3 06:55:10 + shift 06:55:10 + local upstream=https://pypi.org/simple 06:55:10 + /tmp/venv-cI4z/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 06:55:12 + return 0 06:55:12 + type python3 06:55:12 + true 06:55:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-cI4z/bin to PATH' 06:55:12 lf-activate-venv(): INFO: Adding /tmp/venv-cI4z/bin to PATH 06:55:12 + PATH=/tmp/venv-cI4z/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 06:55:12 + return 0 06:55:12 + python3 --version 06:55:12 Python 3.11.10 06:55:12 + python3 -m pip --version 06:55:12 pip 26.2.1 from /tmp/venv-cI4z/lib/python3.11/site-packages/pip (python 3.11) 06:55:12 + python3 -m pip freeze 06:55:12 cachetools==7.2.1 06:55:12 colorama==0.4.6 06:55:12 distlib==0.4.3 06:55:12 filelock==4.2.0 06:55:12 packaging==26.3 06:55:12 platformdirs==4.13.0 06:55:12 pluggy==1.6.0 06:55:12 pyproject-api==1.11.6 06:55:12 python-discovery==1.6.2 06:55:12 tomli_w==1.2.0 06:55:12 tox==4.65.5 06:55:12 typing_extensions==4.16.0 06:55:12 urllib3==1.26.20 06:55:12 virtualenv==21.14.7 06:55:13 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins4087464403893439568.sh 06:55:13 [EnvInject] - Injecting environment variables from a build step. 06:55:13 [EnvInject] - Injecting as environment variables the properties content 06:55:13 PARALLEL=True 06:55:13 06:55:13 [EnvInject] - Variables injected successfully. 06:55:13 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins473637117495046521.sh 06:55:13 ---> tox-run.sh 06:55:13 + 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 06:55:13 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 06:55:13 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 06:55:13 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 06:55:13 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 06:55:13 + source /home/jenkins/lf-env.sh 06:55:13 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 06:55:13 ++ mktemp -d /tmp/venv-XXXX 06:55:13 + lf_venv=/tmp/venv-KvSj 06:55:13 + local venv_file=/tmp/.os_lf_venv 06:55:13 + local python=python3 06:55:13 + local options 06:55:13 + local set_path=true 06:55:13 + local install_args= 06:55:13 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 06:55:13 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 06:55:13 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 06:55:13 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 06:55:13 + true 06:55:13 + case $1 in 06:55:13 + venv_file=/tmp/.toxenv 06:55:13 + shift 2 06:55:13 + true 06:55:13 + case $1 in 06:55:13 + shift 06:55:13 + break 06:55:13 + case $python in 06:55:13 + local pkg_list= 06:55:13 + [[ -d /opt/pyenv ]] 06:55:13 + echo 'Setup pyenv:' 06:55:13 Setup pyenv: 06:55:13 + export PYENV_ROOT=/opt/pyenv 06:55:13 + PYENV_ROOT=/opt/pyenv 06:55:13 + 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 06:55:13 + 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 06:55:13 + pyenv versions 06:55:13 system 06:55:13 3.8.20 06:55:13 3.9.20 06:55:13 3.10.15 06:55:13 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 06:55:13 + command -v pyenv 06:55:13 ++ pyenv init - --no-rehash 06:55:13 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 06:55:13 for i in ${!paths[@]}; do 06:55:13 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 06:55:13 fi; done; 06:55:13 echo "${paths[*]}"'\'')" 06:55:13 export PATH="/opt/pyenv/shims:${PATH}" 06:55:13 export PYENV_SHELL=bash 06:55:13 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 06:55:13 pyenv() { 06:55:13 local command 06:55:13 command="${1:-}" 06:55:13 if [ "$#" -gt 0 ]; then 06:55:13 shift 06:55:13 fi 06:55:13 06:55:13 case "$command" in 06:55:13 rehash|shell) 06:55:13 eval "$(pyenv "sh-$command" "$@")" 06:55:13 ;; 06:55:13 *) 06:55:13 command pyenv "$command" "$@" 06:55:13 ;; 06:55:13 esac 06:55:13 }' 06:55:13 +++ bash --norc -ec 'IFS=:; paths=($PATH); 06:55:13 for i in ${!paths[@]}; do 06:55:13 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 06:55:13 fi; done; 06:55:13 echo "${paths[*]}"' 06:55:13 ++ 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 06:55:13 ++ 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 06:55:13 ++ 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 06:55:13 ++ export PYENV_SHELL=bash 06:55:13 ++ PYENV_SHELL=bash 06:55:13 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 06:55:13 +++ complete -F _pyenv pyenv 06:55:13 ++ lf-pyver python3 06:55:13 ++ local py_version_xy=python3 06:55:13 ++ local py_version_xyz= 06:55:13 ++ pyenv versions 06:55:13 ++ local command 06:55:13 ++ sed 's/^[ *]* //' 06:55:13 ++ command=versions 06:55:13 ++ '[' 1 -gt 0 ']' 06:55:13 ++ shift 06:55:13 ++ case "$command" in 06:55:13 ++ command pyenv versions 06:55:13 ++ awk '{ print $1 }' 06:55:13 ++ grep -E '^[0-9.]*[0-9]$' 06:55:13 ++ [[ ! -s /tmp/.pyenv_versions ]] 06:55:13 +++ grep '^3' /tmp/.pyenv_versions 06:55:13 +++ tail -n 1 06:55:13 +++ sort -V 06:55:13 ++ py_version_xyz=3.11.10 06:55:13 ++ [[ -z 3.11.10 ]] 06:55:13 ++ echo 3.11.10 06:55:13 ++ return 0 06:55:13 + pyenv local 3.11.10 06:55:13 + local command 06:55:13 + command=local 06:55:13 + '[' 2 -gt 0 ']' 06:55:13 + shift 06:55:13 + case "$command" in 06:55:13 + command pyenv local 3.11.10 06:55:13 + for arg in "$@" 06:55:13 + case $arg in 06:55:13 + pkg_list+='tox ' 06:55:13 + for arg in "$@" 06:55:13 + case $arg in 06:55:13 + pkg_list+='virtualenv ' 06:55:13 + for arg in "$@" 06:55:13 + case $arg in 06:55:13 + pkg_list+='urllib3~=1.26.15 ' 06:55:13 + [[ -f /tmp/.toxenv ]] 06:55:13 ++ cat /tmp/.toxenv 06:55:13 + lf_venv=/tmp/venv-cI4z 06:55:13 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cI4z from' file:/tmp/.toxenv 06:55:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cI4z from file:/tmp/.toxenv 06:55:13 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 06:55:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 06:55:13 + local 'pip_opts=--upgrade --quiet' 06:55:13 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 06:55:13 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 06:55:13 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 06:55:13 + [[ -n '' ]] 06:55:13 + [[ -n '' ]] 06:55:13 + lf-venv-pip-install /tmp/venv-cI4z/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 06:55:13 + local venv_python=/tmp/venv-cI4z/bin/python3 06:55:13 + shift 06:55:13 + local upstream=https://pypi.org/simple 06:55:13 + /tmp/venv-cI4z/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 06:55:14 + return 0 06:55:14 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 06:55:14 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 06:55:14 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 06:55:14 + lf-venv-pip-install /tmp/venv-cI4z/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 06:55:14 + local venv_python=/tmp/venv-cI4z/bin/python3 06:55:14 + shift 06:55:14 + local upstream=https://pypi.org/simple 06:55:14 + /tmp/venv-cI4z/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 06:55:15 + return 0 06:55:15 + type python3 06:55:15 + true 06:55:15 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-cI4z/bin to PATH' 06:55:15 lf-activate-venv(): INFO: Adding /tmp/venv-cI4z/bin to PATH 06:55:15 + PATH=/tmp/venv-cI4z/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 06:55:15 + return 0 06:55:15 + [[ -d /opt/pyenv ]] 06:55:15 + echo '---> Setting up pyenv' 06:55:15 ---> Setting up pyenv 06:55:15 + export PYENV_ROOT=/opt/pyenv 06:55:15 + PYENV_ROOT=/opt/pyenv 06:55:15 + export PATH=/opt/pyenv/bin:/tmp/venv-cI4z/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 06:55:15 + PATH=/opt/pyenv/bin:/tmp/venv-cI4z/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 06:55:15 ++ pwd 06:55:15 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 06:55:15 + export PYTHONPATH 06:55:15 + export TOX_TESTENV_PASSENV=PYTHONPATH 06:55:15 + TOX_TESTENV_PASSENV=PYTHONPATH 06:55:15 + tox --version 06:55:16 4.65.5 from /tmp/venv-cI4z/lib/python3.11/site-packages/tox/__init__.py 06:55:16 + PARALLEL=True 06:55:16 + TOX_OPTIONS_LIST= 06:55:16 + [[ -n '' ]] 06:55:16 + case ${PARALLEL,,} in 06:55:16 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 06:55:16 + tox --parallel auto --parallel-live 06:55:16 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 06:55:17 docs: install_deps> python -I -m pip install -r docs/requirements.txt 06:55:17 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 06:55:17 checkbashisms: freeze> python -m pip freeze --all 06:55:17 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 06:55:18 checkbashisms: pip==26.2.1,setuptools==84.0.0 06:55:18 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 06:55:18 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)' 06:55:18 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 06:55:19 checkbashisms: OK ✔ in 3.16 seconds 06:55:19 pre-commit: install_deps> python -I -m pip install pre-commit 06:55:22 pre-commit: freeze> python -m pip freeze --all 06:55:22 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==4.2.0,identify==2.6.20,nodeenv==1.11.0,packaging==26.3,pip==26.2.1,platformdirs==4.13.0,pre_commit==4.7.0,python-discovery==1.6.2,PyYAML==6.0.3,setuptools==84.0.0,virtualenv==21.14.7 06:55:22 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 06:55:22 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)' 06:55:22 /usr/bin/cpan 06:55:22 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 06:55:23 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 06:55:23 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 06:55:23 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 06:55:24 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 06:55:24 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 06:55:25 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 06:55:25 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 06:55:26 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 06:55:26 buildcontroller: freeze> python -m pip freeze --all 06:55:26 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:26 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 06:55:26 + update-java-alternatives -l 06:55:26 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 06:55:26 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 06:55:26 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 06:55:26 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 06:55:26 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 06:55:26 update-alternatives: error: no alternatives for jaotc 06:55:26 update-alternatives: error: no alternatives for rmic 06:55:26 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 06:55:27 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 06:55:27 + java -version 06:55:27 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 06:55:27 [INFO] Once installed this environment will be reused. 06:55:27 [INFO] This may take a few minutes... 06:55:27 + JAVA_VER=21.0 06:55:27 + echo 21.0 06:55:27 21.0 06:55:27 + javac -version 06:55:27 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 06:55:27 21.0 06:55:27 No java21 or newer available 06:55:27 + JAVAC_VER=21.0 06:55:27 + echo 21.0 06:55:27 + [ 21.0 -ge 21 ] 06:55:27 ./installMavenUbuntu.sh: 14: [: Illegal number: 21.0 06:55:27 + echo No java21 or newer available 06:55:27 + exit 1 06:55:27 buildcontroller: exit 1 (1.10 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh pid=6467 06:55:27 buildcontroller: FAIL ✖ in 11.24 seconds 06:55:27 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 06:55:31 pylint: freeze> python -m pip freeze --all 06:55:32 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 06:55:32 [INFO] Once installed this environment will be reused. 06:55:32 [INFO] This may take a few minutes... 06:55:32 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.13.0,pylint==4.1.3,setuptools==84.0.0,tomlkit==0.15.1 06:55:32 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}$' '{}' + 06:55:33 docs-linkcheck: freeze> python -m pip freeze --all 06:55:33 docs: freeze> python -m pip freeze --all 06:55:33 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.58.6,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==9.0.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.2.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.10.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,ub-project==1.1.0,urllib3==2.8.0 06:55:33 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 06:55:33 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.58.6,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==9.0.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.2.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.10.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,ub-project==1.1.0,urllib3==2.8.0 06:55:33 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 06:55:36 docs: OK ✔ in 20.17 seconds 06:55:36 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 06:55:37 [INFO] Installing environment for https://github.com/hhatto/autopep8. 06:55:37 [INFO] Once installed this environment will be reused. 06:55:37 [INFO] This may take a few minutes... 06:55:38 docs-linkcheck: OK ✔ in 22.18 seconds 06:55:38 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 06:55:41 [INFO] Installing environment for https://github.com/perltidy/perltidy. 06:55:41 [INFO] Once installed this environment will be reused. 06:55:41 [INFO] This may take a few minutes... 06:55:43 build_karaf_tests221: freeze> python -m pip freeze --all 06:55:44 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:44 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 06:55:44 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karaf221 06:55:44 ./build_karaf_for_tests.sh: 22: mvn: not found 06:55:44 build karaf in karaf221 with ./karaf221.env 06:55:44 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 06:55:44 build_karaf_tests221: exit 127 (0.00 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=6867 06:55:44 build_karaf_tests221: FAIL ✖ in 7.68 seconds 06:55:44 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 06:55:45 build_karaf_tests71: freeze> python -m pip freeze --all 06:55:45 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:45 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 06:55:45 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karaf71 06:55:45 ./build_karaf_for_tests.sh: 22: mvn: not found 06:55:45 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 06:55:45 build karaf in karaf71 with ./karaf71.env 06:55:45 build_karaf_tests71: exit 127 (0.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=6891 06:55:46 build_karaf_tests71: FAIL ✖ in 7.5 seconds 06:55:46 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 06:55:49 ************* Module 2.2.1.test12_end2end 06:55:49 transportpce_tests/2.2.1/test12_end2end.py:435:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 ************* Module common.test_utils 06:55:49 transportpce_tests/common/test_utils.py:532:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:555:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:581:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:617:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:635:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:666:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 transportpce_tests/common/test_utils.py:687:0: C0325: Unnecessary parens after 'in' keyword (superfluous-parens) 06:55:49 06:55:49 ----------------------------------- 06:55:49 Your code has been rated at 9.99/10 06:55:49 06:55:51 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 06:55:51 [INFO] Once installed this environment will be reused. 06:55:51 [INFO] This may take a few minutes... 06:55:51 build_karaf_tests200: freeze> python -m pip freeze --all 06:55:51 pylint: exit 1 (19.55 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=6760 06:55:51 pylint: FAIL ✖ in 24.13 seconds 06:55: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 06:55:51 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:51 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 06:55:51 build karaf in karafoc200 with ./karafoc200.env 06:55:51 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karafoc200 06:55:51 ./build_karaf_for_tests.sh: 22: mvn: not found 06:55:51 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 06:55:51 build_karaf_tests200: exit 127 (0.00 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=7027 06:55:52 build_karaf_tests200: FAIL ✖ in 7.81 seconds 06:55: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 06:55:53 buildlighty: freeze> python -m pip freeze --all 06:55:53 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:53 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 06:55:53 ./build.sh: 7: mvn: not found 06:55:53 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 06:55:53 buildlighty: exit 9 (0.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=7135 06:55:54 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 06:55:54 [INFO] Once installed this environment will be reused. 06:55:54 [INFO] This may take a few minutes... 06:55:58 buildlighty: FAIL ✖ in 7.83 seconds 06:55:58 sims: freeze> python -m pip freeze --all 06:55:59 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:55:59 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 06:55:59 Using lighynode version 22.1.0.7 06:55:59 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 06:55:59 trim trailing whitespace.................................................Passed 06:55:59 fix end of files.........................................................Passed 06:55:59 check for added large files..............................................Passed 06:55:59 check for merge conflicts................................................Passed 06:56:00 check for case conflicts.................................................Passed 06:56:00 check json...............................................................Passed 06:56:00 mixed line ending........................................................Passed 06:56:00 Tabs remover.............................................................Passed 06:56:00 autopep8.................................................................Passed 06:56:03 perltidy.................................................................Passed 06:56:03 ShellCheck v0.11.0.......................................................Passed 06:56:09 prettier.................................................................Passed 06:56:11 yamllint.................................................................Passed 06:56:11 sims: OK ✔ in 10.53 seconds 06:56:11 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 06:56:11 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 06:56:11 [INFO] Once installed this environment will be reused. 06:56:11 [INFO] This may take a few minutes... 06:56:20 gitlint..................................................................Passed 06:56:40 pre-commit: OK ✔ in 1 minute 1.33 seconds 06:56:40 testsPCE: freeze> python -m pip freeze --all 06:56:41 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.67.0,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.11,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 06:56:41 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 06:56:41 pytest -q transportpce_tests/pce/test01_pce.py 06:58:41 EEEEEEEEEEEEEEEEEEEE [100%] 06:58:45 ==================================== ERRORS ==================================== 06:58:45 _______ ERROR at setup of TestTransportPCEPce.test_01_load_port_mapping ________ 06:58:45 06:58:45 cls = 06:58:45 06:58:45 @classmethod 06:58:45 def setUpClass(cls): 06:58:45 # pylint: disable=bare-except 06:58:45 sample_files_parsed = False 06:58:45 time.sleep(20) 06:58:45 try: 06:58:45 TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 06:58:45 "..", "..", "sample_configs", "honeynode-topo.json") 06:58:45 with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: 06:58:45 cls.simple_topo_bi_dir_data = topo_bi_dir.read() 06:58:45 06:58:45 TOPO_UNI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 06:58:45 "..", "..", "sample_configs", "NW-simple-topology.json") 06:58:45 06:58:45 with open(TOPO_UNI_DIR_FILE, 'r', encoding='utf-8') as topo_uni_dir: 06:58:45 cls.simple_topo_uni_dir_data = topo_uni_dir.read() 06:58:45 06:58:45 TOPO_UNI_DIR_COMPLEX_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 06:58:45 "..", "..", "sample_configs", "NW-for-test-5-4.json") 06:58:45 with open(TOPO_UNI_DIR_COMPLEX_FILE, 'r', encoding='utf-8') as topo_uni_dir_complex: 06:58:45 cls.complex_topo_uni_dir_data = topo_uni_dir_complex.read() 06:58:45 PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 06:58:45 "..", "..", "sample_configs", "pce_portmapping_221.json") 06:58:45 with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: 06:58:45 cls.port_mapping_data = port_mapping.read() 06:58:45 sample_files_parsed = True 06:58:45 except PermissionError as err: 06:58:45 print("Permission Error when trying to read sample files\n", err) 06:58:45 sys.exit(2) 06:58:45 except FileNotFoundError as err: 06:58:45 print("File Not found Error when trying to read sample files\n", err) 06:58:45 sys.exit(2) 06:58:45 except: 06:58:45 print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) 06:58:45 sys.exit(2) 06:58:45 finally: 06:58:45 if sample_files_parsed: 06:58:45 print("sample files content loaded") 06:58:45 06:58:45 > cls.processes = test_utils.start_tpce() 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 06:58:45 transportpce_tests/pce/test01_pce.py:93: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 def start_tpce(): 06:58:45 if 'NO_ODL_STARTUP' in os.environ: 06:58:45 print('No OpenDaylight instance to start!') 06:58:45 return [] 06:58:45 print('starting OpenDaylight...') 06:58:45 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 06:58:45 process = start_lighty() 06:58:45 else: 06:58:45 process = start_karaf() 06:58:45 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 06:58:45 print('OpenDaylight started !') 06:58:45 else: 06:58:45 print('OpenDaylight failed to start !') 06:58:45 shutdown_process(process) 06:58:45 for pid in process_list: 06:58:45 shutdown_process(pid) 06:58:45 > sys.exit(1) 06:58:45 E SystemExit: 1 06:58:45 06:58:45 transportpce_tests/common/test_utils.py:234: SystemExit 06:58:45 ---------------------------- Captured stdout setup ----------------------------- 06:58:45 sample files content loaded 06:58:45 starting OpenDaylight... 06:58:45 starting KARAF (karaf) TransportPCE build... 06:58:45 Pattern not found after 100 seconds! OpenDaylight failed to start ! 06:58:45 ____ ERROR at setup of TestTransportPCEPce.test_02_load_simple_topology_bi _____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698b380> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___________ ERROR at setup of TestTransportPCEPce.test_03_get_nodeId ___________ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699fc40> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___________ ERROR at setup of TestTransportPCEPce.test_04_get_linkId ___________ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699f420> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ____ ERROR at setup of TestTransportPCEPce.test_05_path_computation_xpdr_bi ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698b380> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ____ ERROR at setup of TestTransportPCEPce.test_06_path_computation_rdm_bi _____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699f1a0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ____ ERROR at setup of TestTransportPCEPce.test_07_load_simple_topology_uni ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699f6a0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___________ ERROR at setup of TestTransportPCEPce.test_08_get_nodeId ___________ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f68664e1da0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___________ ERROR at setup of TestTransportPCEPce.test_09_get_linkId ___________ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698bec0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___ ERROR at setup of TestTransportPCEPce.test_10_path_computation_xpdr_uni ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698b380> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ____ ERROR at setup of TestTransportPCEPce.test_11_path_computation_rdm_uni ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698bec0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 _____ ERROR at setup of TestTransportPCEPce.test_12_load_complex_topology ______ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f68664e1940> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___________ ERROR at setup of TestTransportPCEPce.test_13_get_nodeId ___________ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699f1a0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 _____ ERROR at setup of TestTransportPCEPce.test_14_fail_path_computation ______ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698b380> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___ ERROR at setup of TestTransportPCEPce.test_15_success1_path_computation ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f68664e2980> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___ ERROR at setup of TestTransportPCEPce.test_16_success2_path_computation ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699c540> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 ___ ERROR at setup of TestTransportPCEPce.test_17_success3_path_computation ____ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686698b380> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 _ ERROR at setup of TestTransportPCEPce.test_18_path_computation_before_oms_attribute_deletion _ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f68664e22a0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 _ ERROR at setup of TestTransportPCEPce.test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link _ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699f1a0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 _ ERROR at setup of TestTransportPCEPce.test_20_path_computation_after_oms_attribute_deletion _ 06:58:45 06:58:45 cls = 06:58:45 func = . at 0x7f686699c2c0> 06:58:45 when = 'setup' 06:58:45 reraise = (, ) 06:58:45 06:58:45 @classmethod 06:58:45 def from_call( 06:58:45 cls, 06:58:45 func: Callable[[], TResult], 06:58:45 when: Literal["collect", "setup", "call", "teardown"], 06:58:45 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 06:58:45 ) -> CallInfo[TResult]: 06:58:45 """Call func, wrapping the result in a CallInfo. 06:58:45 06:58:45 :param func: 06:58:45 The function to call. Called without arguments. 06:58:45 :type func: Callable[[], _pytest.runner.TResult] 06:58:45 :param when: 06:58:45 The phase in which the function is called. 06:58:45 :param reraise: 06:58:45 Exception or exceptions that shall propagate if raised by the 06:58:45 function, instead of being wrapped in the CallInfo. 06:58:45 """ 06:58:45 excinfo = None 06:58:45 instant = timing.Instant() 06:58:45 try: 06:58:45 > result: TResult | None = func() 06:58:45 ^^^^^^ 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 06:58:45 lambda: runtest_hook(item=item, **kwds), 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 06:58:45 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 06:58:45 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 06:58:45 yield 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 06:58:45 return (yield) 06:58:45 ^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 06:58:45 item.session._setupstate.setup(item) 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 06:58:45 col.setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 06:58:45 super().setup() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 06:58:45 self._request._fillfixtures() 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 06:58:45 item.funcargs[argname] = self.getfixturevalue(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 06:58:45 fixturedef = self._get_active_fixturedef(argname) 06:58:45 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 06:58:45 fixturedef.execute(request=subrequest) 06:58:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 06:58:45 06:58:45 self = 06:58:45 request = > 06:58:45 06:58:45 def execute(self, request: SubRequest) -> FixtureValue: 06:58:45 """Return the value of this fixture, executing it if not cached.""" 06:58:45 # Ensure that the dependent fixtures requested by this fixture are loaded. 06:58:45 # This needs to be done before checking if we have a cached value, since 06:58:45 # if a dependent fixture has their cache invalidated, e.g. due to 06:58:45 # parametrization, they finalize themselves and fixtures depending on it 06:58:45 # (which will likely include this fixture) setting `self.cached_result = None`. 06:58:45 # See #4871 06:58:45 requested_fixtures_that_should_finalize_us = [] 06:58:45 for argname in self.argnames: 06:58:45 fixturedef = request._get_active_fixturedef(argname) 06:58:45 # Saves requested fixtures in a list so we later can add our finalizer 06:58:45 # to them, ensuring that if a requested fixture gets torn down we get torn 06:58:45 # down first. This is generally handled by SetupState, but still currently 06:58:45 # needed when this fixture is not parametrized but depends on a parametrized 06:58:45 # fixture. 06:58:45 requested_fixtures_that_should_finalize_us.append(fixturedef) 06:58:45 06:58:45 # Check for (and return) cached value/exception. 06:58:45 if self.cached_result is not None: 06:58:45 request_cache_key = self.cache_key(request) 06:58:45 cache_key = self.cached_result[1] 06:58:45 try: 06:58:45 # Attempt to make a normal == check: this might fail for objects 06:58:45 # which do not implement the standard comparison (like numpy arrays -- #6497). 06:58:45 cache_hit = bool(request_cache_key == cache_key) 06:58:45 except (ValueError, RuntimeError): 06:58:45 # If the comparison raises, use 'is' as fallback. 06:58:45 cache_hit = request_cache_key is cache_key 06:58:45 06:58:45 if cache_hit: 06:58:45 if self.cached_result[2] is not None: 06:58:45 exc, exc_tb = self.cached_result[2] 06:58:45 raise exc.with_traceback(exc_tb) 06:58:45 else: 06:58:45 return self.cached_result[0] 06:58:45 # We have a previous but differently parametrized fixture instance 06:58:45 # so we need to tear it down before creating a new one. 06:58:45 self.finish(request) 06:58:45 assert self.cached_result is None 06:58:45 06:58:45 # Add finalizer to requested fixtures we saved previously. 06:58:45 # We make sure to do this after checking for cached value to avoid 06:58:45 # adding our finalizer multiple times. (#12135) 06:58:45 finalizer = functools.partial(self.finish, request=request) 06:58:45 for parent_fixture in requested_fixtures_that_should_finalize_us: 06:58:45 parent_fixture.addfinalizer(finalizer) 06:58:45 06:58:45 # Register the pytest_fixture_post_finalizer as the first finalizer, 06:58:45 # which is executed last. 06:58:45 > assert not self._finalizers 06:58:45 ^^^^^^^^^^^^^^^^^^^^ 06:58:45 E AssertionError 06:58:45 06:58:45 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 06:58:45 =========================== short test summary info ============================ 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_01_load_port_mapping 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_02_load_simple_topology_bi 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_03_get_nodeId 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_04_get_linkId 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_05_path_computation_xpdr_bi 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_06_path_computation_rdm_bi 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_07_load_simple_topology_uni 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_08_get_nodeId 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_09_get_linkId 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_10_path_computation_xpdr_uni 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_11_path_computation_rdm_uni 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_12_load_complex_topology 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_13_get_nodeId 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_14_fail_path_computation 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_15_success1_path_computation 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_16_success2_path_computation 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_17_success3_path_computation 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_18_path_computation_before_oms_attribute_deletion 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link 06:58:45 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_20_path_computation_after_oms_attribute_deletion 06:58:45 20 errors in 124.13s (0:02:04) 06:58:45 testsPCE: exit 1 (124.45 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=7709 06:58:45 testsPCE: FAIL ✖ in 2 minutes 53.8 seconds 06:58:45 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 06:58:53 tests_tapi: freeze> python -m pip freeze --all 06:58:54 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 06:58:54 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 06:58:54 using environment variables from ./karaf221.env 06:58:54 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 07:00:34 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 07:00:44 ==================================== ERRORS ==================================== 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 07:00:44 @classmethod 07:00:44 def setUpClass(cls): 07:00:44 cls.init_failed = False 07:00:44 os.environ['JAVA_MIN_MEM'] = '1024M' 07:00:44 os.environ['JAVA_MAX_MEM'] = '4096M' 07:00:44 > cls.processes = test_utils.start_tpce() 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 07:00:44 transportpce_tests/tapi/test01_abstracted_topology.py:148: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 def start_tpce(): 07:00:44 if 'NO_ODL_STARTUP' in os.environ: 07:00:44 print('No OpenDaylight instance to start!') 07:00:44 return [] 07:00:44 print('starting OpenDaylight...') 07:00:44 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:00:44 process = start_lighty() 07:00:44 else: 07:00:44 process = start_karaf() 07:00:44 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:00:44 print('OpenDaylight started !') 07:00:44 else: 07:00:44 print('OpenDaylight failed to start !') 07:00:44 shutdown_process(process) 07:00:44 for pid in process_list: 07:00:44 shutdown_process(pid) 07:00:44 > sys.exit(1) 07:00:44 E SystemExit: 1 07:00:44 07:00:44 transportpce_tests/common/test_utils.py:234: SystemExit 07:00:44 ---------------------------- Captured stdout setup ----------------------------- 07:00:44 starting OpenDaylight... 07:00:44 starting KARAF (karaf221) TransportPCE build... 07:00:44 Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9f740> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77fefc40> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed798ff060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77fef100> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9db20> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77fef6a0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e2a0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6020> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9da80> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd65c0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e480> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77fef100> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e480> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed7a6a3060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5bc0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5bc0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd4d60> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd47c0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6ac0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5300> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6ac0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5a80> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6fc0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5e40> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6020> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6340> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd6340> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd7240> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd7420> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd7560> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd63e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd5a80> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77f9e8e0> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 07:00:44 07:00:44 cls = 07:00:44 func = . at 0x7fed77bd7060> 07:00:44 when = 'setup' 07:00:44 reraise = (, ) 07:00:44 07:00:44 @classmethod 07:00:44 def from_call( 07:00:44 cls, 07:00:44 func: Callable[[], TResult], 07:00:44 when: Literal["collect", "setup", "call", "teardown"], 07:00:44 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:00:44 ) -> CallInfo[TResult]: 07:00:44 """Call func, wrapping the result in a CallInfo. 07:00:44 07:00:44 :param func: 07:00:44 The function to call. Called without arguments. 07:00:44 :type func: Callable[[], _pytest.runner.TResult] 07:00:44 :param when: 07:00:44 The phase in which the function is called. 07:00:44 :param reraise: 07:00:44 Exception or exceptions that shall propagate if raised by the 07:00:44 function, instead of being wrapped in the CallInfo. 07:00:44 """ 07:00:44 excinfo = None 07:00:44 instant = timing.Instant() 07:00:44 try: 07:00:44 > result: TResult | None = func() 07:00:44 ^^^^^^ 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:00:44 lambda: runtest_hook(item=item, **kwds), 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:00:44 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:00:44 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:00:44 yield 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:00:44 return (yield) 07:00:44 ^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:00:44 item.session._setupstate.setup(item) 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:00:44 col.setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:00:44 super().setup() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:00:44 self._request._fillfixtures() 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:00:44 item.funcargs[argname] = self.getfixturevalue(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:00:44 fixturedef = self._get_active_fixturedef(argname) 07:00:44 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:00:44 fixturedef.execute(request=subrequest) 07:00:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:00:44 07:00:44 self = 07:00:44 request = > 07:00:44 07:00:44 def execute(self, request: SubRequest) -> FixtureValue: 07:00:44 """Return the value of this fixture, executing it if not cached.""" 07:00:44 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:00:44 # This needs to be done before checking if we have a cached value, since 07:00:44 # if a dependent fixture has their cache invalidated, e.g. due to 07:00:44 # parametrization, they finalize themselves and fixtures depending on it 07:00:44 # (which will likely include this fixture) setting `self.cached_result = None`. 07:00:44 # See #4871 07:00:44 requested_fixtures_that_should_finalize_us = [] 07:00:44 for argname in self.argnames: 07:00:44 fixturedef = request._get_active_fixturedef(argname) 07:00:44 # Saves requested fixtures in a list so we later can add our finalizer 07:00:44 # to them, ensuring that if a requested fixture gets torn down we get torn 07:00:44 # down first. This is generally handled by SetupState, but still currently 07:00:44 # needed when this fixture is not parametrized but depends on a parametrized 07:00:44 # fixture. 07:00:44 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:00:44 07:00:44 # Check for (and return) cached value/exception. 07:00:44 if self.cached_result is not None: 07:00:44 request_cache_key = self.cache_key(request) 07:00:44 cache_key = self.cached_result[1] 07:00:44 try: 07:00:44 # Attempt to make a normal == check: this might fail for objects 07:00:44 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:00:44 cache_hit = bool(request_cache_key == cache_key) 07:00:44 except (ValueError, RuntimeError): 07:00:44 # If the comparison raises, use 'is' as fallback. 07:00:44 cache_hit = request_cache_key is cache_key 07:00:44 07:00:44 if cache_hit: 07:00:44 if self.cached_result[2] is not None: 07:00:44 exc, exc_tb = self.cached_result[2] 07:00:44 raise exc.with_traceback(exc_tb) 07:00:44 else: 07:00:44 return self.cached_result[0] 07:00:44 # We have a previous but differently parametrized fixture instance 07:00:44 # so we need to tear it down before creating a new one. 07:00:44 self.finish(request) 07:00:44 assert self.cached_result is None 07:00:44 07:00:44 # Add finalizer to requested fixtures we saved previously. 07:00:44 # We make sure to do this after checking for cached value to avoid 07:00:44 # adding our finalizer multiple times. (#12135) 07:00:44 finalizer = functools.partial(self.finish, request=request) 07:00:44 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:00:44 parent_fixture.addfinalizer(finalizer) 07:00:44 07:00:44 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:00:44 # which is executed last. 07:00:44 > assert not self._finalizers 07:00:44 ^^^^^^^^^^^^^^^^^^^^ 07:00:44 E AssertionError 07:00:44 07:00:44 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:00:44 =========================== short test summary info ============================ 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 07:00:44 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 07:00:44 51 errors in 110.38s (0:01:50) 07:00:44 tests_tapi: exit 1 (110.67 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=7778 07:00:45 tests_tapi: FAIL ✖ in 1 minute 59.03 seconds 07:00:45 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 07:00:45 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 07:00:51 tests221: freeze> python -m pip freeze --all 07:00:52 tests200: freeze> python -m pip freeze --all 07:00:52 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:00:52 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 07:00:52 using environment variables from ./karaf221.env 07:00:52 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 07:00:52 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:00:52 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 07:00:52 using environment variables from ./karafoc200.env 07:00:52 pytest -q transportpce_tests/oc200/test01_portmapping.py 07:02:32 EEEEEEEEEEEEEEEEEEEE [100%] 07:02:34 ==================================== ERRORS ==================================== 07:02:34 __ ERROR at setup of TestTransportPCEPortmapping.test_01_meta_data_insertion ___ 07:02:34 07:02:34 cls = 07:02:34 07:02:34 @classmethod 07:02:34 def setUpClass(cls): 07:02:34 > cls.processes = test_utils.start_tpce() 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 07:02:34 transportpce_tests/oc200/test01_portmapping.py:29: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 def start_tpce(): 07:02:34 if 'NO_ODL_STARTUP' in os.environ: 07:02:34 print('No OpenDaylight instance to start!') 07:02:34 return [] 07:02:34 print('starting OpenDaylight...') 07:02:34 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:02:34 process = start_lighty() 07:02:34 else: 07:02:34 process = start_karaf() 07:02:34 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:02:34 print('OpenDaylight started !') 07:02:34 else: 07:02:34 print('OpenDaylight failed to start !') 07:02:34 shutdown_process(process) 07:02:34 for pid in process_list: 07:02:34 shutdown_process(pid) 07:02:34 > sys.exit(1) 07:02:34 E SystemExit: 1 07:02:34 07:02:34 transportpce_tests/common/test_utils.py:234: SystemExit 07:02:34 ---------------------------- Captured stdout setup ----------------------------- 07:02:34 starting OpenDaylight... 07:02:34 starting KARAF (karafoc200) TransportPCE build... 07:02:34 Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_02_catalog_input_insertion _ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a79713420> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_device_connection _ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a7701fec0> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_04_xpdr_device_connected __ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a787c7600> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_05_xpdr_portmapping_info __ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a76ffb740> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a79713420> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a787c7600> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 __ ERROR at setup of TestTransportPCEPortmapping.test_08_mpdr_switching_pool ___ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a7701f880> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 ___ ERROR at setup of TestTransportPCEPortmapping.test_09_check_mccapprofile ___ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a7701f6a0> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 07:02:34 07:02:34 cls = 07:02:34 func = . at 0x7f4a7701f600> 07:02:34 when = 'setup' 07:02:34 reraise = (, ) 07:02:34 07:02:34 @classmethod 07:02:34 def from_call( 07:02:34 cls, 07:02:34 func: Callable[[], TResult], 07:02:34 when: Literal["collect", "setup", "call", "teardown"], 07:02:34 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:34 ) -> CallInfo[TResult]: 07:02:34 """Call func, wrapping the result in a CallInfo. 07:02:34 07:02:34 :param func: 07:02:34 The function to call. Called without arguments. 07:02:34 :type func: Callable[[], _pytest.runner.TResult] 07:02:34 :param when: 07:02:34 The phase in which the function is called. 07:02:34 :param reraise: 07:02:34 Exception or exceptions that shall propagate if raised by the 07:02:34 function, instead of being wrapped in the CallInfo. 07:02:34 """ 07:02:34 excinfo = None 07:02:34 instant = timing.Instant() 07:02:34 try: 07:02:34 > result: TResult | None = func() 07:02:34 ^^^^^^ 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:34 lambda: runtest_hook(item=item, **kwds), 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:34 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:34 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:34 yield 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:34 return (yield) 07:02:34 ^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:34 item.session._setupstate.setup(item) 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:34 col.setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:34 super().setup() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:34 self._request._fillfixtures() 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:34 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:34 fixturedef = self._get_active_fixturedef(argname) 07:02:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:34 fixturedef.execute(request=subrequest) 07:02:34 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:34 07:02:34 self = 07:02:34 request = > 07:02:34 07:02:34 def execute(self, request: SubRequest) -> FixtureValue: 07:02:34 """Return the value of this fixture, executing it if not cached.""" 07:02:34 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:34 # This needs to be done before checking if we have a cached value, since 07:02:34 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:34 # parametrization, they finalize themselves and fixtures depending on it 07:02:34 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:34 # See #4871 07:02:34 requested_fixtures_that_should_finalize_us = [] 07:02:34 for argname in self.argnames: 07:02:34 fixturedef = request._get_active_fixturedef(argname) 07:02:34 # Saves requested fixtures in a list so we later can add our finalizer 07:02:34 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:34 # down first. This is generally handled by SetupState, but still currently 07:02:34 # needed when this fixture is not parametrized but depends on a parametrized 07:02:34 # fixture. 07:02:34 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:34 07:02:34 # Check for (and return) cached value/exception. 07:02:34 if self.cached_result is not None: 07:02:34 request_cache_key = self.cache_key(request) 07:02:34 cache_key = self.cached_result[1] 07:02:34 try: 07:02:34 # Attempt to make a normal == check: this might fail for objects 07:02:34 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:34 cache_hit = bool(request_cache_key == cache_key) 07:02:34 except (ValueError, RuntimeError): 07:02:34 # If the comparison raises, use 'is' as fallback. 07:02:34 cache_hit = request_cache_key is cache_key 07:02:34 07:02:34 if cache_hit: 07:02:34 if self.cached_result[2] is not None: 07:02:34 exc, exc_tb = self.cached_result[2] 07:02:34 raise exc.with_traceback(exc_tb) 07:02:34 else: 07:02:34 return self.cached_result[0] 07:02:34 # We have a previous but differently parametrized fixture instance 07:02:34 # so we need to tear it down before creating a new one. 07:02:34 self.finish(request) 07:02:34 assert self.cached_result is None 07:02:34 07:02:34 # Add finalizer to requested fixtures we saved previously. 07:02:34 # We make sure to do this after checking for cached value to avoid 07:02:34 # adding our finalizer multiple times. (#12135) 07:02:34 finalizer = functools.partial(self.finish, request=request) 07:02:34 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:34 parent_fixture.addfinalizer(finalizer) 07:02:34 07:02:34 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:34 # which is executed last. 07:02:34 > assert not self._finalizers 07:02:34 ^^^^^^^^^^^^^^^^^^^^ 07:02:34 E AssertionError 07:02:34 07:02:34 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:34 =========================== short test summary info ============================ 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catalog_input_insertion 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 07:02:34 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 07:02:34 10 errors in 102.29s (0:01:42) 07:02:34 tests200: exit 1 (102.60 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=7931 07:02:34 Etests200: FAIL ✖ in 1 minute 50.15 seconds 07:02:35 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 07:02:35 EEEEEEEEEEEEEEEEEEEEEEEE [100%] 07:02:39 ==================================== ERRORS ==================================== 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_01_rdm_device_connection __ 07:02:39 07:02:39 cls = 07:02:39 07:02:39 @classmethod 07:02:39 def setUpClass(cls): 07:02:39 > cls.processes = test_utils.start_tpce() 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 07:02:39 transportpce_tests/2.2.1/test01_portmapping.py:33: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 def start_tpce(): 07:02:39 if 'NO_ODL_STARTUP' in os.environ: 07:02:39 print('No OpenDaylight instance to start!') 07:02:39 return [] 07:02:39 print('starting OpenDaylight...') 07:02:39 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:02:39 process = start_lighty() 07:02:39 else: 07:02:39 process = start_karaf() 07:02:39 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:02:39 print('OpenDaylight started !') 07:02:39 else: 07:02:39 print('OpenDaylight failed to start !') 07:02:39 shutdown_process(process) 07:02:39 for pid in process_list: 07:02:39 shutdown_process(pid) 07:02:39 > sys.exit(1) 07:02:39 E SystemExit: 1 07:02:39 07:02:39 transportpce_tests/common/test_utils.py:234: SystemExit 07:02:39 ---------------------------- Captured stdout setup ----------------------------- 07:02:39 starting OpenDaylight... 07:02:39 starting KARAF (karaf221) TransportPCE build... 07:02:39 Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:02:39 __ ERROR at setup of TestTransportPCEPortmapping.test_02_rdm_device_connected __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc7100> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 __ ERROR at setup of TestTransportPCEPortmapping.test_03_rdm_portmapping_info __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc72e0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c132db240> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_06_rdm_portmapping_SRG1_PP3_TXRX _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc7100> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_07_rdm_portmapping_SRG3_PP1_TXRX _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_08_xpdr_device_connection _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5120> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_09_xpdr_device_connected __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c06d40> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_portmapping_info __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5120> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_portmapping_XPDR2_NETWORK1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c07f60> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_13_xpdr_portmapping_XPDR1_CLIENT1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_14_xpdr_portmapping_XPDR1_CLIENT2 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_15_spdr_device_connection _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5120> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_16_spdr_device_connected __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_17_spdr_portmapping_info __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c06520> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_18_spdr_switching_pool_1 __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_19_spdr_switching_pool_2 __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c07d80> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_20_spdr_switching_pool_3 __ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5120> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_21_spdr_portmapping_mappings _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_22_spdr_portmapping_XPDR1_CLIENT1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc60c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_23_spdr_portmapping_XPDR1_NETWORK1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5f80> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_24_spdr_portmapping_XPDR2_CLIENT2 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_25_spdr_portmapping_XPDR2_NETWORK2 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10bc5f80> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_26_spdr_portmapping_XPDR3_CLIENT3 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_27_spdr_portmapping_XPDR3_NETWORK1 _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_28_spdr_device_disconnection _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c124eb060> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_29_xpdr_device_disconnected _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c904a0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_30_xpdr_device_disconnection _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_31_xpdr_device_disconnected _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c91800> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_32_xpdr_device_not_connected _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c90540> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_33_rdm_device_disconnection _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_34_rdm_device_disconnected _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c916c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 _ ERROR at setup of TestTransportPCEPortmapping.test_35_rdm_device_not_connected _ 07:02:39 07:02:39 cls = 07:02:39 func = . at 0x7f6c10c079c0> 07:02:39 when = 'setup' 07:02:39 reraise = (, ) 07:02:39 07:02:39 @classmethod 07:02:39 def from_call( 07:02:39 cls, 07:02:39 func: Callable[[], TResult], 07:02:39 when: Literal["collect", "setup", "call", "teardown"], 07:02:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:02:39 ) -> CallInfo[TResult]: 07:02:39 """Call func, wrapping the result in a CallInfo. 07:02:39 07:02:39 :param func: 07:02:39 The function to call. Called without arguments. 07:02:39 :type func: Callable[[], _pytest.runner.TResult] 07:02:39 :param when: 07:02:39 The phase in which the function is called. 07:02:39 :param reraise: 07:02:39 Exception or exceptions that shall propagate if raised by the 07:02:39 function, instead of being wrapped in the CallInfo. 07:02:39 """ 07:02:39 excinfo = None 07:02:39 instant = timing.Instant() 07:02:39 try: 07:02:39 > result: TResult | None = func() 07:02:39 ^^^^^^ 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:02:39 lambda: runtest_hook(item=item, **kwds), 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:02:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:02:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:02:39 yield 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:02:39 return (yield) 07:02:39 ^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:02:39 item.session._setupstate.setup(item) 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:02:39 col.setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:02:39 super().setup() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:02:39 self._request._fillfixtures() 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:02:39 item.funcargs[argname] = self.getfixturevalue(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:02:39 fixturedef = self._get_active_fixturedef(argname) 07:02:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:02:39 fixturedef.execute(request=subrequest) 07:02:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:02:39 07:02:39 self = 07:02:39 request = > 07:02:39 07:02:39 def execute(self, request: SubRequest) -> FixtureValue: 07:02:39 """Return the value of this fixture, executing it if not cached.""" 07:02:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:02:39 # This needs to be done before checking if we have a cached value, since 07:02:39 # if a dependent fixture has their cache invalidated, e.g. due to 07:02:39 # parametrization, they finalize themselves and fixtures depending on it 07:02:39 # (which will likely include this fixture) setting `self.cached_result = None`. 07:02:39 # See #4871 07:02:39 requested_fixtures_that_should_finalize_us = [] 07:02:39 for argname in self.argnames: 07:02:39 fixturedef = request._get_active_fixturedef(argname) 07:02:39 # Saves requested fixtures in a list so we later can add our finalizer 07:02:39 # to them, ensuring that if a requested fixture gets torn down we get torn 07:02:39 # down first. This is generally handled by SetupState, but still currently 07:02:39 # needed when this fixture is not parametrized but depends on a parametrized 07:02:39 # fixture. 07:02:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:02:39 07:02:39 # Check for (and return) cached value/exception. 07:02:39 if self.cached_result is not None: 07:02:39 request_cache_key = self.cache_key(request) 07:02:39 cache_key = self.cached_result[1] 07:02:39 try: 07:02:39 # Attempt to make a normal == check: this might fail for objects 07:02:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:02:39 cache_hit = bool(request_cache_key == cache_key) 07:02:39 except (ValueError, RuntimeError): 07:02:39 # If the comparison raises, use 'is' as fallback. 07:02:39 cache_hit = request_cache_key is cache_key 07:02:39 07:02:39 if cache_hit: 07:02:39 if self.cached_result[2] is not None: 07:02:39 exc, exc_tb = self.cached_result[2] 07:02:39 raise exc.with_traceback(exc_tb) 07:02:39 else: 07:02:39 return self.cached_result[0] 07:02:39 # We have a previous but differently parametrized fixture instance 07:02:39 # so we need to tear it down before creating a new one. 07:02:39 self.finish(request) 07:02:39 assert self.cached_result is None 07:02:39 07:02:39 # Add finalizer to requested fixtures we saved previously. 07:02:39 # We make sure to do this after checking for cached value to avoid 07:02:39 # adding our finalizer multiple times. (#12135) 07:02:39 finalizer = functools.partial(self.finish, request=request) 07:02:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:02:39 parent_fixture.addfinalizer(finalizer) 07:02:39 07:02:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:02:39 # which is executed last. 07:02:39 > assert not self._finalizers 07:02:39 ^^^^^^^^^^^^^^^^^^^^ 07:02:39 E AssertionError 07:02:39 07:02:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:02:39 =========================== short test summary info ============================ 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_rdm_portmapping_SRG1_PP3_TXRX 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_rdm_portmapping_SRG3_PP1_TXRX 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_xpdr_device_connection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_xpdr_device_connected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_portmapping_info 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_XPDR2_NETWORK1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_XPDR1_CLIENT1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_XPDR1_CLIENT2 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_15_spdr_device_connection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_16_spdr_device_connected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_17_spdr_portmapping_info 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_18_spdr_switching_pool_1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_19_spdr_switching_pool_2 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_20_spdr_switching_pool_3 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_21_spdr_portmapping_mappings 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_22_spdr_portmapping_XPDR1_CLIENT1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_23_spdr_portmapping_XPDR1_NETWORK1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_24_spdr_portmapping_XPDR2_CLIENT2 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_25_spdr_portmapping_XPDR2_NETWORK2 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_26_spdr_portmapping_XPDR3_CLIENT3 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_27_spdr_portmapping_XPDR3_NETWORK1 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_28_spdr_device_disconnection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_29_xpdr_device_disconnected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_30_xpdr_device_disconnection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_31_xpdr_device_disconnected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_32_xpdr_device_not_connected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_33_rdm_device_disconnection 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_34_rdm_device_disconnected 07:02:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_35_rdm_device_not_connected 07:02:39 35 errors in 107.25s (0:01:47) 07:02:39 tests221: exit 1 (107.58 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=7920 07:02:40 tests221: FAIL ✖ in 1 minute 55.05 seconds 07:02:40 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 07:02:43 tests71: freeze> python -m pip freeze --all 07:02:43 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:02:43 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 07:02:43 using environment variables from ./karaf71.env 07:02:43 pytest -q transportpce_tests/7.1/test01_portmapping.py 07:02:46 tests_hybrid: freeze> python -m pip freeze --all 07:02:47 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.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:02:47 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 07:02:47 using environment variables from ./karaf221.env 07:02:47 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 07:04:24 EEEEEEEEEEEE [100%] 07:04:26 ==================================== ERRORS ==================================== 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_01_xpdr_device_connection _ 07:04:26 07:04:26 cls = 07:04:26 07:04:26 @classmethod 07:04:26 def setUpClass(cls): 07:04:26 > cls.processes = test_utils.start_tpce() 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 07:04:26 transportpce_tests/7.1/test01_portmapping.py:32: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 def start_tpce(): 07:04:26 if 'NO_ODL_STARTUP' in os.environ: 07:04:26 print('No OpenDaylight instance to start!') 07:04:26 return [] 07:04:26 print('starting OpenDaylight...') 07:04:26 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:04:26 process = start_lighty() 07:04:26 else: 07:04:26 process = start_karaf() 07:04:26 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:04:26 print('OpenDaylight started !') 07:04:26 else: 07:04:26 print('OpenDaylight failed to start !') 07:04:26 shutdown_process(process) 07:04:26 for pid in process_list: 07:04:26 shutdown_process(pid) 07:04:26 > sys.exit(1) 07:04:26 E SystemExit: 1 07:04:26 07:04:26 transportpce_tests/common/test_utils.py:234: SystemExit 07:04:26 ---------------------------- Captured stdout setup ----------------------------- 07:04:26 starting OpenDaylight... 07:04:26 starting KARAF (karaf71) TransportPCE build... 07:04:26 Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_02_xpdr_device_connected __ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb736b774c0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_portmapping_info __ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445fa60> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_04_tpdr_portmapping_NETWORK1 _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb735d86fc0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_05_tpdr_portmapping_CLIENT1 _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb736b772e0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK1 _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445f7e0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb735d86fc0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 ___ ERROR at setup of TestTransportPCEPortmapping.test_08_check_mccapprofile ___ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445fa60> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 __ ERROR at setup of TestTransportPCEPortmapping.test_09_mpdr_switching_pool ___ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445d120> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445f7e0> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_device_disconnected _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445f600> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_device_not_connected _ 07:04:26 07:04:26 cls = 07:04:26 func = . at 0x7fb73445d120> 07:04:26 when = 'setup' 07:04:26 reraise = (, ) 07:04:26 07:04:26 @classmethod 07:04:26 def from_call( 07:04:26 cls, 07:04:26 func: Callable[[], TResult], 07:04:26 when: Literal["collect", "setup", "call", "teardown"], 07:04:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:26 ) -> CallInfo[TResult]: 07:04:26 """Call func, wrapping the result in a CallInfo. 07:04:26 07:04:26 :param func: 07:04:26 The function to call. Called without arguments. 07:04:26 :type func: Callable[[], _pytest.runner.TResult] 07:04:26 :param when: 07:04:26 The phase in which the function is called. 07:04:26 :param reraise: 07:04:26 Exception or exceptions that shall propagate if raised by the 07:04:26 function, instead of being wrapped in the CallInfo. 07:04:26 """ 07:04:26 excinfo = None 07:04:26 instant = timing.Instant() 07:04:26 try: 07:04:26 > result: TResult | None = func() 07:04:26 ^^^^^^ 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:26 lambda: runtest_hook(item=item, **kwds), 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:26 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:26 yield 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:26 return (yield) 07:04:26 ^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:26 item.session._setupstate.setup(item) 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:26 col.setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:26 super().setup() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:26 self._request._fillfixtures() 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:26 fixturedef = self._get_active_fixturedef(argname) 07:04:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:26 fixturedef.execute(request=subrequest) 07:04:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:26 07:04:26 self = 07:04:26 request = > 07:04:26 07:04:26 def execute(self, request: SubRequest) -> FixtureValue: 07:04:26 """Return the value of this fixture, executing it if not cached.""" 07:04:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:26 # This needs to be done before checking if we have a cached value, since 07:04:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:26 # parametrization, they finalize themselves and fixtures depending on it 07:04:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:26 # See #4871 07:04:26 requested_fixtures_that_should_finalize_us = [] 07:04:26 for argname in self.argnames: 07:04:26 fixturedef = request._get_active_fixturedef(argname) 07:04:26 # Saves requested fixtures in a list so we later can add our finalizer 07:04:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:26 # down first. This is generally handled by SetupState, but still currently 07:04:26 # needed when this fixture is not parametrized but depends on a parametrized 07:04:26 # fixture. 07:04:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:26 07:04:26 # Check for (and return) cached value/exception. 07:04:26 if self.cached_result is not None: 07:04:26 request_cache_key = self.cache_key(request) 07:04:26 cache_key = self.cached_result[1] 07:04:26 try: 07:04:26 # Attempt to make a normal == check: this might fail for objects 07:04:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:26 cache_hit = bool(request_cache_key == cache_key) 07:04:26 except (ValueError, RuntimeError): 07:04:26 # If the comparison raises, use 'is' as fallback. 07:04:26 cache_hit = request_cache_key is cache_key 07:04:26 07:04:26 if cache_hit: 07:04:26 if self.cached_result[2] is not None: 07:04:26 exc, exc_tb = self.cached_result[2] 07:04:26 raise exc.with_traceback(exc_tb) 07:04:26 else: 07:04:26 return self.cached_result[0] 07:04:26 # We have a previous but differently parametrized fixture instance 07:04:26 # so we need to tear it down before creating a new one. 07:04:26 self.finish(request) 07:04:26 assert self.cached_result is None 07:04:26 07:04:26 # Add finalizer to requested fixtures we saved previously. 07:04:26 # We make sure to do this after checking for cached value to avoid 07:04:26 # adding our finalizer multiple times. (#12135) 07:04:26 finalizer = functools.partial(self.finish, request=request) 07:04:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:26 parent_fixture.addfinalizer(finalizer) 07:04:26 07:04:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:26 # which is executed last. 07:04:26 > assert not self._finalizers 07:04:26 ^^^^^^^^^^^^^^^^^^^^ 07:04:26 E AssertionError 07:04:26 07:04:26 ../.tox/tests71/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:26 =========================== short test summary info ============================ 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_xpdr_device_connection 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_xpdr_device_connected 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_portmapping_info 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_tpdr_portmapping_NETWORK1 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_tpdr_portmapping_CLIENT1 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK1 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_check_mccapprofile 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_mpdr_switching_pool 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_device_disconnected 07:04:26 ERROR transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_device_not_connected 07:04:26 12 errors in 102.57s (0:01:42) 07:04:26 tests71: exit 1 (102.86 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=8060 07:04:27 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 07:04:38 ==================================== ERRORS ==================================== 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_01_connect_xpdrA _ 07:04:38 07:04:38 cls = 07:04:38 07:04:38 @classmethod 07:04:38 def setUpClass(cls): 07:04:38 > cls.processes = test_utils.start_tpce() 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 07:04:38 transportpce_tests/hybrid/test01_device_change_notifications.py:76: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 def start_tpce(): 07:04:38 if 'NO_ODL_STARTUP' in os.environ: 07:04:38 print('No OpenDaylight instance to start!') 07:04:38 return [] 07:04:38 print('starting OpenDaylight...') 07:04:38 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:04:38 process = start_lighty() 07:04:38 else: 07:04:38 process = start_karaf() 07:04:38 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:04:38 print('OpenDaylight started !') 07:04:38 else: 07:04:38 print('OpenDaylight failed to start !') 07:04:38 shutdown_process(process) 07:04:38 for pid in process_list: 07:04:38 shutdown_process(pid) 07:04:38 > sys.exit(1) 07:04:38 E SystemExit: 1 07:04:38 07:04:38 transportpce_tests/common/test_utils.py:234: SystemExit 07:04:38 ---------------------------- Captured stdout setup ----------------------------- 07:04:38 starting OpenDaylight... 07:04:38 starting KARAF (karaf221) TransportPCE build... 07:04:38 Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_02_connect_xpdrC _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd11998aa20> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_03_connect_rdmA _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dbf60> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_04_connect_rdmC _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd11c08af20> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_05_connect_xpdrA_N1_to_roadmA_PP1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd119989440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_06_connect_roadmA_PP1_to_xpdrA_N1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd11b2f53a0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_07_connect_xpdrC_N1_to_roadmC_PP1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd119989440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_08_connect_roadmC_PP1_to_xpdrC_N1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da700> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_09_add_omsAttributes_ROADMA_ROADMC _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da980> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_10_add_omsAttributes_ROADMC_ROADMA _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da700> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_11_create_eth_service1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd119989440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_12_get_eth_service1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1940> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_13_change_status_line_port_xpdra _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da700> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd119989440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1da0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd119989440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_17_restore_status_line_port_xpdra _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199898a0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_18_check_update_portmapping_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da8e0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_19_check_update_openroadm_topo_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199898a0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_20_check_update_service1_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_21_change_status_port_roadma_srg _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199da8e0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_22_check_update_portmapping _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_23_check_update_openroadm_topo _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b20c0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_24_restore_status_port_roadma_srg _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_25_check_update_portmapping_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b20c0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_26_check_update_openroadm_topo_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b0860> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_27_check_update_service1_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_28_change_status_line_port_roadma_deg _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1440> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_29_check_update_portmapping _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1260> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_30_check_update_openroadm_topo _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_31_restore_status_line_port_roadma_srg _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b16c0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_32_check_update_portmapping_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1800> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_33_check_update_openroadm_topo_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_34_check_update_service1_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1d00> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_35_change_status_line_port_xpdrc _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1800> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_36_check_update_portmapping _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_37_check_update_openroadm_topo _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1f80> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_38_restore_status_line_port_xpdrc _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_39_check_update_portmapping_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b0ea0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_40_check_update_openroadm_topo_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1a80> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_41_check_update_service1_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_42_change_status_port_roadma_srg _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1a80> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_43_check_update_portmapping _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b2a20> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_44_check_update_openroadm_topo _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_45_check_update_service1_ok _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b19e0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_46_delete_eth_service1 _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1bc0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_47_disconnect_xponders_from_roadm _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_48_disconnect_XPDRA _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b1f80> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_49_disconnect_XPDRC _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b25c0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_50_disconnect_ROADMA _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1199dad40> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_51_disconnect_ROADMC _ 07:04:38 07:04:38 cls = 07:04:38 func = . at 0x7fd1193b22a0> 07:04:38 when = 'setup' 07:04:38 reraise = (, ) 07:04:38 07:04:38 @classmethod 07:04:38 def from_call( 07:04:38 cls, 07:04:38 func: Callable[[], TResult], 07:04:38 when: Literal["collect", "setup", "call", "teardown"], 07:04:38 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:04:38 ) -> CallInfo[TResult]: 07:04:38 """Call func, wrapping the result in a CallInfo. 07:04:38 07:04:38 :param func: 07:04:38 The function to call. Called without arguments. 07:04:38 :type func: Callable[[], _pytest.runner.TResult] 07:04:38 :param when: 07:04:38 The phase in which the function is called. 07:04:38 :param reraise: 07:04:38 Exception or exceptions that shall propagate if raised by the 07:04:38 function, instead of being wrapped in the CallInfo. 07:04:38 """ 07:04:38 excinfo = None 07:04:38 instant = timing.Instant() 07:04:38 try: 07:04:38 > result: TResult | None = func() 07:04:38 ^^^^^^ 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:04:38 lambda: runtest_hook(item=item, **kwds), 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:04:38 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:04:38 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:04:38 yield 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:04:38 return (yield) 07:04:38 ^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:04:38 item.session._setupstate.setup(item) 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:04:38 col.setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:04:38 super().setup() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:04:38 self._request._fillfixtures() 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:04:38 item.funcargs[argname] = self.getfixturevalue(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:04:38 fixturedef = self._get_active_fixturedef(argname) 07:04:38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:04:38 fixturedef.execute(request=subrequest) 07:04:38 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:04:38 07:04:38 self = 07:04:38 request = > 07:04:38 07:04:38 def execute(self, request: SubRequest) -> FixtureValue: 07:04:38 """Return the value of this fixture, executing it if not cached.""" 07:04:38 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:04:38 # This needs to be done before checking if we have a cached value, since 07:04:38 # if a dependent fixture has their cache invalidated, e.g. due to 07:04:38 # parametrization, they finalize themselves and fixtures depending on it 07:04:38 # (which will likely include this fixture) setting `self.cached_result = None`. 07:04:38 # See #4871 07:04:38 requested_fixtures_that_should_finalize_us = [] 07:04:38 for argname in self.argnames: 07:04:38 fixturedef = request._get_active_fixturedef(argname) 07:04:38 # Saves requested fixtures in a list so we later can add our finalizer 07:04:38 # to them, ensuring that if a requested fixture gets torn down we get torn 07:04:38 # down first. This is generally handled by SetupState, but still currently 07:04:38 # needed when this fixture is not parametrized but depends on a parametrized 07:04:38 # fixture. 07:04:38 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:04:38 07:04:38 # Check for (and return) cached value/exception. 07:04:38 if self.cached_result is not None: 07:04:38 request_cache_key = self.cache_key(request) 07:04:38 cache_key = self.cached_result[1] 07:04:38 try: 07:04:38 # Attempt to make a normal == check: this might fail for objects 07:04:38 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:04:38 cache_hit = bool(request_cache_key == cache_key) 07:04:38 except (ValueError, RuntimeError): 07:04:38 # If the comparison raises, use 'is' as fallback. 07:04:38 cache_hit = request_cache_key is cache_key 07:04:38 07:04:38 if cache_hit: 07:04:38 if self.cached_result[2] is not None: 07:04:38 exc, exc_tb = self.cached_result[2] 07:04:38 raise exc.with_traceback(exc_tb) 07:04:38 else: 07:04:38 return self.cached_result[0] 07:04:38 # We have a previous but differently parametrized fixture instance 07:04:38 # so we need to tear it down before creating a new one. 07:04:38 self.finish(request) 07:04:38 assert self.cached_result is None 07:04:38 07:04:38 # Add finalizer to requested fixtures we saved previously. 07:04:38 # We make sure to do this after checking for cached value to avoid 07:04:38 # adding our finalizer multiple times. (#12135) 07:04:38 finalizer = functools.partial(self.finish, request=request) 07:04:38 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:04:38 parent_fixture.addfinalizer(finalizer) 07:04:38 07:04:38 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:04:38 # which is executed last. 07:04:38 > assert not self._finalizers 07:04:38 ^^^^^^^^^^^^^^^^^^^^ 07:04:38 E AssertionError 07:04:38 07:04:38 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:04:38 =========================== short test summary info ============================ 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_01_connect_xpdrA 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_02_connect_xpdrC 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_03_connect_rdmA 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_04_connect_rdmC 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_05_connect_xpdrA_N1_to_roadmA_PP1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_06_connect_roadmA_PP1_to_xpdrA_N1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_07_connect_xpdrC_N1_to_roadmC_PP1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_08_connect_roadmC_PP1_to_xpdrC_N1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_09_add_omsAttributes_ROADMA_ROADMC 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_10_add_omsAttributes_ROADMC_ROADMA 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_11_create_eth_service1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_eth_service1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_13_change_status_line_port_xpdra 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_17_restore_status_line_port_xpdra 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_portmapping_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_19_check_update_openroadm_topo_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_service1_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_21_change_status_port_roadma_srg 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_22_check_update_portmapping 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_23_check_update_openroadm_topo 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_24_restore_status_port_roadma_srg 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_portmapping_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_26_check_update_openroadm_topo_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_service1_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_28_change_status_line_port_roadma_deg 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_29_check_update_portmapping 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_30_check_update_openroadm_topo 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_31_restore_status_line_port_roadma_srg 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_portmapping_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_33_check_update_openroadm_topo_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_service1_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_35_change_status_line_port_xpdrc 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_36_check_update_portmapping 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_37_check_update_openroadm_topo 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_38_restore_status_line_port_xpdrc 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_39_check_update_portmapping_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_40_check_update_openroadm_topo_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_service1_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_42_change_status_port_roadma_srg 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_43_check_update_portmapping 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_44_check_update_openroadm_topo 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_service1_ok 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_delete_eth_service1 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_47_disconnect_xponders_from_roadm 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_48_disconnect_XPDRA 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_49_disconnect_XPDRC 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_50_disconnect_ROADMA 07:04:38 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_51_disconnect_ROADMC 07:04:38 51 errors in 110.92s (0:01:50) 07:04:38 tests71: FAIL ✖ in 1 minute 51.34 seconds 07:04:38 tests_hybrid: exit 1 (111.26 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=8076 07:04:38 buildcontroller: FAIL code 1 (11.24=setup[10.14]+cmd[1.10] seconds) 07:04:38 sims: OK (10.53=setup[7.61]+cmd[2.92] seconds) 07:04:38 testsPCE: FAIL code 1 (173.80=setup[49.35]+cmd[124.45] seconds) 07:04:38 build_karaf_tests221: FAIL code 127 (7.68=setup[7.68]+cmd[0.00] seconds) 07:04:38 tests_tapi: FAIL code 1 (119.03=setup[8.36]+cmd[110.67] seconds) 07:04:38 tests221: FAIL code 1 (115.05=setup[7.47]+cmd[107.58] seconds) 07:04:38 build_karaf_tests71: FAIL code 127 (7.50=setup[7.49]+cmd[0.01] seconds) 07:04:38 tests71: FAIL code 1 (111.34=setup[8.48]+cmd[102.86] seconds) 07:04:38 build_karaf_tests200: FAIL code 127 (7.81=setup[7.81]+cmd[0.00] seconds) 07:04:38 tests200: FAIL code 1 (110.15=setup[7.55]+cmd[102.60] seconds) 07:04:38 tests_hybrid: FAIL code 1 (118.49=setup[7.23]+cmd[111.26] seconds) 07:04:38 buildlighty: FAIL code 9 (7.83=setup[7.82]+cmd[0.01] seconds) 07:04:38 docs: OK (20.17=setup[17.52]+cmd[2.65] seconds) 07:04:38 docs-linkcheck: OK (22.17=setup[17.26]+cmd[4.92] seconds) 07:04:38 checkbashisms: OK (3.15=setup[1.76]+cmd[0.02,0.11,1.27] seconds) 07:04:38 pre-commit: OK (61.33=setup[3.44]+cmd[0.00,0.00,48.64,9.26] seconds) 07:04:38 pylint: FAIL code 1 (24.13=setup[4.59]+cmd[19.55] seconds) 07:04:38 evaluation failed :( (562.08 seconds) 07:04:38 + tox_status=1 07:04:38 + echo '---> Completed tox runs' 07:04:38 ---> Completed tox runs 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/build_karaf_tests200/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=build_karaf_tests200 07:04:38 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/build_karaf_tests221/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=build_karaf_tests221 07:04:38 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/build_karaf_tests71/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=build_karaf_tests71 07:04:38 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/buildcontroller/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=buildcontroller 07:04:38 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/buildlighty/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=buildlighty 07:04:38 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/checkbashisms/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=checkbashisms 07:04:38 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/docs-linkcheck/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=docs-linkcheck 07:04:38 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/docs/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=docs 07:04:38 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/pre-commit/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=pre-commit 07:04:38 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/pylint/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=pylint 07:04:38 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/sims/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=sims 07:04:38 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/tests200/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=tests200 07:04:38 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/tests221/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=tests221 07:04:38 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 07:04:38 + for i in .tox/*/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 ++ echo .tox/tests71/log 07:04:38 + tox_env=tests71 07:04:38 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/testsPCE/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=testsPCE 07:04:38 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 07:04:38 + for i in .tox/*/log 07:04:38 ++ echo .tox/tests_hybrid/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 + tox_env=tests_hybrid 07:04:38 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 07:04:38 + for i in .tox/*/log 07:04:38 ++ awk -F/ '{print $2}' 07:04:38 ++ echo .tox/tests_tapi/log 07:04:38 + tox_env=tests_tapi 07:04:38 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 07:04:38 + DOC_DIR=docs/_build/html 07:04:38 + [[ -d docs/_build/html ]] 07:04:38 + echo '---> Archiving generated docs' 07:04:38 ---> Archiving generated docs 07:04:38 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 07:04:38 + echo '---> tox-run.sh ends' 07:04:38 ---> tox-run.sh ends 07:04:38 + test 1 -eq 0 07:04:38 + exit 1 07:04:38 ++ '[' 1 = 1 ']' 07:04:38 ++ '[' -x /usr/bin/clear_console ']' 07:04:38 ++ /usr/bin/clear_console -q 07:04:38 Build step 'Execute shell' marked build as failure 07:04:38 $ ssh-agent -k 07:04:38 unset SSH_AUTH_SOCK; 07:04:38 unset SSH_AGENT_PID; 07:04:38 echo Agent pid 5097 killed; 07:04:38 [ssh-agent] Stopped. 07:04:38 [PostBuildScript] - [INFO] Executing post build scripts. 07:04:38 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13400708080931690442.sh 07:04:38 ---> sysstat.sh 07:04:38 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins803248558883382020.sh 07:04:38 ---> package-listing.sh 07:04:38 + '[' -f /etc/os-release ']' 07:04:38 + . /etc/os-release 07:04:38 ++ PRETTY_NAME='Ubuntu 22.04.5 LTS' 07:04:38 ++ NAME=Ubuntu 07:04:38 ++ VERSION_ID=22.04 07:04:38 ++ VERSION='22.04.5 LTS (Jammy Jellyfish)' 07:04:38 ++ VERSION_CODENAME=jammy 07:04:38 ++ ID=ubuntu 07:04:38 ++ ID_LIKE=debian 07:04:38 ++ HOME_URL=https://www.ubuntu.com/ 07:04:38 ++ SUPPORT_URL=https://help.ubuntu.com/ 07:04:38 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 07:04:38 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 07:04:38 ++ UBUNTU_CODENAME=jammy 07:04:38 + case " ${ID:-} ${ID_LIKE:-} " in 07:04:38 + OS_FAMILY=debian 07:04:38 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 07:04:38 + START_PACKAGES=/tmp/packages_start.txt 07:04:38 + END_PACKAGES=/tmp/packages_end.txt 07:04:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:04:38 + PACKAGES=/tmp/packages_start.txt 07:04:38 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 07:04:38 + PACKAGES=/tmp/packages_end.txt 07:04:38 + case "${OS_FAMILY}" in 07:04:38 + dpkg -l 07:04:38 + grep '^ii' 07:04:38 + '[' -f /tmp/packages_start.txt ']' 07:04:38 + '[' -f /tmp/packages_end.txt ']' 07:04:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:04:38 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 07:04:38 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 07:04:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 07:04:38 + exit 0 07:04:38 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8284436429194576076.sh 07:04:38 ---> capture-instance-metadata.sh 07:04:38 Setup pyenv: 07:04:38 system 07:04:38 3.8.20 07:04:38 3.9.20 07:04:38 3.10.15 07:04:38 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:04:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jKnX from file:/tmp/.os_lf_venv 07:04:38 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:04:41 lf-activate-venv(): INFO: Installing additional packages: lftools 07:04:55 lf-activate-venv(): INFO: Adding /tmp/venv-jKnX/bin to PATH 07:04:55 INFO: Running in OpenStack, capturing instance metadata 07:04:56 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2372366681730229857.sh 07:04:56 provisioning config files... 07:04:56 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #6325 07:04:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config15915778224280163741tmp 07:04:56 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 07:04:56 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 07:04:56 provisioning config files... 07:04:57 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 07:04:57 [EnvInject] - Injecting environment variables from a build step. 07:04:57 [EnvInject] - Injecting as environment variables the properties content 07:04:57 SERVER_ID=logs 07:04:57 07:04:57 [EnvInject] - Variables injected successfully. 07:04:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins11864590305196930476.sh 07:04:57 ---> create-netrc.sh 07:04:57 WARN: Log server credential not found. 07:04:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10262102280909295057.sh 07:04:57 ---> python-tools-install.sh 07:04:57 Setup pyenv: 07:04:57 system 07:04:57 3.8.20 07:04:57 3.9.20 07:04:57 3.10.15 07:04:57 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:04:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jKnX from file:/tmp/.os_lf_venv 07:04:57 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:04:59 lf-activate-venv(): INFO: Installing additional packages: lftools 07:05:09 lf-activate-venv(): INFO: Adding /tmp/venv-jKnX/bin to PATH 07:05:09 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins13363745346002949897.sh 07:05:09 ---> uv-install.sh 07:05:09 uv 0.13.1 is already installed 07:05:09 uvx 0.13.1 (x86_64-unknown-linux-gnu) 07:05:09 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9192874645547469558.sh 07:05:09 ---> sudo-logs.sh 07:05:09 Archiving 'sudo' log.. 07:05:09 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15207394431295506427.sh 07:05:09 ---> job-cost.sh 07:05:09 INFO: Activating Python virtual environment... 07:05:09 Setup pyenv: 07:05:09 system 07:05:09 3.8.20 07:05:09 3.9.20 07:05:09 3.10.15 07:05:09 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:05:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jKnX from file:/tmp/.os_lf_venv 07:05:09 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:05:11 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 07:05:19 lf-activate-venv(): INFO: Adding /tmp/venv-jKnX/bin to PATH 07:05:19 INFO: No stack-cost file found 07:05:19 INFO: Instance uptime: 32682s 07:05:19 INFO: Fetching instance metadata (attempt 1 of 3)... 07:05:19 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 07:05:19 INFO: Successfully fetched instance metadata 07:05:19 INFO: Instance type: v3-standard-4 07:05:19 INFO: Retrieving pricing info for: v3-standard-4 07:05:19 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 07:05:19 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=32682 07:05:20 INFO: Successfully fetched Vexxhost pricing API 07:05:20 INFO: Retrieved cost: 1.1 07:05:20 INFO: Retrieved resource: v3-standard-4 07:05:20 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 07:05:20 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 07:05:20 INFO: Successfully archived job cost data 07:05:20 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,6325,2026-10-15 07:05:20,v3-standard-4,32682,1.10,0.00,FAILURE 07:05:20 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11113159095638300858.sh 07:05:20 ---> logs-deploy.sh 07:05:20 Setup pyenv: 07:05:20 system 07:05:20 3.8.20 07:05:20 3.9.20 07:05:20 3.10.15 07:05:20 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:05:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jKnX from file:/tmp/.os_lf_venv 07:05:20 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:05:22 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 07:05:32 lf-activate-venv(): INFO: Adding /tmp/venv-jKnX/bin to PATH 07:05:32 WARNING: Nexus logging server not set 07:05:32 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/6325/ 07:05:32 INFO: archiving logs to S3 07:05:33 ---> uname -a: 07:05:33 Linux prd-ubuntu2204-docker-4c-16g-65113 5.15.0-198-generic #208-Ubuntu SMP Fri Sep 4 10:22:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 07:05:33 07:05:33 07:05:33 ---> lscpu: 07:05:33 Architecture: x86_64 07:05:33 CPU op-mode(s): 32-bit, 64-bit 07:05:33 Address sizes: 40 bits physical, 48 bits virtual 07:05:33 Byte Order: Little Endian 07:05:33 CPU(s): 4 07:05:33 On-line CPU(s) list: 0-3 07:05:33 Vendor ID: AuthenticAMD 07:05:33 Model name: AMD EPYC-Rome Processor 07:05:33 CPU family: 23 07:05:33 Model: 49 07:05:33 Thread(s) per core: 1 07:05:33 Core(s) per socket: 1 07:05:33 Socket(s): 4 07:05:33 Stepping: 0 07:05:33 BogoMIPS: 5599.99 07:05:33 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 07:05:33 Virtualization: AMD-V 07:05:33 Hypervisor vendor: KVM 07:05:33 Virtualization type: full 07:05:33 L1d cache: 128 KiB (4 instances) 07:05:33 L1i cache: 128 KiB (4 instances) 07:05:33 L2 cache: 2 MiB (4 instances) 07:05:33 L3 cache: 64 MiB (4 instances) 07:05:33 NUMA node(s): 1 07:05:33 NUMA node0 CPU(s): 0-3 07:05:33 Vulnerability Gather data sampling: Not affected 07:05:33 Vulnerability Indirect target selection: Not affected 07:05:33 Vulnerability Itlb multihit: Not affected 07:05:33 Vulnerability L1tf: Not affected 07:05:33 Vulnerability Mds: Not affected 07:05:33 Vulnerability Meltdown: Not affected 07:05:33 Vulnerability Mmio stale data: Not affected 07:05:33 Vulnerability Reg file data sampling: Not affected 07:05:33 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 07:05:33 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 07:05:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:05:33 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:05:33 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 07:05:33 Vulnerability Srbds: Not affected 07:05:33 Vulnerability Tsa: Not affected 07:05:33 Vulnerability Tsx async abort: Not affected 07:05:33 Vulnerability Vmscape: Not affected 07:05:33 07:05:33 07:05:33 ---> nproc: 07:05:33 4 07:05:33 07:05:33 07:05:33 ---> df -h: 07:05:33 Filesystem Size Used Avail Use% Mounted on 07:05:33 tmpfs 1.6G 1.1M 1.6G 1% /run 07:05:33 /dev/vda1 78G 12G 67G 15% / 07:05:33 tmpfs 7.9G 0 7.9G 0% /dev/shm 07:05:33 tmpfs 5.0M 0 5.0M 0% /run/lock 07:05:33 /dev/vda15 105M 6.1M 99M 6% /boot/efi 07:05:33 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 07:05:33 07:05:33 07:05:33 ---> free -m: 07:05:33 total used free shared buff/cache available 07:05:33 Mem: 15989 723 9316 4 5949 14922 07:05:33 Swap: 1023 0 1023 07:05:33 07:05:33 07:05:33 ---> ip addr: 07:05:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 07:05:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:05:33 inet 127.0.0.1/8 scope host lo 07:05:33 valid_lft forever preferred_lft forever 07:05:33 inet6 ::1/128 scope host 07:05:33 valid_lft forever preferred_lft forever 07:05:33 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 07:05:33 link/ether fa:16:3e:84:cb:56 brd ff:ff:ff:ff:ff:ff 07:05:33 altname enp0s3 07:05:33 inet 10.30.171.90/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 07:05:33 valid_lft 53712sec preferred_lft 53712sec 07:05:33 inet6 fe80::f816:3eff:fe84:cb56/64 scope link 07:05:33 valid_lft forever preferred_lft forever 07:05:33 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 07:05:33 link/ether c6:65:70:0e:83:33 brd ff:ff:ff:ff:ff:ff 07:05:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:05:33 valid_lft forever preferred_lft forever 07:05:33 inet6 fe80::c465:70ff:fe0e:8333/64 scope link 07:05:33 valid_lft forever preferred_lft forever 07:05:33 07:05:33 07:05:33 ---> sar -b -r -n DEV: 07:05:33 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-65113) 10/15/26 _x86_64_ (4 CPU) 07:05:33 07:05:33 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:05:33 00:10:01 1.87 0.19 1.68 0.01 4.84 24.50 0.31 07:05:33 00:20:00 1.48 0.00 1.48 0.00 0.00 16.55 0.00 07:05:33 00:30:01 1.47 0.00 1.47 0.00 0.00 16.19 0.00 07:05:33 00:40:01 1.47 0.00 1.47 0.00 0.00 16.04 0.00 07:05:33 00:50:01 13.72 11.90 1.81 0.01 132.80 31.57 0.11 07:05:33 01:00:01 1.54 0.00 1.54 0.00 0.00 16.51 0.00 07:05:33 01:10:01 1.43 0.00 1.43 0.00 0.00 15.44 0.01 07:05:33 01:20:01 1.51 0.00 1.51 0.00 0.00 16.15 0.00 07:05:33 01:30:01 1.48 0.00 1.48 0.00 0.11 16.19 0.00 07:05:33 01:40:01 1.47 0.00 1.47 0.00 0.00 15.73 0.00 07:05:33 01:50:01 1.52 0.00 1.52 0.00 0.00 16.49 0.00 07:05:33 02:00:01 1.64 0.02 1.62 0.00 1.64 17.95 4.40 07:05:33 02:10:01 1.50 0.00 1.50 0.00 0.00 16.29 0.00 07:05:33 02:20:01 1.49 0.00 1.49 0.00 0.00 16.21 0.00 07:05:33 02:30:01 1.50 0.00 1.50 0.00 0.00 16.40 0.00 07:05:33 02:40:01 1.54 0.00 1.54 0.00 0.00 16.76 0.12 07:05:33 02:50:01 1.52 0.00 1.52 0.00 0.00 16.64 0.00 07:05:33 03:00:01 1.51 0.00 1.51 0.00 0.00 16.33 0.00 07:05:33 03:10:01 1.53 0.00 1.53 0.00 0.00 16.61 0.00 07:05:33 03:20:01 1.54 0.00 1.54 0.00 0.00 16.71 0.00 07:05:33 03:30:01 1.51 0.00 1.51 0.00 0.00 16.29 0.00 07:05:33 03:40:01 1.52 0.00 1.52 0.00 0.00 16.63 0.00 07:05:33 03:50:01 1.60 0.00 1.60 0.00 0.00 17.10 0.00 07:05:33 04:00:01 1.64 0.00 1.64 0.00 0.00 17.43 0.00 07:05:33 04:10:01 1.67 0.00 1.67 0.00 0.00 17.61 0.00 07:05:33 04:20:01 1.65 0.00 1.65 0.00 0.00 17.41 0.00 07:05:33 04:30:01 1.64 0.00 1.64 0.00 0.00 17.25 0.00 07:05:33 04:40:01 1.63 0.00 1.63 0.00 0.00 17.24 0.00 07:05:33 04:50:01 1.67 0.00 1.67 0.00 0.00 17.36 0.00 07:05:33 05:00:01 1.75 0.00 1.75 0.00 0.00 18.32 0.00 07:05:33 05:10:01 1.70 0.00 1.70 0.00 0.00 17.67 0.00 07:05:33 05:20:01 1.75 0.00 1.75 0.00 0.00 18.12 0.00 07:05:33 05:30:01 1.71 0.00 1.71 0.00 0.00 17.75 0.00 07:05:33 05:40:01 1.73 0.00 1.73 0.00 0.00 18.09 0.00 07:05:33 05:50:01 1.71 0.00 1.71 0.00 0.00 18.09 0.00 07:05:33 06:00:01 1.71 0.00 1.71 0.00 0.00 17.89 0.00 07:05:33 06:10:01 1.67 0.00 1.67 0.00 0.00 17.67 0.00 07:05:33 06:20:01 1.75 0.00 1.75 0.00 0.00 18.12 0.00 07:05:33 06:30:23 6.06 0.19 5.35 0.52 197.43 1014.91 15749.34 07:05:33 06:40:01 1.72 0.00 1.72 0.00 0.00 17.69 0.00 07:05:33 06:50:01 1.78 0.00 1.78 0.00 0.00 18.28 0.00 07:05:33 07:00:01 82.45 6.61 72.28 3.56 730.36 10304.80 2212.97 07:05:33 Average: 3.93 0.45 3.38 0.10 25.58 287.15 441.79 07:05:33 07:05:33 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:05:33 00:10:01 13625284 15521884 494056 3.02 65440 2057880 1162720 6.67 227300 2265040 4 07:05:33 00:20:00 13624840 15522172 493844 3.02 66032 2058020 1162784 6.67 227884 2265088 8 07:05:33 00:30:01 13618540 15516496 499504 3.05 66624 2058028 1162784 6.67 228488 2262844 16 07:05:33 00:40:01 13618484 15517024 498988 3.05 67184 2058044 1162784 6.67 229048 2262528 4 07:05:33 00:50:01 13572916 15521536 486508 2.97 70464 2097740 1162972 6.68 267292 2267296 4 07:05:33 01:00:01 13571696 15520860 487120 2.98 71032 2097752 1163036 6.68 267804 2267372 4 07:05:33 01:10:01 13569964 15519820 488152 2.98 71536 2097896 1163100 6.68 268340 2267700 4 07:05:33 01:20:01 13568732 15519180 488772 2.99 72092 2097900 1160980 6.66 268912 2265996 8 07:05:33 01:30:01 13567336 15518396 489572 2.99 72680 2097944 1160980 6.66 269468 2266216 8 07:05:33 01:40:01 13566080 15517812 490236 2.99 73224 2098076 1160980 6.66 269996 2266380 8 07:05:33 01:50:01 13565324 15517732 490332 2.99 73824 2098088 1160980 6.66 270648 2266416 204 07:05:33 02:00:01 13564408 15517840 490148 2.99 74388 2098592 1160980 6.66 271372 2266724 192 07:05:33 02:10:01 13563756 15517888 490108 2.99 74948 2098728 1160980 6.66 271932 2267072 200 07:05:33 02:20:01 13562748 15517516 490500 3.00 75508 2098736 1160980 6.66 272536 2266932 8 07:05:33 02:30:01 13562552 15517932 490076 2.99 76096 2098748 1160980 6.66 273124 2267156 8 07:05:33 02:40:01 13561796 15517768 490276 2.99 76684 2098744 1160980 6.66 273712 2266900 4 07:05:33 02:50:01 13559528 15516140 491836 3.00 77256 2098828 1160980 6.66 274268 2266996 8 07:05:33 03:00:01 13556256 15513576 494432 3.02 77808 2098964 1160980 6.66 274836 2267156 8 07:05:33 03:10:01 13555752 15513764 494196 3.02 78388 2099104 1160980 6.66 275376 2267496 8 07:05:33 03:20:01 13555248 15514008 493948 3.02 78928 2099244 1160980 6.66 275964 2267444 4 07:05:33 03:30:01 13554996 15514212 493636 3.01 79424 2099248 1169236 6.71 276412 2267560 4 07:05:33 03:40:01 13553500 15513296 494548 3.02 79928 2099260 1169236 6.71 276964 2267580 200 07:05:33 03:50:01 13553248 15513612 494264 3.02 80360 2099400 1169236 6.71 277388 2267724 8 07:05:33 04:00:01 13553024 15513836 493916 3.02 80844 2099408 1169236 6.71 277824 2267748 8 07:05:33 04:10:01 13552772 15514144 493608 3.01 81340 2099416 1169236 6.71 278368 2267760 8 07:05:33 04:20:01 13552020 15513864 493996 3.02 81788 2099424 1169236 6.71 278824 2267572 8 07:05:33 04:30:01 13550004 15512372 495436 3.03 82276 2099488 1169236 6.71 279264 2267852 0 07:05:33 04:40:01 13550684 15513700 494176 3.02 82720 2099636 1169236 6.71 279752 2267796 8 07:05:33 04:50:01 13551420 15515000 492916 3.01 83136 2099772 1169236 6.71 280172 2268132 4 07:05:33 05:00:01 13550948 15515040 492852 3.01 83624 2099784 1169236 6.71 280660 2268156 4 07:05:33 05:10:01 13550456 15514984 492872 3.01 84056 2099788 1169236 6.71 281084 2268000 8 07:05:33 05:20:01 13549952 15515136 492584 3.01 84524 2100012 1169236 6.71 281504 2268420 8 07:05:33 05:30:01 13549536 15515236 492552 3.01 84964 2100024 1169236 6.71 282000 2268432 4 07:05:33 05:40:01 13550268 15516352 491452 3.00 85348 2100020 1169236 6.71 282376 2268636 200 07:05:33 05:50:01 13549284 15515944 491820 3.00 85716 2100244 1169236 6.71 282736 2268664 204 07:05:33 06:00:01 13548620 15515764 491844 3.00 86080 2100388 1169236 6.71 283080 2268608 204 07:05:33 06:10:01 13548816 15516332 491328 3.00 86412 2100396 1169236 6.71 283448 2269012 8 07:05:33 06:20:01 13547336 15515208 492448 3.01 86768 2100404 1169236 6.71 283804 2269040 4 07:05:33 06:30:23 13191112 15517188 483932 2.96 92736 2448564 1189716 6.83 383068 2526436 180 07:05:33 06:40:01 13191200 15517728 483448 2.95 93056 2448692 1189716 6.83 383384 2525204 8 07:05:33 06:50:01 13191128 15518100 483044 2.95 93388 2448832 1189716 6.83 383684 2525148 4 07:05:33 07:00:01 9922692 15311592 633716 3.87 198964 5176936 1395436 8.01 717620 5184232 20 07:05:33 Average: 13450578 15511619 495071 3.02 81847 2193481 1172470 6.73 289803 2355106 43 07:05:33 07:05:33 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:05:33 00:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 00:10:01 ens3 0.36 0.11 0.07 0.04 0.00 0.00 0.00 0.00 07:05:33 00:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 00:20:00 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 00:20:00 ens3 0.24 0.12 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 00:20:00 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 00:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 00:30:01 ens3 0.51 0.17 0.16 0.10 0.00 0.00 0.00 0.00 07:05:33 00:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 00:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 00:40:01 ens3 0.35 0.12 0.10 0.06 0.00 0.00 0.00 0.00 07:05:33 00:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 00:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 00:50:01 ens3 0.26 0.11 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 00:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:00:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:00:01 ens3 0.76 0.13 0.15 0.06 0.00 0.00 0.00 0.00 07:05:33 01:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:10:01 ens3 3.73 0.29 0.67 0.23 0.00 0.00 0.00 0.00 07:05:33 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:20:01 ens3 2.64 0.22 0.40 0.13 0.00 0.00 0.00 0.00 07:05:33 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:30:01 ens3 2.44 0.14 1.52 0.08 0.00 0.00 0.00 0.00 07:05:33 01:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:40:01 ens3 0.54 0.07 0.05 0.02 0.00 0.00 0.00 0.00 07:05:33 01:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 01:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 01:50:01 ens3 0.44 0.07 0.14 0.02 0.00 0.00 0.00 0.00 07:05:33 01:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:00:01 lo 0.11 0.11 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:00:01 ens3 0.47 0.10 0.06 0.02 0.00 0.00 0.00 0.00 07:05:33 02:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:10:01 ens3 0.35 0.09 0.07 0.04 0.00 0.00 0.00 0.00 07:05:33 02:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:20:01 ens3 0.41 0.07 0.05 0.02 0.00 0.00 0.00 0.00 07:05:33 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:30:01 ens3 0.34 0.12 0.08 0.05 0.00 0.00 0.00 0.00 07:05:33 02:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:40:01 lo 0.11 0.11 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:40:01 ens3 0.26 0.11 0.07 0.03 0.00 0.00 0.00 0.00 07:05:33 02:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 02:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 02:50:01 ens3 0.42 0.13 0.10 0.06 0.00 0.00 0.00 0.00 07:05:33 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:00:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:00:01 ens3 0.20 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 03:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:10:01 ens3 0.24 0.11 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:20:01 ens3 0.21 0.07 0.04 0.02 0.00 0.00 0.00 0.00 07:05:33 03:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:30:01 ens3 0.33 0.11 0.09 0.06 0.00 0.00 0.00 0.00 07:05:33 03:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:40:01 ens3 0.20 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 03:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 03:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 03:50:01 ens3 0.18 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 03:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:00:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:00:01 ens3 0.17 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 04:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:10:01 ens3 0.21 0.10 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 04:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:20:01 ens3 0.18 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:30:01 ens3 0.18 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 04:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:40:01 ens3 0.17 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 04:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 04:50:01 ens3 0.17 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 04:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:00:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:00:01 ens3 0.24 0.09 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 05:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:10:01 ens3 0.21 0.10 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:20:01 ens3 0.18 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 05:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:30:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:30:01 ens3 0.17 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 05:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:40:01 ens3 0.17 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 05:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 05:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 05:50:01 ens3 0.17 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:00:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:00:01 ens3 0.16 0.09 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 06:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:10:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:10:01 ens3 0.21 0.10 0.06 0.04 0.00 0.00 0.00 0.00 07:05:33 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:20:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:20:01 ens3 0.30 0.12 0.09 0.06 0.00 0.00 0.00 0.00 07:05:33 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:30:23 lo 0.15 0.15 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:30:23 ens3 27.77 11.00 372.60 0.77 0.00 0.00 0.00 0.00 07:05:33 06:30:23 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:40:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:40:01 ens3 0.17 0.08 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 06:50:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 06:50:01 ens3 0.17 0.07 0.03 0.02 0.00 0.00 0.00 0.00 07:05:33 06:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 07:00:01 lo 0.99 0.99 0.10 0.10 0.00 0.00 0.00 0.00 07:05:33 07:00:01 ens3 84.74 61.21 856.32 12.02 0.00 0.00 0.00 0.00 07:05:33 07:00:01 docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 Average: lo 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 07:05:33 Average: ens3 3.16 1.83 29.71 0.34 0.00 0.00 0.00 0.00 07:05:33 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:05:33 07:05:33 07:05:33 ---> sar -P ALL: 07:05:33 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-65113) 10/15/26 _x86_64_ (4 CPU) 07:05:33 07:05:33 00:00:01 CPU %user %nice %system %iowait %steal %idle 07:05:33 00:10:01 all 0.02 0.00 0.03 0.02 0.00 99.94 07:05:33 00:10:01 0 0.01 0.00 0.01 0.00 0.00 99.98 07:05:33 00:10:01 1 0.02 0.00 0.04 0.05 0.00 99.90 07:05:33 00:10:01 2 0.02 0.00 0.03 0.01 0.00 99.95 07:05:33 00:10:01 3 0.02 0.01 0.03 0.01 0.00 99.94 07:05:33 00:20:00 all 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 00:20:00 0 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 00:20:00 1 0.01 0.00 0.02 0.01 0.00 99.97 07:05:33 00:20:00 2 0.03 0.00 0.05 0.00 0.00 99.92 07:05:33 00:20:00 3 0.02 0.00 0.02 0.04 0.00 99.93 07:05:33 00:30:01 all 0.35 0.00 0.03 0.01 0.00 99.60 07:05:33 00:30:01 0 1.20 0.00 0.02 0.01 0.00 98.77 07:05:33 00:30:01 1 0.01 0.00 0.02 0.04 0.00 99.92 07:05:33 00:30:01 2 0.06 0.00 0.05 0.00 0.00 99.89 07:05:33 00:30:01 3 0.12 0.00 0.03 0.00 0.00 99.85 07:05:33 00:40:01 all 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 00:40:01 0 0.02 0.00 0.02 0.02 0.00 99.95 07:05:33 00:40:01 1 0.02 0.00 0.03 0.03 0.00 99.92 07:05:33 00:40:01 2 0.03 0.00 0.04 0.01 0.00 99.92 07:05:33 00:40:01 3 0.01 0.00 0.01 0.00 0.00 99.98 07:05:33 00:50:01 all 0.21 0.07 0.04 0.07 0.00 99.60 07:05:33 00:50:01 0 0.02 0.22 0.07 0.18 0.00 99.52 07:05:33 00:50:01 1 0.80 0.00 0.03 0.00 0.00 99.16 07:05:33 00:50:01 2 0.03 0.06 0.05 0.10 0.00 99.76 07:05:33 00:50:01 3 0.01 0.00 0.01 0.00 0.00 99.97 07:05:33 01:00:01 all 0.23 0.00 0.03 0.01 0.00 99.72 07:05:33 01:00:01 0 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 01:00:01 1 0.88 0.00 0.03 0.00 0.00 99.09 07:05:33 01:00:01 2 0.03 0.00 0.05 0.01 0.00 99.92 07:05:33 01:00:01 3 0.01 0.00 0.01 0.04 0.00 99.93 07:05:33 01:10:01 all 0.16 0.00 0.02 0.01 0.00 99.80 07:05:33 01:10:01 0 0.02 0.00 0.01 0.00 0.00 99.96 07:05:33 01:10:01 1 0.02 0.00 0.02 0.02 0.00 99.94 07:05:33 01:10:01 2 0.58 0.00 0.03 0.00 0.00 99.38 07:05:33 01:10:01 3 0.02 0.00 0.02 0.03 0.00 99.93 07:05:33 01:20:01 all 0.23 0.00 0.03 0.01 0.00 99.73 07:05:33 01:20:01 0 0.02 0.00 0.01 0.00 0.00 99.97 07:05:33 01:20:01 1 0.02 0.00 0.04 0.04 0.00 99.91 07:05:33 01:20:01 2 0.87 0.00 0.03 0.00 0.00 99.09 07:05:33 01:20:01 3 0.02 0.00 0.04 0.00 0.00 99.94 07:05:33 01:30:01 all 0.13 0.00 0.02 0.01 0.00 99.84 07:05:33 01:30:01 0 0.01 0.00 0.01 0.00 0.00 99.98 07:05:33 01:30:01 1 0.01 0.00 0.03 0.03 0.00 99.93 07:05:33 01:30:01 2 0.48 0.00 0.02 0.00 0.00 99.50 07:05:33 01:30:01 3 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 01:40:01 all 0.39 0.00 0.02 0.01 0.00 99.57 07:05:33 01:40:01 0 0.01 0.00 0.03 0.00 0.00 99.95 07:05:33 01:40:01 1 1.40 0.00 0.02 0.02 0.00 98.55 07:05:33 01:40:01 2 0.14 0.00 0.03 0.01 0.00 99.83 07:05:33 01:40:01 3 0.02 0.00 0.02 0.01 0.00 99.96 07:05:33 01:50:01 all 0.04 0.00 0.03 0.01 0.00 99.92 07:05:33 01:50:01 0 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 01:50:01 1 0.14 0.00 0.05 0.03 0.00 99.78 07:05:33 01:50:01 2 0.01 0.00 0.01 0.01 0.00 99.97 07:05:33 01:50:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:05:33 07:05:33 01:50:01 CPU %user %nice %system %iowait %steal %idle 07:05:33 02:00:01 all 0.06 0.00 0.03 0.01 0.00 99.90 07:05:33 02:00:01 0 0.01 0.00 0.02 0.01 0.00 99.97 07:05:33 02:00:01 1 0.17 0.00 0.03 0.03 0.00 99.78 07:05:33 02:00:01 2 0.02 0.00 0.03 0.00 0.00 99.95 07:05:33 02:00:01 3 0.05 0.00 0.03 0.01 0.00 99.91 07:05:33 02:10:01 all 0.31 0.00 0.02 0.01 0.00 99.66 07:05:33 02:10:01 0 0.01 0.00 0.02 0.01 0.00 99.96 07:05:33 02:10:01 1 1.19 0.00 0.04 0.02 0.00 98.74 07:05:33 02:10:01 2 0.00 0.00 0.01 0.00 0.00 99.98 07:05:33 02:10:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:05:33 02:20:01 all 0.07 0.00 0.02 0.01 0.00 99.90 07:05:33 02:20:01 0 0.02 0.00 0.02 0.00 0.00 99.96 07:05:33 02:20:01 1 0.01 0.00 0.02 0.03 0.00 99.94 07:05:33 02:20:01 2 0.01 0.00 0.02 0.00 0.00 99.96 07:05:33 02:20:01 3 0.22 0.00 0.03 0.00 0.00 99.75 07:05:33 02:30:01 all 0.11 0.00 0.03 0.01 0.00 99.85 07:05:33 02:30:01 0 0.02 0.00 0.04 0.02 0.00 99.92 07:05:33 02:30:01 1 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 02:30:01 2 0.01 0.00 0.02 0.02 0.00 99.95 07:05:33 02:30:01 3 0.40 0.00 0.02 0.00 0.00 99.59 07:05:33 02:40:01 all 0.23 0.00 0.03 0.01 0.00 99.73 07:05:33 02:40:01 0 0.86 0.00 0.04 0.03 0.00 99.06 07:05:33 02:40:01 1 0.03 0.00 0.03 0.01 0.00 99.94 07:05:33 02:40:01 2 0.02 0.00 0.01 0.01 0.00 99.96 07:05:33 02:40:01 3 0.02 0.00 0.02 0.00 0.00 99.96 07:05:33 02:50:01 all 0.07 0.00 0.02 0.01 0.00 99.89 07:05:33 02:50:01 0 0.24 0.00 0.04 0.02 0.00 99.70 07:05:33 02:50:01 1 0.02 0.00 0.02 0.01 0.00 99.96 07:05:33 02:50:01 2 0.02 0.00 0.02 0.01 0.00 99.96 07:05:33 02:50:01 3 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 03:00:01 all 0.26 0.00 0.03 0.01 0.00 99.70 07:05:33 03:00:01 0 0.98 0.00 0.03 0.02 0.00 98.96 07:05:33 03:00:01 1 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 03:00:01 2 0.02 0.00 0.03 0.01 0.00 99.95 07:05:33 03:00:01 3 0.02 0.00 0.04 0.00 0.00 99.93 07:05:33 03:10:01 all 0.32 0.00 0.02 0.01 0.00 99.65 07:05:33 03:10:01 0 0.01 0.00 0.03 0.01 0.00 99.95 07:05:33 03:10:01 1 1.19 0.00 0.03 0.00 0.00 98.77 07:05:33 03:10:01 2 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 03:10:01 3 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 03:20:01 all 0.02 0.00 0.03 0.01 0.00 99.95 07:05:33 03:20:01 0 0.01 0.00 0.02 0.02 0.00 99.95 07:05:33 03:20:01 1 0.02 0.00 0.02 0.00 0.00 99.97 07:05:33 03:20:01 2 0.02 0.00 0.04 0.00 0.00 99.93 07:05:33 03:20:01 3 0.03 0.00 0.03 0.01 0.00 99.93 07:05:33 03:30:01 all 0.35 0.00 0.03 0.01 0.00 99.61 07:05:33 03:30:01 0 0.01 0.00 0.03 0.02 0.00 99.94 07:05:33 03:30:01 1 1.34 0.00 0.03 0.00 0.00 98.62 07:05:33 03:30:01 2 0.02 0.00 0.02 0.00 0.00 99.96 07:05:33 03:30:01 3 0.03 0.00 0.03 0.01 0.00 99.93 07:05:33 03:40:01 all 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 03:40:01 0 0.01 0.00 0.03 0.03 0.00 99.94 07:05:33 03:40:01 1 0.02 0.00 0.03 0.00 0.00 99.96 07:05:33 03:40:01 2 0.02 0.00 0.04 0.00 0.00 99.93 07:05:33 03:40:01 3 0.02 0.00 0.03 0.01 0.00 99.95 07:05:33 07:05:33 03:40:01 CPU %user %nice %system %iowait %steal %idle 07:05:33 03:50:01 all 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 03:50:01 0 0.02 0.00 0.03 0.02 0.00 99.93 07:05:33 03:50:01 1 0.01 0.00 0.01 0.00 0.00 99.98 07:05:33 03:50:01 2 0.02 0.00 0.03 0.00 0.00 99.94 07:05:33 03:50:01 3 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 04:00:01 all 0.29 0.00 0.03 0.01 0.00 99.67 07:05:33 04:00:01 0 0.97 0.00 0.03 0.00 0.00 98.99 07:05:33 04:00:01 1 0.03 0.00 0.02 0.00 0.00 99.95 07:05:33 04:00:01 2 0.01 0.00 0.03 0.01 0.00 99.95 07:05:33 04:00:01 3 0.15 0.00 0.03 0.03 0.00 99.79 07:05:33 04:10:01 all 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 04:10:01 0 0.01 0.00 0.02 0.01 0.00 99.96 07:05:33 04:10:01 1 0.03 0.00 0.03 0.00 0.00 99.94 07:05:33 04:10:01 2 0.01 0.00 0.01 0.01 0.00 99.97 07:05:33 04:10:01 3 0.02 0.00 0.02 0.03 0.00 99.93 07:05:33 04:20:01 all 0.01 0.00 0.02 0.01 0.00 99.95 07:05:33 04:20:01 0 0.01 0.00 0.02 0.00 0.00 99.96 07:05:33 04:20:01 1 0.01 0.00 0.03 0.00 0.00 99.95 07:05:33 04:20:01 2 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 04:20:01 3 0.00 0.00 0.01 0.03 0.00 99.96 07:05:33 04:30:01 all 0.23 0.00 0.03 0.01 0.00 99.73 07:05:33 04:30:01 0 0.89 0.00 0.03 0.00 0.00 99.07 07:05:33 04:30:01 1 0.01 0.00 0.04 0.02 0.00 99.93 07:05:33 04:30:01 2 0.02 0.00 0.02 0.02 0.00 99.94 07:05:33 04:30:01 3 0.01 0.00 0.01 0.01 0.00 99.97 07:05:33 04:40:01 all 0.01 0.00 0.02 0.01 0.00 99.95 07:05:33 04:40:01 0 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 04:40:01 1 0.02 0.00 0.04 0.01 0.00 99.92 07:05:33 04:40:01 2 0.02 0.00 0.02 0.01 0.00 99.95 07:05:33 04:40:01 3 0.01 0.00 0.01 0.02 0.00 99.96 07:05:33 04:50:01 all 0.32 0.00 0.02 0.01 0.00 99.65 07:05:33 04:50:01 0 0.43 0.00 0.04 0.00 0.00 99.53 07:05:33 04:50:01 1 0.02 0.00 0.03 0.02 0.00 99.94 07:05:33 04:50:01 2 0.81 0.00 0.02 0.00 0.00 99.17 07:05:33 04:50:01 3 0.01 0.00 0.01 0.02 0.00 99.96 07:05:33 05:00:01 all 0.17 0.00 0.03 0.01 0.00 99.80 07:05:33 05:00:01 0 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 05:00:01 1 0.04 0.00 0.06 0.03 0.00 99.87 07:05:33 05:00:01 2 0.22 0.00 0.02 0.00 0.00 99.76 07:05:33 05:00:01 3 0.39 0.00 0.02 0.00 0.00 99.59 07:05:33 05:10:01 all 0.01 0.00 0.02 0.01 0.00 99.95 07:05:33 05:10:01 0 0.02 0.00 0.03 0.00 0.00 99.96 07:05:33 05:10:01 1 0.01 0.00 0.02 0.03 0.00 99.93 07:05:33 05:10:01 2 0.02 0.00 0.02 0.01 0.00 99.96 07:05:33 05:10:01 3 0.02 0.00 0.02 0.00 0.00 99.96 07:05:33 05:20:01 all 0.37 0.00 0.03 0.01 0.00 99.59 07:05:33 05:20:01 0 0.01 0.00 0.03 0.01 0.00 99.95 07:05:33 05:20:01 1 0.02 0.00 0.02 0.00 0.00 99.95 07:05:33 05:20:01 2 0.03 0.00 0.03 0.00 0.00 99.94 07:05:33 05:20:01 3 1.42 0.00 0.04 0.03 0.00 98.51 07:05:33 05:30:01 all 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 05:30:01 0 0.01 0.00 0.02 0.01 0.00 99.96 07:05:33 05:30:01 1 0.01 0.00 0.02 0.00 0.00 99.97 07:05:33 05:30:01 2 0.03 0.00 0.04 0.00 0.00 99.93 07:05:33 05:30:01 3 0.02 0.00 0.03 0.04 0.00 99.91 07:05:33 07:05:33 05:30:01 CPU %user %nice %system %iowait %steal %idle 07:05:33 05:40:01 all 0.16 0.00 0.03 0.02 0.00 99.79 07:05:33 05:40:01 0 0.02 0.00 0.03 0.01 0.01 99.94 07:05:33 05:40:01 1 0.02 0.00 0.03 0.03 0.00 99.93 07:05:33 05:40:01 2 0.03 0.00 0.03 0.01 0.00 99.94 07:05:33 05:40:01 3 0.58 0.00 0.04 0.03 0.00 99.34 07:05:33 05:50:01 all 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 05:50:01 0 0.03 0.00 0.02 0.00 0.00 99.95 07:05:33 05:50:01 1 0.02 0.00 0.03 0.03 0.00 99.92 07:05:33 05:50:01 2 0.03 0.00 0.05 0.01 0.01 99.91 07:05:33 05:50:01 3 0.01 0.00 0.00 0.00 0.00 99.99 07:05:33 06:00:01 all 0.16 0.00 0.03 0.01 0.00 99.79 07:05:33 06:00:01 0 0.01 0.00 0.02 0.00 0.00 99.96 07:05:33 06:00:01 1 0.01 0.00 0.01 0.03 0.00 99.95 07:05:33 06:00:01 2 0.28 0.00 0.07 0.00 0.01 99.65 07:05:33 06:00:01 3 0.34 0.00 0.03 0.00 0.00 99.62 07:05:33 06:10:01 all 0.02 0.00 0.03 0.01 0.00 99.94 07:05:33 06:10:01 0 0.02 0.00 0.02 0.00 0.00 99.96 07:05:33 06:10:01 1 0.02 0.00 0.02 0.03 0.00 99.93 07:05:33 06:10:01 2 0.04 0.00 0.04 0.00 0.00 99.91 07:05:33 06:10:01 3 0.01 0.00 0.02 0.01 0.00 99.96 07:05:33 06:20:01 all 0.22 0.00 0.03 0.01 0.00 99.74 07:05:33 06:20:01 0 0.02 0.00 0.02 0.00 0.00 99.95 07:05:33 06:20:01 1 0.02 0.00 0.02 0.02 0.00 99.95 07:05:33 06:20:01 2 0.83 0.00 0.08 0.00 0.01 99.08 07:05:33 06:20:01 3 0.01 0.00 0.01 0.01 0.00 99.96 07:05:33 06:30:23 all 0.41 0.00 0.20 0.09 0.00 99.30 07:05:33 06:30:23 0 0.29 0.00 0.14 0.05 0.00 99.51 07:05:33 06:30:23 1 0.36 0.00 0.19 0.08 0.00 99.36 07:05:33 06:30:23 2 0.53 0.00 0.18 0.07 0.00 99.21 07:05:33 06:30:23 3 0.46 0.00 0.27 0.16 0.00 99.11 07:05:33 06:40:01 all 0.15 0.00 0.04 0.01 0.01 99.79 07:05:33 06:40:01 0 0.03 0.00 0.04 0.01 0.01 99.92 07:05:33 06:40:01 1 0.04 0.00 0.05 0.01 0.01 99.89 07:05:33 06:40:01 2 0.53 0.00 0.03 0.01 0.01 99.42 07:05:33 06:40:01 3 0.02 0.00 0.02 0.01 0.00 99.94 07:05:33 06:50:01 all 0.19 0.00 0.04 0.03 0.01 99.73 07:05:33 06:50:01 0 0.02 0.00 0.04 0.02 0.01 99.91 07:05:33 06:50:01 1 0.27 0.00 0.02 0.01 0.00 99.70 07:05:33 06:50:01 2 0.29 0.00 0.05 0.02 0.02 99.63 07:05:33 06:50:01 3 0.19 0.00 0.05 0.06 0.02 99.68 07:05:33 07:00:01 all 11.00 0.00 1.09 0.90 0.03 86.98 07:05:33 07:00:01 0 13.62 0.00 1.35 0.89 0.03 84.12 07:05:33 07:00:01 1 8.97 0.00 0.97 0.49 0.03 89.54 07:05:33 07:00:01 2 10.81 0.00 0.83 0.43 0.03 87.91 07:05:33 07:00:01 3 10.61 0.00 1.22 1.79 0.03 86.36 07:05:33 Average: all 0.42 0.00 0.06 0.04 0.00 99.49 07:05:33 Average: 0 0.48 0.01 0.06 0.03 0.00 99.42 07:05:33 Average: 1 0.41 0.00 0.05 0.03 0.00 99.50 07:05:33 Average: 2 0.41 0.00 0.05 0.02 0.00 99.52 07:05:33 Average: 3 0.37 0.00 0.06 0.06 0.00 99.51 07:05:33 07:05:33 07:05:33