19:11:49 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/126849 19:11:49 Running as SYSTEM 19:11:49 [EnvInject] - Loading node environment variables. 19:11:49 Building remotely on prd-ubuntu2204-docker-4c-16g-68540 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 19:11:50 [ssh-agent] Looking for ssh-agent implementation... 19:11:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:11:50 $ ssh-agent 19:11:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfDD4S0/agent.1564 19:11:50 SSH_AGENT_PID=1566 19:11:50 [ssh-agent] Started. 19:11:50 Running ssh-add (command line suppressed) 19:11:50 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_4094123805429397990.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_4094123805429397990.key) 19:11:50 [ssh-agent] Using credentials jenkins (jenkins-ssh) 19:11:50 The recommended git tool is: NONE 19:11:53 using credential jenkins-ssh 19:11:53 Wiping out workspace first. 19:11:53 Cloning the remote Git repository 19:11:53 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 19:11:53 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 19:11:53 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 19:11:53 > git --version # timeout=10 19:11:53 > git --version # 'git version 2.34.1' 19:11:53 using GIT_SSH to set credentials jenkins-ssh 19:11:53 Verifying host key using known hosts file, will automatically accept unseen keys 19:11:53 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 19:11:59 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 19:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:00 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 19:12:00 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 19:12:00 using GIT_SSH to set credentials jenkins-ssh 19:12:00 Verifying host key using known hosts file, will automatically accept unseen keys 19:12:00 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/49/126849/2 # timeout=10 19:12:00 > git rev-parse a4189d46a50fbe1920379a1b2c1a5082bdc8d67e^{commit} # timeout=10 19:12:00 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 19:12:00 Checking out Revision a4189d46a50fbe1920379a1b2c1a5082bdc8d67e (refs/changes/49/126849/2) 19:12:00 > git config core.sparsecheckout # timeout=10 19:12:00 > git checkout -f a4189d46a50fbe1920379a1b2c1a5082bdc8d67e # timeout=10 19:12:00 Commit message: "common: bound device transaction waits" 19:12:00 > git rev-parse FETCH_HEAD^{commit} # timeout=10 19:12:00 > git rev-list --no-walk 3eb2481f549fae57e965077582a9baf6b4c51a11 # timeout=10 19:12:00 > git remote # timeout=10 19:12:00 > git submodule init # timeout=10 19:12:01 > git submodule sync # timeout=10 19:12:01 > git config --get remote.origin.url # timeout=10 19:12:01 > git submodule init # timeout=10 19:12:01 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 19:12:01 ERROR: No submodules found. 19:12:04 provisioning config files... 19:12:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:12:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:12:04 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13840822148244129825.sh 19:12:04 ---> python-tools-install.sh 19:12:04 Setup pyenv: 19:12:04 * system (set by /opt/pyenv/version) 19:12:04 * 3.8.20 (set by /opt/pyenv/version) 19:12:04 * 3.9.20 (set by /opt/pyenv/version) 19:12:04 3.10.15 19:12:04 3.11.10 19:12:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ebsI 19:12:09 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:12:09 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 19:12:14 lf-activate-venv(): INFO: Installing additional packages: lftools 19:12:41 lf-activate-venv(): INFO: Adding /tmp/venv-ebsI/bin to PATH 19:12:41 Generating Requirements File 19:13:12 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. 19:13:12 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 19:13:12 botocore 1.43.123 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 4.0.0 which is incompatible. 19:13:12 Python 3.11.10 19:13:12 pip 26.3 from /tmp/venv-ebsI/lib/python3.11/site-packages/pip (python 3.11) 19:13:13 aiohappyeyeballs==2.7.1 19:13:13 aiohttp==3.14.5 19:13:13 aiosignal==1.4.0 19:13:13 appdirs==1.4.4 19:13:13 argcomplete==3.7.2 19:13:13 aspy.yaml==1.3.0 19:13:13 attrs==26.1.0 19:13:13 autopage==0.6.0 19:13:13 beautifulsoup4==4.15.0 19:13:13 boto3==1.43.123 19:13:13 botocore==1.43.123 19:13:13 bs4==0.0.2 19:13:13 certifi==2026.10.23 19:13:13 cffi==2.1.1 19:13:13 cfgv==3.5.0 19:13:13 chardet==7.7.0 19:13:13 charset-normalizer==3.5.2 19:13:13 click==8.5.0 19:13:13 cliff==4.17.0 19:13:13 cmd2==4.4.1 19:13:13 cryptography==3.3.2 19:13:13 debtcollector==3.1.0 19:13:13 decorator==5.3.1 19:13:13 defusedxml==0.7.1 19:13:13 Deprecated==1.3.1 19:13:13 distlib==0.4.4 19:13:13 dnspython==2.9.2 19:13:13 docker==7.2.0 19:13:13 dogpile.cache==1.5.0 19:13:13 durationpy==0.11 19:13:13 email-validator==2.3.0 19:13:13 filelock==4.2.9 19:13:13 frozenlist==1.8.0 19:13:13 future==1.0.0 19:13:13 gitdb==4.0.12 19:13:13 GitPython==3.2.1 19:13:13 httplib2==0.30.2 19:13:13 identify==2.6.20 19:13:13 idna==3.20 19:13:13 importlib-resources==1.5.0 19:13:13 iso8601==2.1.0 19:13:13 Jinja2==3.1.6 19:13:13 jmespath==1.1.0 19:13:13 jsonpatch==1.42 19:13:13 jsonpointer==3.8 19:13:13 jsonschema==4.26.0 19:13:13 jsonschema-specifications==2025.9.1 19:13:13 keystoneauth1==5.18.1 19:13:13 kubernetes==36.0.3 19:13:13 lftools==0.37.26 19:13:13 lxml==6.1.3 19:13:13 markdown-it-py==4.2.0 19:13:13 MarkupSafe==3.0.4 19:13:13 mdurl==0.1.2 19:13:13 msgpack==1.2.4 19:13:13 multi_key_dict==2.0.4 19:13:13 multidict==7.2.1 19:13:13 munch==4.0.0 19:13:13 netaddr==1.3.0 19:13:13 niet==1.4.2 19:13:13 nodeenv==1.12.0 19:13:13 oauth2client==4.1.3 19:13:13 oauthlib==4.0.1 19:13:13 openstacksdk==4.22.0 19:13:13 os-service-types==1.9.0 19:13:13 osc-lib==4.7.0 19:13:13 oslo.config==10.8.0 19:13:13 oslo.context==6.5.0 19:13:13 oslo.i18n==6.9.0 19:13:13 oslo.log==8.3.2 19:13:13 oslo.serialization==5.11.0 19:13:13 oslo.utils==10.2.0 19:13:13 packaging==26.3 19:13:13 pbr==7.1.3 19:13:13 platformdirs==4.14.5 19:13:13 prettytable==3.18.0 19:13:13 prompt_toolkit==3.0.53 19:13:13 propcache==0.5.4 19:13:13 psutil==7.2.2 19:13:13 pyasn1==0.6.5 19:13:13 pyasn1_modules==0.4.2 19:13:13 pycparser==3.12 19:13:13 pygerrit2==2.0.15 19:13:13 PyGithub==2.10.0 19:13:13 Pygments==2.21.0 19:13:13 PyJWT==2.15.1 19:13:13 PyNaCl==1.6.2 19:13:13 pyparsing==2.4.7 19:13:13 pyperclip==1.11.0 19:13:13 pyrsistent==0.20.0 19:13:13 python-dateutil==4.0.0 19:13:13 python-discovery==1.9.4 19:13:13 python-heatclient==5.3.0 19:13:13 python-jenkins==1.8.3 19:13:13 python-keystoneclient==6.0.0 19:13:13 python-magnumclient==5.0.0 19:13:13 python-manilaclient==6.3.0 19:13:13 python-openstackclient==10.5.0 19:13:13 python-swiftclient==4.11.0 19:13:13 PyYAML==6.0.3 19:13:13 referencing==0.37.0 19:13:13 requests==2.34.2 19:13:13 requests-oauthlib==2.0.0 19:13:13 rfc3986==2.0.0 19:13:13 rich==15.0.0 19:13:13 rich-argparse==1.8.0 19:13:13 rpds-py==2026.9.1 19:13:13 rsa==4.9.1 19:13:13 ruamel.yaml==0.19.1 19:13:13 ruamel.yaml.clib==0.2.15 19:13:13 s3transfer==0.19.3 19:13:13 simplejson==4.2.0 19:13:13 six==1.17.0 19:13:13 smmap==5.0.3 19:13:13 soupsieve==4.0.1 19:13:13 stevedore==5.9.1 19:13:13 tabulate==0.10.0 19:13:13 toml==0.10.2 19:13:13 tomlkit==0.15.2 19:13:13 tqdm==4.70.1 19:13:13 typing_extensions==4.16.0 19:13:13 tzdata==2026.6 19:13:13 urllib3==1.26.20 19:13:13 virtualenv==21.15.5 19:13:13 wcwidth==0.9.4 19:13:13 websocket-client==1.9.2 19:13:13 wrapt==2.5.2 19:13:13 xdg==6.0.0 19:13:13 xmltodict==1.0.4 19:13:13 yarl==1.25.1 19:13:13 yq==4.4.5 19:13:13 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins10321833818269118281.sh 19:13:13 ---> uv-install.sh 19:13:13 Installing uv/uvx (latest) using shell installer 19:13:13 2026-11-04 19:13:13 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-1G0Rp9.sh" [1] 19:13:13 downloading uv 0.13.7 x86_64-unknown-linux-gnu 19:13:14 installing to /home/jenkins/.local/bin 19:13:14 uv 19:13:14 uvx 19:13:14 everything's installed! 19:13:14 19:13:14 To add $HOME/.local/bin to your PATH, either restart your shell or run: 19:13:14 19:13:14 source $HOME/.local/bin/env (sh, bash, zsh) 19:13:14 source $HOME/.local/bin/env.fish (fish) 19:13:14 Adding install location to PATH 19:13:14 ---> Validating uv/uvx install 19:13:14 uvx 0.13.7 (x86_64-unknown-linux-gnu) 19:13:14 [EnvInject] - Injecting environment variables from a build step. 19:13:14 [EnvInject] - Injecting as environment variables the properties content 19:13:14 PYTHON=python3 19:13:14 19:13:14 [EnvInject] - Variables injected successfully. 19:13:14 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins4818456126973620992.sh 19:13:14 ---> tox-install.sh 19:13:14 + source /home/jenkins/lf-env.sh 19:13:14 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:13:14 ++ mktemp -d /tmp/venv-XXXX 19:13:14 + lf_venv=/tmp/venv-gaEk 19:13:14 + local venv_file=/tmp/.os_lf_venv 19:13:14 + local python=python3 19:13:14 + local options 19:13:14 + local set_path=true 19:13:14 + local install_args= 19:13:14 ++ 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 19:13:14 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:13:14 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:13:14 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:13:14 + true 19:13:14 + case $1 in 19:13:14 + venv_file=/tmp/.toxenv 19:13:14 + shift 2 19:13:14 + true 19:13:14 + case $1 in 19:13:14 + shift 19:13:14 + break 19:13:14 + case $python in 19:13:14 + local pkg_list= 19:13:14 + [[ -d /opt/pyenv ]] 19:13:14 + echo 'Setup pyenv:' 19:13:14 Setup pyenv: 19:13:14 + export PYENV_ROOT=/opt/pyenv 19:13:14 + PYENV_ROOT=/opt/pyenv 19:13:14 + 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 19:13:14 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:14 + pyenv versions 19:13:14 system 19:13:14 3.8.20 19:13:14 3.9.20 19:13:14 3.10.15 19:13:14 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 19:13:14 + command -v pyenv 19:13:14 ++ pyenv init - --no-rehash 19:13:14 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 19:13:14 for i in ${!paths[@]}; do 19:13:14 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 19:13:14 fi; done; 19:13:14 echo "${paths[*]}"'\'')" 19:13:14 export PATH="/opt/pyenv/shims:${PATH}" 19:13:14 export PYENV_SHELL=bash 19:13:14 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:13:14 pyenv() { 19:13:14 local command 19:13:14 command="${1:-}" 19:13:14 if [ "$#" -gt 0 ]; then 19:13:14 shift 19:13:14 fi 19:13:14 19:13:14 case "$command" in 19:13:14 rehash|shell) 19:13:14 eval "$(pyenv "sh-$command" "$@")" 19:13:14 ;; 19:13:14 *) 19:13:14 command pyenv "$command" "$@" 19:13:14 ;; 19:13:14 esac 19:13:14 }' 19:13:14 +++ bash --norc -ec 'IFS=:; paths=($PATH); 19:13:14 for i in ${!paths[@]}; do 19:13:14 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 19:13:14 fi; done; 19:13:14 echo "${paths[*]}"' 19:13:14 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:14 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:14 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:14 ++ export PYENV_SHELL=bash 19:13:14 ++ PYENV_SHELL=bash 19:13:14 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:13:14 +++ complete -F _pyenv pyenv 19:13:14 ++ lf-pyver python3 19:13:14 ++ local py_version_xy=python3 19:13:14 ++ local py_version_xyz= 19:13:14 ++ pyenv versions 19:13:14 ++ sed 's/^[ *]* //' 19:13:14 ++ awk '{ print $1 }' 19:13:14 ++ grep -E '^[0-9.]*[0-9]$' 19:13:14 ++ local command 19:13:14 ++ command=versions 19:13:14 ++ '[' 1 -gt 0 ']' 19:13:14 ++ shift 19:13:14 ++ case "$command" in 19:13:14 ++ command pyenv versions 19:13:14 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:13:14 +++ grep '^3' /tmp/.pyenv_versions 19:13:14 +++ sort -V 19:13:14 +++ tail -n 1 19:13:14 ++ py_version_xyz=3.11.10 19:13:14 ++ [[ -z 3.11.10 ]] 19:13:14 ++ echo 3.11.10 19:13:14 ++ return 0 19:13:14 + pyenv local 3.11.10 19:13:14 + local command 19:13:14 + command=local 19:13:14 + '[' 2 -gt 0 ']' 19:13:14 + shift 19:13:14 + case "$command" in 19:13:14 + command pyenv local 3.11.10 19:13:14 + for arg in "$@" 19:13:14 + case $arg in 19:13:14 + pkg_list+='tox ' 19:13:14 + for arg in "$@" 19:13:14 + case $arg in 19:13:14 + pkg_list+='virtualenv ' 19:13:14 + for arg in "$@" 19:13:14 + case $arg in 19:13:14 + pkg_list+='urllib3~=1.26.15 ' 19:13:14 + [[ -f /tmp/.toxenv ]] 19:13:14 + [[ ! -f /tmp/.toxenv ]] 19:13:14 + [[ -n '' ]] 19:13:14 + python3 -m venv /tmp/venv-gaEk 19:13:18 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gaEk' 19:13:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gaEk 19:13:18 + echo /tmp/venv-gaEk 19:13:18 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:13:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:13:18 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 19:13:18 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 19:13:18 + local 'pip_opts=--upgrade --quiet' 19:13:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 19:13:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 19:13:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 19:13:18 + [[ -n '' ]] 19:13:18 + [[ -n '' ]] 19:13:18 + lf-venv-pip-install /tmp/venv-gaEk/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 19:13:18 + local venv_python=/tmp/venv-gaEk/bin/python3 19:13:18 + shift 19:13:18 + local upstream=https://pypi.org/simple 19:13:18 + /tmp/venv-gaEk/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 19:13:23 + return 0 19:13:23 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:13:23 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 19:13:23 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 19:13:23 + lf-venv-pip-install /tmp/venv-gaEk/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 19:13:23 + local venv_python=/tmp/venv-gaEk/bin/python3 19:13:23 + shift 19:13:23 + local upstream=https://pypi.org/simple 19:13:23 + /tmp/venv-gaEk/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 19:13:26 + return 0 19:13:26 + type python3 19:13:26 + true 19:13:26 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-gaEk/bin to PATH' 19:13:26 lf-activate-venv(): INFO: Adding /tmp/venv-gaEk/bin to PATH 19:13:26 + PATH=/tmp/venv-gaEk/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 19:13:26 + return 0 19:13:26 + python3 --version 19:13:26 Python 3.11.10 19:13:26 + python3 -m pip --version 19:13:26 pip 26.3 from /tmp/venv-gaEk/lib/python3.11/site-packages/pip (python 3.11) 19:13:26 + python3 -m pip freeze 19:13:26 cachetools==7.2.8 19:13:26 colorama==0.4.6 19:13:26 distlib==0.4.4 19:13:26 filelock==4.2.9 19:13:26 packaging==26.3 19:13:26 platformdirs==4.14.5 19:13:26 pluggy==1.7.0 19:13:26 pyproject-api==1.12.4 19:13:26 python-discovery==1.9.4 19:13:26 tomli_w==1.2.0 19:13:26 tox==4.67.9 19:13:26 typing_extensions==4.16.0 19:13:26 urllib3==1.26.20 19:13:26 virtualenv==21.15.5 19:13:26 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins7786008044763787623.sh 19:13:26 [EnvInject] - Injecting environment variables from a build step. 19:13:26 [EnvInject] - Injecting as environment variables the properties content 19:13:26 PARALLEL=True 19:13:26 19:13:26 [EnvInject] - Variables injected successfully. 19:13:26 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins7079170799991363883.sh 19:13:26 ---> tox-run.sh 19:13:26 + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 19:13:26 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 19:13:26 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 19:13:26 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 19:13:26 + source /home/jenkins/lf-env.sh 19:13:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:13:26 ++ mktemp -d /tmp/venv-XXXX 19:13:26 + lf_venv=/tmp/venv-W35H 19:13:26 + local venv_file=/tmp/.os_lf_venv 19:13:26 + local python=python3 19:13:26 + local options 19:13:26 + local set_path=true 19:13:26 + local install_args= 19:13:26 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:13:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:13:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:13:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:13:26 + true 19:13:26 + case $1 in 19:13:26 + venv_file=/tmp/.toxenv 19:13:26 + shift 2 19:13:26 + true 19:13:26 + case $1 in 19:13:26 + shift 19:13:26 + break 19:13:26 + case $python in 19:13:26 + local pkg_list= 19:13:26 + [[ -d /opt/pyenv ]] 19:13:26 + echo 'Setup pyenv:' 19:13:26 Setup pyenv: 19:13:26 + export PYENV_ROOT=/opt/pyenv 19:13:26 + PYENV_ROOT=/opt/pyenv 19:13:26 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 + pyenv versions 19:13:26 system 19:13:26 3.8.20 19:13:26 3.9.20 19:13:26 3.10.15 19:13:26 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 19:13:26 + command -v pyenv 19:13:26 ++ pyenv init - --no-rehash 19:13:26 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 19:13:26 for i in ${!paths[@]}; do 19:13:26 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 19:13:26 fi; done; 19:13:26 echo "${paths[*]}"'\'')" 19:13:26 export PATH="/opt/pyenv/shims:${PATH}" 19:13:26 export PYENV_SHELL=bash 19:13:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:13:26 pyenv() { 19:13:26 local command 19:13:26 command="${1:-}" 19:13:26 if [ "$#" -gt 0 ]; then 19:13:26 shift 19:13:26 fi 19:13:26 19:13:26 case "$command" in 19:13:26 rehash|shell) 19:13:26 eval "$(pyenv "sh-$command" "$@")" 19:13:26 ;; 19:13:26 *) 19:13:26 command pyenv "$command" "$@" 19:13:26 ;; 19:13:26 esac 19:13:26 }' 19:13:26 +++ bash --norc -ec 'IFS=:; paths=($PATH); 19:13:26 for i in ${!paths[@]}; do 19:13:26 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 19:13:26 fi; done; 19:13:26 echo "${paths[*]}"' 19:13:26 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 19:13:26 ++ export PYENV_SHELL=bash 19:13:26 ++ PYENV_SHELL=bash 19:13:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:13:26 +++ complete -F _pyenv pyenv 19:13:26 ++ lf-pyver python3 19:13:26 ++ local py_version_xy=python3 19:13:26 ++ local py_version_xyz= 19:13:26 ++ pyenv versions 19:13:26 ++ local command 19:13:26 ++ command=versions 19:13:26 ++ '[' 1 -gt 0 ']' 19:13:26 ++ shift 19:13:26 ++ case "$command" in 19:13:26 ++ command pyenv versions 19:13:26 ++ sed 's/^[ *]* //' 19:13:26 ++ grep -E '^[0-9.]*[0-9]$' 19:13:26 ++ awk '{ print $1 }' 19:13:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:13:26 +++ grep '^3' /tmp/.pyenv_versions 19:13:26 +++ sort -V 19:13:26 +++ tail -n 1 19:13:26 ++ py_version_xyz=3.11.10 19:13:26 ++ [[ -z 3.11.10 ]] 19:13:26 ++ echo 3.11.10 19:13:26 ++ return 0 19:13:26 + pyenv local 3.11.10 19:13:26 + local command 19:13:26 + command=local 19:13:26 + '[' 2 -gt 0 ']' 19:13:26 + shift 19:13:26 + case "$command" in 19:13:26 + command pyenv local 3.11.10 19:13:26 + for arg in "$@" 19:13:26 + case $arg in 19:13:26 + pkg_list+='tox ' 19:13:26 + for arg in "$@" 19:13:26 + case $arg in 19:13:26 + pkg_list+='virtualenv ' 19:13:26 + for arg in "$@" 19:13:26 + case $arg in 19:13:26 + pkg_list+='urllib3~=1.26.15 ' 19:13:26 + [[ -f /tmp/.toxenv ]] 19:13:26 ++ cat /tmp/.toxenv 19:13:26 + lf_venv=/tmp/venv-gaEk 19:13:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gaEk from' file:/tmp/.toxenv 19:13:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gaEk from file:/tmp/.toxenv 19:13:26 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 19:13:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 19:13:26 + local 'pip_opts=--upgrade --quiet' 19:13:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 19:13:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 19:13:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 19:13:26 + [[ -n '' ]] 19:13:26 + [[ -n '' ]] 19:13:26 + lf-venv-pip-install /tmp/venv-gaEk/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 19:13:26 + local venv_python=/tmp/venv-gaEk/bin/python3 19:13:26 + shift 19:13:26 + local upstream=https://pypi.org/simple 19:13:26 + /tmp/venv-gaEk/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 19:13:27 + return 0 19:13:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:13:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 19:13:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 19:13:27 + lf-venv-pip-install /tmp/venv-gaEk/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 19:13:27 + local venv_python=/tmp/venv-gaEk/bin/python3 19:13:27 + shift 19:13:27 + local upstream=https://pypi.org/simple 19:13:27 + /tmp/venv-gaEk/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 19:13:28 + return 0 19:13:28 + type python3 19:13:28 + true 19:13:28 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-gaEk/bin to PATH' 19:13:28 lf-activate-venv(): INFO: Adding /tmp/venv-gaEk/bin to PATH 19:13:28 + PATH=/tmp/venv-gaEk/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 19:13:28 + return 0 19:13:28 + [[ -d /opt/pyenv ]] 19:13:28 + echo '---> Setting up pyenv' 19:13:28 ---> Setting up pyenv 19:13:28 + export PYENV_ROOT=/opt/pyenv 19:13:28 + PYENV_ROOT=/opt/pyenv 19:13:28 + export PATH=/opt/pyenv/bin:/tmp/venv-gaEk/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 19:13:28 + PATH=/opt/pyenv/bin:/tmp/venv-gaEk/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 19:13:28 ++ pwd 19:13:28 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 19:13:28 + export PYTHONPATH 19:13:28 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:13:28 + TOX_TESTENV_PASSENV=PYTHONPATH 19:13:28 + tox --version 19:13:29 4.67.9 from /tmp/venv-gaEk/lib/python3.11/site-packages/tox/__init__.py 19:13:29 + PARALLEL=True 19:13:29 + TOX_OPTIONS_LIST= 19:13:29 + [[ -n '' ]] 19:13:29 + case ${PARALLEL,,} in 19:13:29 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 19:13:29 + tox --parallel auto --parallel-live 19:13:29 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 19:13:30 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 19:13:30 docs: install_deps> python -I -m pip install -r docs/requirements.txt 19:13:30 checkbashisms: freeze> python -m pip freeze --all 19:13:30 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 19:13:31 checkbashisms: pip==26.3,setuptools==84.2.1 19:13:31 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 19:13:31 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)' 19:13:31 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 19:13:32 checkbashisms: OK ✔ in 3.11 seconds 19:13:32 pre-commit: install_deps> python -I -m pip install pre-commit 19:13:35 pre-commit: freeze> python -m pip freeze --all 19:13:36 pre-commit: cfgv==3.5.0,distlib==0.4.4,filelock==4.2.9,identify==2.6.20,nodeenv==1.12.0,packaging==26.3,pip==26.3,platformdirs==4.14.5,pre_commit==4.7.0,python-discovery==1.9.4,PyYAML==6.0.3,setuptools==84.2.1,virtualenv==21.15.5 19:13:36 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 19:13:36 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)' 19:13:36 /usr/bin/cpan 19:13:36 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 19:13:36 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 19:13:36 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 19:13:37 buildcontroller: freeze> python -m pip freeze --all 19:13:37 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 19:13:37 buildcontroller: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:13:37 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 19:13:37 + update-java-alternatives -l 19:13:37 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 19:13:37 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 19:13:37 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 19:13:37 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 19:13:37 update-alternatives: error: no alternatives for jaotc 19:13:37 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 19:13:37 update-alternatives: error: no alternatives for rmic 19:13:37 + java -version 19:13:37 + sed -n s/.* version "\([0-9]*\).*/\1/p 19:13:37 + JAVA_VER=21 19:13:37 + echo 21 19:13:37 21 19:13:37 + sed -n s/^javac \([0-9]*\).*/\1/p 19:13:37 + javac -version 19:13:37 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 19:13:37 + JAVAC_VER=21 19:13:37 + echo 21 19:13:37 + [ 21 -ge 21 ] 19:13:37 + [ 21 -ge 21 ] 19:13:37 + echo ok, java is 21 or newer 19:13:37 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 19:13:37 21 19:13:37 ok, java is 21 or newer 19:13:38 2026-11-04 19:13:38 URL:https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz [9278065/9278065] -> "/tmp/apache-maven-3.9.16-bin.tar.gz" [1] 19:13:38 + sudo mkdir -p /opt 19:13:38 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 19:13:38 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 19:13:38 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 19:13:38 + mvn --version 19:13:38 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 19:13:38 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 19:13:38 Maven home: /opt/maven 19:13:38 Java version: 21.0.12.1, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 19:13:38 Default locale: en, platform encoding: UTF-8 19:13:38 OS name: "linux", version: "5.15.0-202-generic", arch: "amd64", family: "unix" 19:13:38 NOTE: Picked up JDK_JAVA_OPTIONS: 19:13:38 --add-opens=java.base/java.io=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.lang=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.net=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.nio=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.nio.file=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.util=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.util.jar=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.util.stream=ALL-UNNAMED 19:13:38 --add-opens=java.base/java.util.zip=ALL-UNNAMED 19:13:38 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 19:13:38 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 19:13:38 -Xlog:disable 19:13:39 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 19:13:40 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 19:13:40 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 19:13:41 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 19:13:41 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 19:13:41 [INFO] Once installed this environment will be reused. 19:13:41 [INFO] This may take a few minutes... 19:13:48 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 19:13:48 [INFO] Once installed this environment will be reused. 19:13:48 [INFO] This may take a few minutes... 19:13:49 docs: freeze> python -m pip freeze --all 19:13:49 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.10.23,charset-normalizer==3.5.2,deepmerge==4.0.0,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.4.0,packaging==26.3,picobox==4.0.0,pip==26.3,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.2.1,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==9.2.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==2.0.0,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-needs-exchange==1.1.0,ub-project==1.2.0,urllib3==2.8.0 19:13:49 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 19:13:50 docs-linkcheck: freeze> python -m pip freeze --all 19:13:50 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.10.23,charset-normalizer==3.5.2,deepmerge==4.0.0,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.4.0,packaging==26.3,picobox==4.0.0,pip==26.3,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.2.1,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==9.2.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==2.0.0,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-needs-exchange==1.1.0,ub-project==1.2.0,urllib3==2.8.0 19:13:50 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 19:13:53 docs: OK ✔ in 23.49 seconds 19:13:53 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 19:13:54 [INFO] Installing environment for https://github.com/hhatto/autopep8. 19:13:54 [INFO] Once installed this environment will be reused. 19:13:54 [INFO] This may take a few minutes... 19:13:56 docs-linkcheck: OK ✔ in 25.13 seconds 19:13:56 pylint: freeze> python -m pip freeze --all 19:13:56 pylint: astroid==4.3.4,dill==0.4.1,isort==9.0.2,mccabe==0.7.0,mypy_extensions==1.2.0,pip==26.3,platformdirs==4.14.5,pylint==4.1.3,setuptools==84.2.1,tomlkit==0.15.2 19:13:56 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}$' '{}' + 19:13:59 [INFO] Installing environment for https://github.com/perltidy/perltidy. 19:13:59 [INFO] Once installed this environment will be reused. 19:13:59 [INFO] This may take a few minutes... 19:14:09 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 19:14:09 [INFO] Once installed this environment will be reused. 19:14:09 [INFO] This may take a few minutes... 19:14:13 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 19:14:13 [INFO] Once installed this environment will be reused. 19:14:13 [INFO] This may take a few minutes... 19:14:16 19:14:16 ------------------------------------ 19:14:16 Your code has been rated at 10.00/10 19:14:16 19:14:18 trim trailing whitespace.................................................Passed 19:14:18 fix end of files.........................................................Passed 19:14:18 check for added large files..............................................Passed 19:14:18 check for merge conflicts................................................Passed 19:14:18 check for case conflicts.................................................Passed 19:14:19 check json...............................................................Passed 19:14:19 mixed line ending........................................................Passed 19:14:19 [ERROR] COMPILATION ERROR : 19:14:19 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/test/java/org/opendaylight/transportpce/common/crossconnect/CrossConnectImpl221Test.java:[109,13] no suitable method found for thenReturn(java.util.concurrent.CompletableFuture>) 19:14:19 method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>) is not applicable 19:14:19 (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>,com.google.common.util.concurrent.ListenableFuture>...) is not applicable 19:14:19 (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/test/java/org/opendaylight/transportpce/common/crossconnect/CrossConnectImpl221Test.java:[120,13] no suitable method found for thenReturn(java.util.concurrent.CompletableFuture>) 19:14:19 method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>) is not applicable 19:14:19 (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>,com.google.common.util.concurrent.ListenableFuture>...) is not applicable 19:14:19 (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.16.0:testCompile (default-testCompile) on project transportpce-common: Compilation failure: Compilation failure: 19:14:19 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/test/java/org/opendaylight/transportpce/common/crossconnect/CrossConnectImpl221Test.java:[109,13] no suitable method found for thenReturn(java.util.concurrent.CompletableFuture>) 19:14:19 [ERROR] method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>) is not applicable 19:14:19 [ERROR] (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>,com.google.common.util.concurrent.ListenableFuture>...) is not applicable 19:14:19 [ERROR] (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/common/src/test/java/org/opendaylight/transportpce/common/crossconnect/CrossConnectImpl221Test.java:[120,13] no suitable method found for thenReturn(java.util.concurrent.CompletableFuture>) 19:14:19 [ERROR] method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>) is not applicable 19:14:19 [ERROR] (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] method org.mockito.stubbing.OngoingStubbing.thenReturn(com.google.common.util.concurrent.ListenableFuture>,com.google.common.util.concurrent.ListenableFuture>...) is not applicable 19:14:19 [ERROR] (argument mismatch; no instance(s) of type variable(s) U,T exist so that java.util.concurrent.CompletableFuture conforms to com.google.common.util.concurrent.ListenableFuture>) 19:14:19 [ERROR] -> [Help 1] 19:14:19 [ERROR] 19:14:19 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 19:14:19 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 19:14:19 [ERROR] 19:14:19 [ERROR] For more information about the errors and possible solutions, please read the following articles: 19:14:19 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 19:14:19 [ERROR] 19:14:19 [ERROR] After correcting the problems, you can resume the build with the command 19:14:19 [ERROR] mvn -rf :transportpce-common 19:14:19 Tabs remover.............................................................pylint: OK ✔ in 24.41 seconds 19:14:19 buildcontroller: exit 1 (42.28 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh pid=2684 19:14:19 Passed 19:14:19 autopep8.................................................................buildcontroller: FAIL ✖ in 50.12 seconds 19:14:20 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 19:14:20 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 19:14:20 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 19:14:22 Passed 19:14:22 perltidy.................................................................Passed 19:14:22 ShellCheck v0.11.0.......................................................Passed 19:14:29 prettier.................................................................build_karaf_tests71: freeze> python -m pip freeze --all 19:14:29 build_karaf_tests200: freeze> python -m pip freeze --all 19:14:29 build_karaf_tests221: freeze> python -m pip freeze --all 19:14:29 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:14:29 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 19:14:30 build karaf in karaf71 with ./karaf71.env 19:14:30 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:14:30 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 19:14:30 build karaf in karafoc200 with ./karafoc200.env 19:14:30 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:14:30 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 19:14:30 build karaf in karaf221 with ./karaf221.env 19:14:30 NOTE: Picked up JDK_JAVA_OPTIONS: 19:14:30 --add-opens=java.base/java.io=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.net=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.file=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.jar=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.stream=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.zip=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 19:14:30 -Xlog:disable 19:14:30 NOTE: Picked up JDK_JAVA_OPTIONS: 19:14:30 --add-opens=java.base/java.io=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.net=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.file=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.jar=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.stream=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.zip=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 19:14:30 -Xlog:disable 19:14:30 NOTE: Picked up JDK_JAVA_OPTIONS: 19:14:30 --add-opens=java.base/java.io=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.net=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.nio.file=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.jar=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.stream=ALL-UNNAMED 19:14:30 --add-opens=java.base/java.util.zip=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 19:14:30 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 19:14:30 -Xlog:disable 19:14:30 Passed 19:14:30 yamllint.................................................................Passed 19:14:31 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 19:14:31 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 19:14:31 [INFO] Once installed this environment will be reused. 19:14:31 [INFO] This may take a few minutes... 19:14:46 [ERROR] Failed to execute goal on project transportpce-karaf: Could not resolve dependencies for project org.opendaylight.transportpce:transportpce-karaf:pom:14.0.0-SNAPSHOT 19:14:46 [ERROR] dependency: org.opendaylight.transportpce:transportpce-networkmodel:jar:14.0.0-SNAPSHOT (runtime) 19:14:46 [ERROR] Could not find artifact org.opendaylight.transportpce:transportpce-networkmodel:jar:14.0.0-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) 19:14:46 [ERROR] -> [Help 1] 19:14:46 [ERROR] 19:14:46 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 19:14:46 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 19:14:46 [ERROR] 19:14:46 [ERROR] For more information about the errors and possible solutions, please read the following articles: 19:14:46 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 19:14:47 /w/workspace/transportpce-tox-verify-transportpce-master/tests/build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 19:14:47 build_karaf_tests200: exit 127 (16.90 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=4210 19:14:47 build_karaf_tests200: FAIL ✖ in 27.38 seconds 19:14:47 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 19:14:50 gitlint..................................................................Passed 19:14:50 pre-commit: OK ✔ in 1 minute 17.56 seconds 19:14:50 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 19:15:00 buildlighty: freeze> python -m pip freeze --all 19:15:00 buildlighty: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:15:00 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 19:15:00 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 19:15:00 sims: freeze> python -m pip freeze --all 19:15:01 sims: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:15:01 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 19:15:01 Using lighynode version 22.1.0.7 19:15:01 Installing lightynode device to /w/workspace/transportpce-tox-verify-transportpce-master/tests/lightynode/lightynode-openroadm-device directory 19:15:17 [ERROR] COMPILATION ERROR : 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[24,60] package org.opendaylight.transportpce.common.executor.config does not exist 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[25,60] package org.opendaylight.transportpce.common.executor.config does not exist 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[111,19] cannot find symbol 19:15:17 symbol: class ExecutorPoolConfig 19:15:17 location: class io.lighty.controllers.tpce.module.TransportPCEImpl 19:15:17 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project tpce: Compilation failure: Compilation failure: 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[24,60] package org.opendaylight.transportpce.common.executor.config does not exist 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[25,60] package org.opendaylight.transportpce.common.executor.config does not exist 19:15:17 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[111,19] cannot find symbol 19:15:17 [ERROR] symbol: class ExecutorPoolConfig 19:15:17 [ERROR] location: class io.lighty.controllers.tpce.module.TransportPCEImpl 19:15:17 [ERROR] -> [Help 1] 19:15:17 [ERROR] 19:15:17 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 19:15:17 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 19:15:17 [ERROR] 19:15:17 [ERROR] For more information about the errors and possible solutions, please read the following articles: 19:15:17 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 19:15:17 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 19:15:17 sims: OK ✔ in 14.96 seconds 19:15:17 build_karaf_tests221: OK ✔ in 57.24 seconds 19:15:17 buildlighty: exit 9 (16.84 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=4614 19:15:18 buildlighty: FAIL ✖ in 30.05 seconds 19:15:18 build_karaf_tests71: OK ✔ in 58.99 seconds 19:15:18 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 19:16:04 testsPCE: freeze> python -m pip freeze --all 19:16:04 testsPCE: bcrypt==5.0.0,certifi==2026.10.23,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.68.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.1.0,pbr==5.11.1,pillow==13.0.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pyparsing==3.3.3,pytest==9.2.0,python-dateutil==4.0.0,pytz==2026.6,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,tzdata==2026.6,urllib3==2.8.0,Werkzeug==2.0.3,xlrd==1.2.0 19:16:04 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 19:16:04 pytest -q transportpce_tests/pce/test01_pce.py 19:18:05 EEEEEEEEEEEEEEEEEEEE [100%] 19:18:07 ==================================== ERRORS ==================================== 19:18:07 _______ ERROR at setup of TestTransportPCEPce.test_01_load_port_mapping ________ 19:18:07 19:18:07 cls = 19:18:07 19:18:07 @classmethod 19:18:07 def setUpClass(cls): 19:18:07 # pylint: disable=bare-except 19:18:07 sample_files_parsed = False 19:18:07 time.sleep(20) 19:18:07 try: 19:18:07 TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 19:18:07 "..", "..", "sample_configs", "honeynode-topo.json") 19:18:07 with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: 19:18:07 cls.simple_topo_bi_dir_data = topo_bi_dir.read() 19:18:07 19:18:07 TOPO_UNI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 19:18:07 "..", "..", "sample_configs", "NW-simple-topology.json") 19:18:07 19:18:07 with open(TOPO_UNI_DIR_FILE, 'r', encoding='utf-8') as topo_uni_dir: 19:18:07 cls.simple_topo_uni_dir_data = topo_uni_dir.read() 19:18:07 19:18:07 TOPO_UNI_DIR_COMPLEX_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 19:18:07 "..", "..", "sample_configs", "NW-for-test-5-4.json") 19:18:07 with open(TOPO_UNI_DIR_COMPLEX_FILE, 'r', encoding='utf-8') as topo_uni_dir_complex: 19:18:07 cls.complex_topo_uni_dir_data = topo_uni_dir_complex.read() 19:18:07 PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 19:18:07 "..", "..", "sample_configs", "pce_portmapping_221.json") 19:18:07 with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: 19:18:07 cls.port_mapping_data = port_mapping.read() 19:18:07 sample_files_parsed = True 19:18:07 except PermissionError as err: 19:18:07 print("Permission Error when trying to read sample files\n", err) 19:18:07 sys.exit(2) 19:18:07 except FileNotFoundError as err: 19:18:07 print("File Not found Error when trying to read sample files\n", err) 19:18:07 sys.exit(2) 19:18:07 except: 19:18:07 print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) 19:18:07 sys.exit(2) 19:18:07 finally: 19:18:07 if sample_files_parsed: 19:18:07 print("sample files content loaded") 19:18:07 19:18:07 > cls.processes = test_utils.start_tpce() 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 19:18:07 transportpce_tests/pce/test01_pce.py:93: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 def start_tpce(): 19:18:07 if 'NO_ODL_STARTUP' in os.environ: 19:18:07 print('No OpenDaylight instance to start!') 19:18:07 return [] 19:18:07 print('starting OpenDaylight...') 19:18:07 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 19:18:07 process = start_lighty() 19:18:07 else: 19:18:07 process = start_karaf() 19:18:07 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 19:18:07 print('OpenDaylight started !') 19:18:07 else: 19:18:07 print('OpenDaylight failed to start !') 19:18:07 shutdown_process(process) 19:18:07 for pid in process_list: 19:18:07 shutdown_process(pid) 19:18:07 > sys.exit(1) 19:18:07 E SystemExit: 1 19:18:07 19:18:07 transportpce_tests/common/test_utils.py:234: SystemExit 19:18:07 ---------------------------- Captured stdout setup ----------------------------- 19:18:07 sample files content loaded 19:18:07 starting OpenDaylight... 19:18:07 starting KARAF (karaf) TransportPCE build... 19:18:07 Pattern not found after 100 seconds! OpenDaylight failed to start ! 19:18:07 ____ ERROR at setup of TestTransportPCEPce.test_02_load_simple_topology_bi _____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e6520> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___________ ERROR at setup of TestTransportPCEPce.test_03_get_nodeId ___________ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296840> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___________ ERROR at setup of TestTransportPCEPce.test_04_get_linkId ___________ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296ac0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ____ ERROR at setup of TestTransportPCEPce.test_05_path_computation_xpdr_bi ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91f129c2c0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ____ ERROR at setup of TestTransportPCEPce.test_06_path_computation_rdm_bi _____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e79c0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ____ ERROR at setup of TestTransportPCEPce.test_07_load_simple_topology_uni ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296ac0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___________ ERROR at setup of TestTransportPCEPce.test_08_get_nodeId ___________ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e5760> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___________ ERROR at setup of TestTransportPCEPce.test_09_get_linkId ___________ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e7ce0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___ ERROR at setup of TestTransportPCEPce.test_10_path_computation_xpdr_uni ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e7100> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ____ ERROR at setup of TestTransportPCEPce.test_11_path_computation_rdm_uni ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296840> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 _____ ERROR at setup of TestTransportPCEPce.test_12_load_complex_topology ______ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e7f60> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___________ ERROR at setup of TestTransportPCEPce.test_13_get_nodeId ___________ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e53a0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 _____ ERROR at setup of TestTransportPCEPce.test_14_fail_path_computation ______ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296840> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___ ERROR at setup of TestTransportPCEPce.test_15_success1_path_computation ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e7f60> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___ ERROR at setup of TestTransportPCEPce.test_16_success2_path_computation ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e6f20> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 ___ ERROR at setup of TestTransportPCEPce.test_17_success3_path_computation ____ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e7880> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 _ ERROR at setup of TestTransportPCEPce.test_18_path_computation_before_oms_attribute_deletion _ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e5d00> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 _ ERROR at setup of TestTransportPCEPce.test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link _ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef296200> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 _ ERROR at setup of TestTransportPCEPce.test_20_path_computation_after_oms_attribute_deletion _ 19:18:07 19:18:07 cls = 19:18:07 func = . at 0x7f91ef2e53a0> 19:18:07 when = 'setup' 19:18:07 reraise = (, ) 19:18:07 19:18:07 @classmethod 19:18:07 def from_call( 19:18:07 cls, 19:18:07 func: Callable[[], TResult], 19:18:07 when: Literal["collect", "setup", "call", "teardown"], 19:18:07 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:18:07 ) -> CallInfo[TResult]: 19:18:07 """Call func, wrapping the result in a CallInfo. 19:18:07 19:18:07 :param func: 19:18:07 The function to call. Called without arguments. 19:18:07 :type func: Callable[[], _pytest.runner.TResult] 19:18:07 :param when: 19:18:07 The phase in which the function is called. 19:18:07 :param reraise: 19:18:07 Exception or exceptions that shall propagate if raised by the 19:18:07 function, instead of being wrapped in the CallInfo. 19:18:07 """ 19:18:07 excinfo = None 19:18:07 instant = timing.Instant() 19:18:07 try: 19:18:07 > result: TResult | None = func() 19:18:07 ^^^^^^ 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:18:07 lambda: runtest_hook(item=item, **kwds), 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:18:07 return self._hookexec( 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:18:07 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:18:07 yield 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:18:07 return (yield) 19:18:07 ^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:18:07 item.session._setupstate.setup(item) 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:18:07 col.setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:18:07 super().setup() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:18:07 self._request._fillfixtures() 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:18:07 item.funcargs[argname] = self.getfixturevalue(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:18:07 fixturedef = self._get_active_fixturedef(argname) 19:18:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:18:07 fixturedef.execute(request=subrequest) 19:18:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:18:07 19:18:07 self = 19:18:07 request = > 19:18:07 19:18:07 def execute(self, request: SubRequest) -> FixtureValue: 19:18:07 """Return the value of this fixture, executing it if not cached.""" 19:18:07 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:18:07 # This needs to be done before checking if we have a cached value, since 19:18:07 # if a dependent fixture has their cache invalidated, e.g. due to 19:18:07 # parametrization, they finalize themselves and fixtures depending on it 19:18:07 # (which will likely include this fixture) setting `self.cached_result = None`. 19:18:07 # See #4871 19:18:07 requested_fixtures_that_should_finalize_us = [] 19:18:07 for argname in self.argnames: 19:18:07 fixturedef = request._get_active_fixturedef(argname) 19:18:07 # Saves requested fixtures in a list so we later can add our finalizer 19:18:07 # to them, ensuring that if a requested fixture gets torn down we get torn 19:18:07 # down first. This is generally handled by SetupState, but still currently 19:18:07 # needed when this fixture is not parametrized but depends on a parametrized 19:18:07 # fixture. 19:18:07 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:18:07 19:18:07 # Check for (and return) cached value/exception. 19:18:07 if self.cached_result is not None: 19:18:07 request_cache_key = self.cache_key(request) 19:18:07 cache_key = self.cached_result[1] 19:18:07 try: 19:18:07 # Attempt to make a normal == check: this might fail for objects 19:18:07 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:18:07 cache_hit = bool(request_cache_key == cache_key) 19:18:07 except (ValueError, RuntimeError): 19:18:07 # If the comparison raises, use 'is' as fallback. 19:18:07 cache_hit = request_cache_key is cache_key 19:18:07 19:18:07 if cache_hit: 19:18:07 if self.cached_result[2] is not None: 19:18:07 exc, exc_tb = self.cached_result[2] 19:18:07 raise exc.with_traceback(exc_tb) 19:18:07 else: 19:18:07 return self.cached_result[0] 19:18:07 # We have a previous but differently parametrized fixture instance 19:18:07 # so we need to tear it down before creating a new one. 19:18:07 self.finish(request) 19:18:07 assert self.cached_result is None 19:18:07 19:18:07 # Add finalizer to requested fixtures we saved previously. 19:18:07 # We make sure to do this after checking for cached value to avoid 19:18:07 # adding our finalizer multiple times. (#12135) 19:18:07 finalizer = functools.partial(self.finish, request=request) 19:18:07 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:18:07 parent_fixture.addfinalizer(finalizer) 19:18:07 19:18:07 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:18:07 # which is executed last. 19:18:07 > assert not self._finalizers 19:18:07 ^^^^^^^^^^^^^^^^^^^^ 19:18:07 E AssertionError 19:18:07 19:18:07 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:18:07 =========================== short test summary info ============================ 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_01_load_port_mapping 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_02_load_simple_topology_bi 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_03_get_nodeId 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_04_get_linkId 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_05_path_computation_xpdr_bi 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_06_path_computation_rdm_bi 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_07_load_simple_topology_uni 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_08_get_nodeId 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_09_get_linkId 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_10_path_computation_xpdr_uni 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_11_path_computation_rdm_uni 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_12_load_complex_topology 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_13_get_nodeId 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_14_fail_path_computation 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_15_success1_path_computation 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_16_success2_path_computation 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_17_success3_path_computation 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_18_path_computation_before_oms_attribute_deletion 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link 19:18:07 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_20_path_computation_after_oms_attribute_deletion 19:18:07 20 errors in 122.79s (0:02:02) 19:18:07 testsPCE: exit 1 (123.10 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4792 19:18:08 testsPCE: FAIL ✖ in 2 minutes 49.24 seconds 19:18:08 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 19:18:17 tests_tapi: freeze> python -m pip freeze --all 19:18:17 tests_tapi: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:18:17 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 19:18:17 using environment variables from ./karaf221.env 19:18:17 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 19:19:58 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 19:20:05 ==================================== ERRORS ==================================== 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 19:20:05 @classmethod 19:20:05 def setUpClass(cls): 19:20:05 cls.init_failed = False 19:20:05 os.environ['JAVA_MIN_MEM'] = '1024M' 19:20:05 os.environ['JAVA_MAX_MEM'] = '4096M' 19:20:05 > cls.processes = test_utils.start_tpce() 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 19:20:05 transportpce_tests/tapi/test01_abstracted_topology.py:148: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 def start_tpce(): 19:20:05 if 'NO_ODL_STARTUP' in os.environ: 19:20:05 print('No OpenDaylight instance to start!') 19:20:05 return [] 19:20:05 print('starting OpenDaylight...') 19:20:05 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 19:20:05 process = start_lighty() 19:20:05 else: 19:20:05 process = start_karaf() 19:20:05 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 19:20:05 print('OpenDaylight started !') 19:20:05 else: 19:20:05 print('OpenDaylight failed to start !') 19:20:05 shutdown_process(process) 19:20:05 for pid in process_list: 19:20:05 shutdown_process(pid) 19:20:05 > sys.exit(1) 19:20:05 E SystemExit: 1 19:20:05 19:20:05 transportpce_tests/common/test_utils.py:234: SystemExit 19:20:05 ---------------------------- Captured stdout setup ----------------------------- 19:20:05 starting OpenDaylight... 19:20:05 starting KARAF (karaf221) TransportPCE build... 19:20:05 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af9c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41437cea0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af100> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121aeac0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af100> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af100> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af100> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af100> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e0c0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215cfe0> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc4121af060> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215de40> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 19:20:05 19:20:05 cls = 19:20:05 func = . at 0x7fc41215e340> 19:20:05 when = 'setup' 19:20:05 reraise = (, ) 19:20:05 19:20:05 @classmethod 19:20:05 def from_call( 19:20:05 cls, 19:20:05 func: Callable[[], TResult], 19:20:05 when: Literal["collect", "setup", "call", "teardown"], 19:20:05 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:20:05 ) -> CallInfo[TResult]: 19:20:05 """Call func, wrapping the result in a CallInfo. 19:20:05 19:20:05 :param func: 19:20:05 The function to call. Called without arguments. 19:20:05 :type func: Callable[[], _pytest.runner.TResult] 19:20:05 :param when: 19:20:05 The phase in which the function is called. 19:20:05 :param reraise: 19:20:05 Exception or exceptions that shall propagate if raised by the 19:20:05 function, instead of being wrapped in the CallInfo. 19:20:05 """ 19:20:05 excinfo = None 19:20:05 instant = timing.Instant() 19:20:05 try: 19:20:05 > result: TResult | None = func() 19:20:05 ^^^^^^ 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:20:05 lambda: runtest_hook(item=item, **kwds), 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:20:05 return self._hookexec( 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:20:05 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:20:05 yield 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:20:05 return (yield) 19:20:05 ^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:20:05 item.session._setupstate.setup(item) 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:20:05 col.setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:20:05 super().setup() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:20:05 self._request._fillfixtures() 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:20:05 item.funcargs[argname] = self.getfixturevalue(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:20:05 fixturedef = self._get_active_fixturedef(argname) 19:20:05 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:20:05 fixturedef.execute(request=subrequest) 19:20:05 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:20:05 19:20:05 self = 19:20:05 request = > 19:20:05 19:20:05 def execute(self, request: SubRequest) -> FixtureValue: 19:20:05 """Return the value of this fixture, executing it if not cached.""" 19:20:05 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:20:05 # This needs to be done before checking if we have a cached value, since 19:20:05 # if a dependent fixture has their cache invalidated, e.g. due to 19:20:05 # parametrization, they finalize themselves and fixtures depending on it 19:20:05 # (which will likely include this fixture) setting `self.cached_result = None`. 19:20:05 # See #4871 19:20:05 requested_fixtures_that_should_finalize_us = [] 19:20:05 for argname in self.argnames: 19:20:05 fixturedef = request._get_active_fixturedef(argname) 19:20:05 # Saves requested fixtures in a list so we later can add our finalizer 19:20:05 # to them, ensuring that if a requested fixture gets torn down we get torn 19:20:05 # down first. This is generally handled by SetupState, but still currently 19:20:05 # needed when this fixture is not parametrized but depends on a parametrized 19:20:05 # fixture. 19:20:05 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:20:05 19:20:05 # Check for (and return) cached value/exception. 19:20:05 if self.cached_result is not None: 19:20:05 request_cache_key = self.cache_key(request) 19:20:05 cache_key = self.cached_result[1] 19:20:05 try: 19:20:05 # Attempt to make a normal == check: this might fail for objects 19:20:05 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:20:05 cache_hit = bool(request_cache_key == cache_key) 19:20:05 except (ValueError, RuntimeError): 19:20:05 # If the comparison raises, use 'is' as fallback. 19:20:05 cache_hit = request_cache_key is cache_key 19:20:05 19:20:05 if cache_hit: 19:20:05 if self.cached_result[2] is not None: 19:20:05 exc, exc_tb = self.cached_result[2] 19:20:05 raise exc.with_traceback(exc_tb) 19:20:05 else: 19:20:05 return self.cached_result[0] 19:20:05 # We have a previous but differently parametrized fixture instance 19:20:05 # so we need to tear it down before creating a new one. 19:20:05 self.finish(request) 19:20:05 assert self.cached_result is None 19:20:05 19:20:05 # Add finalizer to requested fixtures we saved previously. 19:20:05 # We make sure to do this after checking for cached value to avoid 19:20:05 # adding our finalizer multiple times. (#12135) 19:20:05 finalizer = functools.partial(self.finish, request=request) 19:20:05 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:20:05 parent_fixture.addfinalizer(finalizer) 19:20:05 19:20:05 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:20:05 # which is executed last. 19:20:05 > assert not self._finalizers 19:20:05 ^^^^^^^^^^^^^^^^^^^^ 19:20:05 E AssertionError 19:20:05 19:20:05 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:20:05 =========================== short test summary info ============================ 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 19:20:05 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 19:20:05 51 errors in 107.75s (0:01:47) 19:20:05 tests_tapi: exit 1 (108.10 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=4867 19:20:05 tests_tapi: FAIL ✖ in 1 minute 57.51 seconds 19:20:05 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 19:20:05 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 19:20:15 tests200: freeze> python -m pip freeze --all 19:20:15 tests221: freeze> python -m pip freeze --all 19:20:15 tests200: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:20:15 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 19:20:15 using environment variables from ./karafoc200.env 19:20:15 pytest -q transportpce_tests/oc200/test01_portmapping.py 19:20:15 tests221: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:20:15 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 19:20:15 using environment variables from ./karaf221.env 19:20:15 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 19:20:55 ................................... [100%] 19:21:35 35 passed in 79.91s (0:01:19) 19:21:35 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 19:21:55 EEEEEEEEEE [100%] 19:21:57 ==================================== ERRORS ==================================== 19:21:57 __ ERROR at setup of TestTransportPCEPortmapping.test_01_meta_data_insertion ___ 19:21:57 19:21:57 cls = 19:21:57 19:21:57 @classmethod 19:21:57 def setUpClass(cls): 19:21:57 > cls.processes = test_utils.start_tpce() 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 19:21:57 transportpce_tests/oc200/test01_portmapping.py:29: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 def start_tpce(): 19:21:57 if 'NO_ODL_STARTUP' in os.environ: 19:21:57 print('No OpenDaylight instance to start!') 19:21:57 return [] 19:21:57 print('starting OpenDaylight...') 19:21:57 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 19:21:57 process = start_lighty() 19:21:57 else: 19:21:57 process = start_karaf() 19:21:57 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 19:21:57 print('OpenDaylight started !') 19:21:57 else: 19:21:57 print('OpenDaylight failed to start !') 19:21:57 shutdown_process(process) 19:21:57 for pid in process_list: 19:21:57 shutdown_process(pid) 19:21:57 > sys.exit(1) 19:21:57 E SystemExit: 1 19:21:57 19:21:57 transportpce_tests/common/test_utils.py:234: SystemExit 19:21:57 ---------------------------- Captured stdout setup ----------------------------- 19:21:57 starting OpenDaylight... 19:21:57 starting KARAF (karafoc200) TransportPCE build... 19:21:57 Pattern not found after 100 seconds! OpenDaylight failed to start ! 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_02_catalog_input_insertion _ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f63b00> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_device_connection _ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f63240> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_04_xpdr_device_connected __ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f02ac0> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_05_xpdr_portmapping_info __ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f921686ade0> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f628e0> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f02b60> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 __ ERROR at setup of TestTransportPCEPortmapping.test_08_mpdr_switching_pool ___ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f62ca0> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 ___ ERROR at setup of TestTransportPCEPortmapping.test_09_check_mccapprofile ___ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f60900> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 19:21:57 19:21:57 cls = 19:21:57 func = . at 0x7f9214f02b60> 19:21:57 when = 'setup' 19:21:57 reraise = (, ) 19:21:57 19:21:57 @classmethod 19:21:57 def from_call( 19:21:57 cls, 19:21:57 func: Callable[[], TResult], 19:21:57 when: Literal["collect", "setup", "call", "teardown"], 19:21:57 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 19:21:57 ) -> CallInfo[TResult]: 19:21:57 """Call func, wrapping the result in a CallInfo. 19:21:57 19:21:57 :param func: 19:21:57 The function to call. Called without arguments. 19:21:57 :type func: Callable[[], _pytest.runner.TResult] 19:21:57 :param when: 19:21:57 The phase in which the function is called. 19:21:57 :param reraise: 19:21:57 Exception or exceptions that shall propagate if raised by the 19:21:57 function, instead of being wrapped in the CallInfo. 19:21:57 """ 19:21:57 excinfo = None 19:21:57 instant = timing.Instant() 19:21:57 try: 19:21:57 > result: TResult | None = func() 19:21:57 ^^^^^^ 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 19:21:57 lambda: runtest_hook(item=item, **kwds), 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 19:21:57 return self._hookexec( 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 19:21:57 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:871: in pytest_runtest_setup 19:21:57 yield 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:901: in pytest_runtest_setup 19:21:57 return (yield) 19:21:57 ^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 19:21:57 item.session._setupstate.setup(item) 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 19:21:57 col.setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:246: in setup 19:21:57 super().setup() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1801: in setup 19:21:57 self._request._fillfixtures() 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:877: in _fillfixtures 19:21:57 item.funcargs[argname] = self.getfixturevalue(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:701: in getfixturevalue 19:21:57 fixturedef = self._get_active_fixturedef(argname) 19:21:57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:797: in _get_active_fixturedef 19:21:57 fixturedef.execute(request=subrequest) 19:21:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 19:21:57 19:21:57 self = 19:21:57 request = > 19:21:57 19:21:57 def execute(self, request: SubRequest) -> FixtureValue: 19:21:57 """Return the value of this fixture, executing it if not cached.""" 19:21:57 # Ensure that the dependent fixtures requested by this fixture are loaded. 19:21:57 # This needs to be done before checking if we have a cached value, since 19:21:57 # if a dependent fixture has their cache invalidated, e.g. due to 19:21:57 # parametrization, they finalize themselves and fixtures depending on it 19:21:57 # (which will likely include this fixture) setting `self.cached_result = None`. 19:21:57 # See #4871 19:21:57 requested_fixtures_that_should_finalize_us = [] 19:21:57 for argname in self.argnames: 19:21:57 fixturedef = request._get_active_fixturedef(argname) 19:21:57 # Saves requested fixtures in a list so we later can add our finalizer 19:21:57 # to them, ensuring that if a requested fixture gets torn down we get torn 19:21:57 # down first. This is generally handled by SetupState, but still currently 19:21:57 # needed when this fixture is not parametrized but depends on a parametrized 19:21:57 # fixture. 19:21:57 requested_fixtures_that_should_finalize_us.append(fixturedef) 19:21:57 19:21:57 # Check for (and return) cached value/exception. 19:21:57 if self.cached_result is not None: 19:21:57 request_cache_key = self.cache_key(request) 19:21:57 cache_key = self.cached_result[1] 19:21:57 try: 19:21:57 # Attempt to make a normal == check: this might fail for objects 19:21:57 # which do not implement the standard comparison (like numpy arrays -- #6497). 19:21:57 cache_hit = bool(request_cache_key == cache_key) 19:21:57 except (ValueError, RuntimeError): 19:21:57 # If the comparison raises, use 'is' as fallback. 19:21:57 cache_hit = request_cache_key is cache_key 19:21:57 19:21:57 if cache_hit: 19:21:57 if self.cached_result[2] is not None: 19:21:57 exc, exc_tb = self.cached_result[2] 19:21:57 raise exc.with_traceback(exc_tb) 19:21:57 else: 19:21:57 return self.cached_result[0] 19:21:57 # We have a previous but differently parametrized fixture instance 19:21:57 # so we need to tear it down before creating a new one. 19:21:57 self.finish(request) 19:21:57 assert self.cached_result is None 19:21:57 19:21:57 # Add finalizer to requested fixtures we saved previously. 19:21:57 # We make sure to do this after checking for cached value to avoid 19:21:57 # adding our finalizer multiple times. (#12135) 19:21:57 finalizer = functools.partial(self.finish, request=request) 19:21:57 for parent_fixture in requested_fixtures_that_should_finalize_us: 19:21:57 parent_fixture.addfinalizer(finalizer) 19:21:57 19:21:57 # Register the pytest_fixture_post_finalizer as the first finalizer, 19:21:57 # which is executed last. 19:21:57 > assert not self._finalizers 19:21:57 ^^^^^^^^^^^^^^^^^^^^ 19:21:57 E AssertionError 19:21:57 19:21:57 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1290: AssertionError 19:21:57 =========================== short test summary info ============================ 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catalog_input_insertion 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 19:21:57 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 19:21:57 10 errors in 101.60s (0:01:41) 19:21:57 tests200: exit 1 (101.88 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=5433 19:21:57 tests200: FAIL ✖ in 1 minute 51.71 seconds 19:21:57 tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 19:22:04 tests71: freeze> python -m pip freeze --all 19:22:04 tests71: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 19:22:04 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 19:22:04 using environment variables from ./karaf71.env 19:22:04 pytest -q transportpce_tests/7.1/test01_portmapping.py 19:22:12 ...... [100%] 19:22:27 6 passed in 51.52s 19:22:27 pytest -q transportpce_tests/2.2.1/test03_topology.py 19:22:44 ............ [100%] 19:22:58 12 passed in 53.37s 19:22:58 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 19:23:26 ..................................................................................... [100%] 19:25:02 44 passed in 154.31s (0:02:34) 19:25:02 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 19:25:03 ......................... [100%] 19:25:46 62 passed in 168.31s (0:02:48) 19:25:46 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 19:25:48 ........ [100%] 19:26:04 12 passed in 61.97s (0:01:01) 19:26:04 pytest -q transportpce_tests/2.2.1/test05_flex_grid.py 19:26:27 ............................................................... [100%] 19:28:09 16 passed in 124.73s (0:02:04) 19:28:09 pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py 19:28:09 . [100%] 19:28:12 48 passed in 145.25s (0:02:25) 19:28:12 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 19:28:51 .................................. [100%] 19:28:59 31 passed in 49.24s 19:28:59 pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py 19:29:00 .................... [100%] 19:29:41 22 passed in 88.96s (0:01:28) 19:29:42 ......................... [100%] 19:30:36 26 passed in 97.24s (0:01:37) 19:30:36 pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py 19:31:17 ...................... [100%] 19:32:21 22 passed in 104.44s (0:01:44) 19:32:21 pytest -q transportpce_tests/2.2.1/test09_olm.py 19:33:08 ........................................ [100%] 19:35:30 40 passed in 188.41s (0:03:08) 19:35:30 pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py 19:36:17 ........................................................................ [ 74%] 19:41:55 ......................... [100%] 19:46:47 97 passed in 676.60s (0:11:16) 19:46:47 pytest -q transportpce_tests/2.2.1/test12_end2end.py 19:47:30 ...................................................... [100%] 19:54:17 54 passed in 450.29s (0:07:30) 19:54:17 pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py 19:55:17 ........................................................................ [ 71%] 20:00:28 ............................. [100%] 20:02:38 101 passed in 500.09s (0:08:20) 20:02:38 pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py 20:03:38 ........................................................................ [ 67%] 20:09:26 ................................... [100%] 20:12:48 107 passed in 609.35s (0:10:09) 20:12:48 pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py 20:13:33 ............................................. [100%] 20:16:11 45 passed in 203.59s (0:03:23) 20:16:12 tests71: OK ✔ in 7 minutes 44.46 seconds 20:16:12 tests221: OK ✔ in 56 minutes 6.54 seconds 20:16:12 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 20:16:19 tests_hybrid: freeze> python -m pip freeze --all 20:16:19 tests_hybrid: bcrypt==5.0.0,certifi==2026.10.23,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.1.0,pip==26.3,pluggy==1.7.0,psutil==7.2.2,pycparser==3.12,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.2.0,requests==2.34.2,setuptools==84.2.1,urllib3==2.8.0 20:16:19 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 20:16:19 using environment variables from ./karaf221.env 20:16:19 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 20:17:03 ................................................... [100%] 20:18:50 51 passed in 150.61s (0:02:30) 20:18:50 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 20:19:37 ........................................................................ [ 66%] 20:23:58 ..................................... [100%] 20:26:05 109 passed in 434.14s (0:07:14) 20:26:05 pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py 20:26:57 ..................................................... [100%] 20:30:30 53 passed in 265.25s (0:04:25) 20:30:30 buildcontroller: FAIL code 1 (50.12=setup[7.84]+cmd[42.28] seconds) 20:30:30 sims: OK (14.96=setup[10.93]+cmd[4.02] seconds) 20:30:30 testsPCE: FAIL code 1 (169.24=setup[46.14]+cmd[123.10] seconds) 20:30:30 build_karaf_tests221: OK (57.24=setup[10.61]+cmd[46.63] seconds) 20:30:30 tests_tapi: FAIL code 1 (117.51=setup[9.41]+cmd[108.10] seconds) 20:30:30 tests221: OK (3366.54=setup[9.99]+cmd[3356.55] seconds) 20:30:30 build_karaf_tests71: OK (58.99=setup[10.32]+cmd[48.67] seconds) 20:30:30 tests71: OK (464.46=setup[7.16]+cmd[457.30] seconds) 20:30:30 build_karaf_tests200: FAIL code 127 (27.38=setup[10.48]+cmd[16.90] seconds) 20:30:30 tests200: FAIL code 1 (111.71=setup[9.83]+cmd[101.88] seconds) 20:30:30 tests_hybrid: OK (858.72=setup[7.80]+cmd[850.93] seconds) 20:30:30 buildlighty: FAIL code 9 (30.05=setup[13.21]+cmd[16.84] seconds) 20:30:30 docs: OK (23.49=setup[20.25]+cmd[3.24] seconds) 20:30:30 docs-linkcheck: OK (25.13=setup[20.84]+cmd[4.29] seconds) 20:30:30 checkbashisms: OK (3.11=setup[1.90]+cmd[0.00,0.04,1.17] seconds) 20:30:30 pre-commit: OK (77.56=setup[3.40]+cmd[0.00,0.00,55.14,19.01] seconds) 20:30:30 pylint: OK (24.41=setup[3.86]+cmd[20.54] seconds) 20:30:30 evaluation failed :( (4621.20 seconds) 20:30:30 + tox_status=1 20:30:30 + echo '---> Completed tox runs' 20:30:30 ---> Completed tox runs 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/build_karaf_tests200/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=build_karaf_tests200 20:30:30 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/build_karaf_tests221/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=build_karaf_tests221 20:30:30 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/build_karaf_tests71/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=build_karaf_tests71 20:30:30 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/buildcontroller/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=buildcontroller 20:30:30 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/buildlighty/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=buildlighty 20:30:30 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/checkbashisms/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=checkbashisms 20:30:30 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/docs-linkcheck/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=docs-linkcheck 20:30:30 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/docs/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=docs 20:30:30 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/pre-commit/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=pre-commit 20:30:30 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/pylint/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=pylint 20:30:30 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/sims/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=sims 20:30:30 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/tests200/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=tests200 20:30:30 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/tests221/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=tests221 20:30:30 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/tests71/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=tests71 20:30:30 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/testsPCE/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=testsPCE 20:30:30 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 20:30:30 + for i in .tox/*/log 20:30:30 ++ echo .tox/tests_hybrid/log 20:30:30 ++ awk -F/ '{print $2}' 20:30:30 + tox_env=tests_hybrid 20:30:30 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 20:30:31 + for i in .tox/*/log 20:30:31 ++ awk -F/ '{print $2}' 20:30:31 ++ echo .tox/tests_tapi/log 20:30:31 + tox_env=tests_tapi 20:30:31 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 20:30:31 + DOC_DIR=docs/_build/html 20:30:31 + [[ -d docs/_build/html ]] 20:30:31 + echo '---> Archiving generated docs' 20:30:31 ---> Archiving generated docs 20:30:31 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 20:30:31 + echo '---> tox-run.sh ends' 20:30:31 ---> tox-run.sh ends 20:30:31 + test 1 -eq 0 20:30:31 + exit 1 20:30:31 ++ '[' 1 = 1 ']' 20:30:31 ++ '[' -x /usr/bin/clear_console ']' 20:30:31 ++ /usr/bin/clear_console -q 20:30:31 Build step 'Execute shell' marked build as failure 20:30:31 $ ssh-agent -k 20:30:31 unset SSH_AUTH_SOCK; 20:30:31 unset SSH_AGENT_PID; 20:30:31 echo Agent pid 1566 killed; 20:30:31 [ssh-agent] Stopped. 20:30:31 [PostBuildScript] - [INFO] Executing post build scripts. 20:30:31 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13052447500393502886.sh 20:30:31 ---> sysstat.sh 20:30:31 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9941446392130383382.sh 20:30:31 ---> package-listing.sh 20:30:31 + '[' -f /etc/os-release ']' 20:30:31 + . /etc/os-release 20:30:31 ++ PRETTY_NAME='Ubuntu 22.04.5 LTS' 20:30:31 ++ NAME=Ubuntu 20:30:31 ++ VERSION_ID=22.04 20:30:31 ++ VERSION='22.04.5 LTS (Jammy Jellyfish)' 20:30:31 ++ VERSION_CODENAME=jammy 20:30:31 ++ ID=ubuntu 20:30:31 ++ ID_LIKE=debian 20:30:31 ++ HOME_URL=https://www.ubuntu.com/ 20:30:31 ++ SUPPORT_URL=https://help.ubuntu.com/ 20:30:31 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 20:30:31 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 20:30:31 ++ UBUNTU_CODENAME=jammy 20:30:31 + case " ${ID:-} ${ID_LIKE:-} " in 20:30:31 + OS_FAMILY=debian 20:30:31 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 20:30:31 + START_PACKAGES=/tmp/packages_start.txt 20:30:31 + END_PACKAGES=/tmp/packages_end.txt 20:30:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:30:31 + PACKAGES=/tmp/packages_start.txt 20:30:31 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 20:30:31 + PACKAGES=/tmp/packages_end.txt 20:30:31 + case "${OS_FAMILY}" in 20:30:31 + dpkg -l 20:30:31 + grep '^ii' 20:30:31 + '[' -f /tmp/packages_start.txt ']' 20:30:31 + '[' -f /tmp/packages_end.txt ']' 20:30:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:30:31 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 20:30:31 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 20:30:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 20:30:31 + exit 0 20:30:31 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins17276225417516433610.sh 20:30:31 ---> capture-instance-metadata.sh 20:30:31 Setup pyenv: 20:30:31 system 20:30:31 3.8.20 20:30:31 3.9.20 20:30:31 3.10.15 20:30:31 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 20:30:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ebsI from file:/tmp/.os_lf_venv 20:30:31 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 20:30:34 lf-activate-venv(): INFO: Installing additional packages: lftools 20:30:52 lf-activate-venv(): INFO: Adding /tmp/venv-ebsI/bin to PATH 20:30:52 INFO: Running in OpenStack, capturing instance metadata 20:30:52 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9506925970396419193.sh 20:30:52 provisioning config files... 20:30:53 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #6452 20:30:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config15978501157260015552tmp 20:30:53 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 20:30:53 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 20:30:53 provisioning config files... 20:30:53 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 20:30:53 [EnvInject] - Injecting environment variables from a build step. 20:30:53 [EnvInject] - Injecting as environment variables the properties content 20:30:53 SERVER_ID=logs 20:30:53 20:30:53 [EnvInject] - Variables injected successfully. 20:30:53 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12959954258744479325.sh 20:30:53 ---> create-netrc.sh 20:30:53 WARN: Log server credential not found. 20:30:53 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13783687567578872424.sh 20:30:53 ---> python-tools-install.sh 20:30:53 Setup pyenv: 20:30:53 system 20:30:53 3.8.20 20:30:53 3.9.20 20:30:53 3.10.15 20:30:53 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 20:30:54 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ebsI from file:/tmp/.os_lf_venv 20:30:54 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 20:30:55 lf-activate-venv(): INFO: Installing additional packages: lftools 20:31:05 lf-activate-venv(): INFO: Adding /tmp/venv-ebsI/bin to PATH 20:31:05 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins18303462370914857964.sh 20:31:05 ---> uv-install.sh 20:31:05 uv 0.13.7 is already installed 20:31:05 uvx 0.13.7 (x86_64-unknown-linux-gnu) 20:31:05 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9656533990591908056.sh 20:31:05 ---> sudo-logs.sh 20:31:05 Archiving 'sudo' log.. 20:31:05 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12255838574748758957.sh 20:31:05 ---> job-cost.sh 20:31:05 INFO: Activating Python virtual environment... 20:31:05 Setup pyenv: 20:31:05 system 20:31:05 3.8.20 20:31:05 3.9.20 20:31:05 3.10.15 20:31:06 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 20:31:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ebsI from file:/tmp/.os_lf_venv 20:31:06 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 20:31:08 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 20:31:17 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. 20:31:17 botocore 1.43.123 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 4.0.0 which is incompatible. 20:31:18 lf-activate-venv(): INFO: Adding /tmp/venv-ebsI/bin to PATH 20:31:18 INFO: No stack-cost file found 20:31:18 INFO: Instance uptime: 4814s 20:31:18 INFO: Fetching instance metadata (attempt 1 of 3)... 20:31:18 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 20:31:18 INFO: Successfully fetched instance metadata 20:31:18 INFO: Instance type: v3-standard-4 20:31:18 INFO: Retrieving pricing info for: v3-standard-4 20:31:18 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 20:31:18 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=4814 20:31:18 INFO: Successfully fetched Vexxhost pricing API 20:31:18 INFO: Retrieved cost: 0.22 20:31:19 INFO: Retrieved resource: v3-standard-4 20:31:19 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 20:31:19 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 20:31:19 INFO: Successfully archived job cost data 20:31:19 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,6452,2026-11-04 20:31:19,v3-standard-4,4814,0.22,0.00,FAILURE 20:31:19 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins9540925248164239336.sh 20:31:19 ---> logs-deploy.sh 20:31:19 Setup pyenv: 20:31:19 system 20:31:19 3.8.20 20:31:19 3.9.20 20:31:19 3.10.15 20:31:19 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 20:31:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ebsI from file:/tmp/.os_lf_venv 20:31:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 20:31:21 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 20:31:30 lf-activate-venv(): INFO: Adding /tmp/venv-ebsI/bin to PATH 20:31:30 WARNING: Nexus logging server not set 20:31:30 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/6452/ 20:31:30 INFO: archiving logs to S3 20:31:31 ---> uname -a: 20:31:31 Linux prd-ubuntu2204-docker-4c-16g-68540 5.15.0-202-generic #212-Ubuntu SMP Thu Oct 15 16:49:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 20:31:31 20:31:31 20:31:31 ---> lscpu: 20:31:31 Architecture: x86_64 20:31:31 CPU op-mode(s): 32-bit, 64-bit 20:31:31 Address sizes: 40 bits physical, 48 bits virtual 20:31:31 Byte Order: Little Endian 20:31:31 CPU(s): 4 20:31:31 On-line CPU(s) list: 0-3 20:31:31 Vendor ID: AuthenticAMD 20:31:31 Model name: AMD EPYC-Rome Processor 20:31:31 CPU family: 23 20:31:31 Model: 49 20:31:31 Thread(s) per core: 1 20:31:31 Core(s) per socket: 1 20:31:31 Socket(s): 4 20:31:31 Stepping: 0 20:31:31 BogoMIPS: 5599.99 20:31:31 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 20:31:31 Virtualization: AMD-V 20:31:31 Hypervisor vendor: KVM 20:31:31 Virtualization type: full 20:31:31 L1d cache: 128 KiB (4 instances) 20:31:31 L1i cache: 128 KiB (4 instances) 20:31:31 L2 cache: 2 MiB (4 instances) 20:31:31 L3 cache: 64 MiB (4 instances) 20:31:31 NUMA node(s): 1 20:31:31 NUMA node0 CPU(s): 0-3 20:31:31 Vulnerability Gather data sampling: Not affected 20:31:31 Vulnerability Indirect target selection: Not affected 20:31:31 Vulnerability Itlb multihit: Not affected 20:31:31 Vulnerability L1tf: Not affected 20:31:31 Vulnerability Mds: Not affected 20:31:31 Vulnerability Meltdown: Not affected 20:31:31 Vulnerability Mmio stale data: Not affected 20:31:31 Vulnerability Reg file data sampling: Not affected 20:31:31 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 20:31:31 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 20:31:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:31:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:31:31 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 20:31:31 Vulnerability Srbds: Not affected 20:31:31 Vulnerability Tsa: Not affected 20:31:31 Vulnerability Tsx async abort: Not affected 20:31:31 Vulnerability Vmscape: Not affected 20:31:31 20:31:31 20:31:31 ---> nproc: 20:31:31 4 20:31:31 20:31:31 20:31:31 ---> df -h: 20:31:31 Filesystem Size Used Avail Use% Mounted on 20:31:31 tmpfs 1.6G 1.1M 1.6G 1% /run 20:31:31 /dev/vda1 78G 14G 64G 18% / 20:31:31 tmpfs 7.9G 0 7.9G 0% /dev/shm 20:31:31 tmpfs 5.0M 0 5.0M 0% /run/lock 20:31:31 /dev/vda15 105M 6.1M 99M 6% /boot/efi 20:31:31 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 20:31:31 20:31:31 20:31:31 ---> free -m: 20:31:31 total used free shared buff/cache available 20:31:31 Mem: 15989 723 6681 4 8584 14922 20:31:31 Swap: 1023 0 1023 20:31:31 20:31:31 20:31:31 ---> ip addr: 20:31:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 20:31:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:31:31 inet 127.0.0.1/8 scope host lo 20:31:31 valid_lft forever preferred_lft forever 20:31:31 inet6 ::1/128 scope host 20:31:31 valid_lft forever preferred_lft forever 20:31:31 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 20:31:31 link/ether fa:16:3e:7b:96:7f brd ff:ff:ff:ff:ff:ff 20:31:31 altname enp0s3 20:31:31 inet 10.30.170.67/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 20:31:31 valid_lft 81580sec preferred_lft 81580sec 20:31:31 inet6 fe80::f816:3eff:fe7b:967f/64 scope link 20:31:31 valid_lft forever preferred_lft forever 20:31:31 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 20:31:31 link/ether a2:0c:34:0a:8f:d6 brd ff:ff:ff:ff:ff:ff 20:31:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:31:31 valid_lft forever preferred_lft forever 20:31:31 inet6 fe80::a00c:34ff:fe0a:8fd6/64 scope link 20:31:31 valid_lft forever preferred_lft forever 20:31:31 20:31:31 20:31:31 ---> sar -b -r -n DEV: 20:31:31 Linux 5.15.0-202-generic (prd-ubuntu2204-docker-4c-16g-68540) 11/04/26 _x86_64_ (4 CPU) 20:31:31 20:31:31 19:11:13 LINUX RESTART (4 CPU) 20:31:31 20:31:31 19:20:06 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:31:31 19:30:37 49.35 0.27 33.36 15.72 14.24 2097.47 214584.58 20:31:31 19:40:46 9.11 0.01 8.73 0.37 0.72 189.38 325.77 20:31:31 19:50:46 5.64 0.00 5.45 0.20 0.15 114.23 50.07 20:31:31 20:00:46 5.79 0.00 5.61 0.18 0.00 134.67 88.89 20:31:31 20:10:46 5.01 0.00 4.82 0.19 0.00 123.39 72.21 20:31:31 20:20:40 11.32 0.00 10.77 0.55 0.00 599.77 160.02 20:31:31 20:30:31 6.03 0.00 5.85 0.18 0.05 165.17 55.14 20:31:31 Average: 13.45 0.04 10.83 2.58 2.26 500.68 32137.40 20:31:31 20:31:31 19:20:06 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:31:31 19:30:37 7257404 15322984 610468 3.73 234244 7685576 1395060 8.01 1485156 6948144 3244 20:31:31 19:40:46 3200196 11279176 4651900 28.41 235740 7697032 5358628 30.76 1488268 10976360 84 20:31:31 19:50:46 3379624 11468316 4462680 27.26 236552 7705756 5275536 30.28 1490328 10802584 268 20:31:31 20:00:46 1717680 9819912 6110236 37.32 237416 7718008 6837708 39.25 1493096 12451924 112 20:31:31 20:10:46 1630984 9748024 6181904 37.76 238460 7731376 6883180 39.51 1496964 12533348 192 20:31:31 20:20:40 3197220 11447260 4483176 27.38 242820 7850112 5211156 29.91 1513048 10955656 172 20:31:31 20:30:31 6949720 15373876 558004 3.41 243856 8018480 1222368 7.02 1528000 7174744 148424 20:31:31 Average: 3904690 12065650 3865481 23.61 238441 7772334 4597662 26.39 1499266 10263251 21785 20:31:31 20:31:31 19:20:06 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:31:31 19:30:37 lo 25.78 25.78 13.64 13.64 0.00 0.00 0.00 0.00 20:31:31 19:30:37 ens3 1.84 1.76 0.55 0.55 0.00 0.00 0.00 0.00 20:31:31 19:30:37 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 19:40:46 lo 19.35 19.35 10.14 10.14 0.00 0.00 0.00 0.00 20:31:31 19:40:46 ens3 0.66 0.71 0.15 0.13 0.00 0.00 0.00 0.00 20:31:31 19:40:46 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 19:50:46 lo 16.49 16.49 6.24 6.24 0.00 0.00 0.00 0.00 20:31:31 19:50:46 ens3 0.42 0.45 0.10 0.08 0.00 0.00 0.00 0.00 20:31:31 19:50:46 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 20:00:46 lo 25.41 25.41 10.88 10.88 0.00 0.00 0.00 0.00 20:31:31 20:00:46 ens3 0.74 0.82 0.13 0.96 0.00 0.00 0.00 0.00 20:31:31 20:00:46 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 20:10:46 lo 17.38 17.38 10.38 10.38 0.00 0.00 0.00 0.00 20:31:31 20:10:46 ens3 0.77 0.60 0.24 0.19 0.00 0.00 0.00 0.00 20:31:31 20:10:46 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 20:20:40 lo 18.97 18.97 10.07 10.07 0.00 0.00 0.00 0.00 20:31:31 20:20:40 ens3 0.96 0.93 0.25 0.20 0.00 0.00 0.00 0.00 20:31:31 20:20:40 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 20:30:31 lo 33.46 33.46 13.03 13.03 0.00 0.00 0.00 0.00 20:31:31 20:30:31 ens3 1.07 1.04 0.30 0.25 0.00 0.00 0.00 0.00 20:31:31 20:30:31 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 Average: lo 22.40 22.40 10.64 10.64 0.00 0.00 0.00 0.00 20:31:31 Average: ens3 0.93 0.91 0.25 0.34 0.00 0.00 0.00 0.00 20:31:31 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:31 20:31:31 20:31:31 ---> sar -P ALL: 20:31:31 Linux 5.15.0-202-generic (prd-ubuntu2204-docker-4c-16g-68540) 11/04/26 _x86_64_ (4 CPU) 20:31:31 20:31:31 19:11:13 LINUX RESTART (4 CPU) 20:31:31 20:31:31 19:20:06 CPU %user %nice %system %iowait %steal %idle 20:31:31 19:30:37 all 41.60 0.00 1.60 0.12 0.03 56.64 20:31:31 19:30:37 0 40.95 0.00 1.73 0.11 0.03 57.18 20:31:31 19:30:37 1 41.97 0.00 1.52 0.05 0.03 56.43 20:31:31 19:30:37 2 41.86 0.00 1.53 0.17 0.03 56.41 20:31:31 19:30:37 3 41.63 0.00 1.62 0.17 0.03 56.56 20:31:31 19:40:46 all 18.01 0.00 0.83 0.04 0.02 81.09 20:31:31 19:40:46 0 17.81 0.00 0.94 0.05 0.02 81.19 20:31:31 19:40:46 1 18.12 0.00 0.77 0.08 0.02 81.02 20:31:31 19:40:46 2 17.82 0.00 0.77 0.02 0.02 81.36 20:31:31 19:40:46 3 18.31 0.00 0.85 0.03 0.01 80.80 20:31:31 19:50:46 all 7.68 0.00 0.56 0.02 0.01 91.72 20:31:31 19:50:46 0 7.88 0.00 0.61 0.01 0.01 91.49 20:31:31 19:50:46 1 7.54 0.00 0.59 0.06 0.01 91.80 20:31:31 19:50:46 2 7.73 0.00 0.52 0.02 0.01 91.72 20:31:31 19:50:46 3 7.58 0.00 0.52 0.01 0.01 91.88 20:31:31 20:00:46 all 10.59 0.00 0.60 0.03 0.01 88.77 20:31:31 20:00:46 0 10.46 0.00 0.68 0.02 0.01 88.84 20:31:31 20:00:46 1 10.75 0.00 0.57 0.03 0.01 88.63 20:31:31 20:00:46 2 10.41 0.00 0.52 0.07 0.01 89.00 20:31:31 20:00:46 3 10.74 0.00 0.61 0.02 0.01 88.62 20:31:31 20:10:46 all 10.37 0.00 0.70 0.03 0.01 88.88 20:31:31 20:10:46 0 10.70 0.00 0.80 0.01 0.01 88.48 20:31:31 20:10:46 1 10.28 0.00 0.68 0.04 0.01 89.00 20:31:31 20:10:46 2 9.94 0.00 0.64 0.02 0.01 89.40 20:31:31 20:10:46 3 10.58 0.00 0.71 0.04 0.02 88.65 20:31:31 20:20:40 all 19.52 0.00 0.89 0.05 0.02 79.52 20:31:31 20:20:40 0 19.19 0.00 0.95 0.05 0.02 79.80 20:31:31 20:20:40 1 20.29 0.00 0.87 0.03 0.02 78.79 20:31:31 20:20:40 2 18.79 0.00 0.88 0.11 0.02 80.20 20:31:31 20:20:40 3 19.79 0.00 0.87 0.02 0.02 79.30 20:31:31 20:30:31 all 10.41 0.00 0.61 0.03 0.01 88.94 20:31:31 20:30:31 0 10.51 0.00 0.71 0.05 0.02 88.71 20:31:31 20:30:31 1 10.40 0.00 0.50 0.02 0.02 89.07 20:31:31 20:30:31 2 10.28 0.00 0.66 0.02 0.01 89.03 20:31:31 20:30:31 3 10.45 0.00 0.56 0.05 0.02 88.93 20:31:31 Average: all 17.07 0.00 0.83 0.05 0.02 82.03 20:31:31 Average: 0 16.96 0.00 0.92 0.04 0.02 82.05 20:31:31 Average: 1 17.24 0.00 0.79 0.04 0.02 81.91 20:31:31 Average: 2 16.88 0.00 0.79 0.06 0.02 82.24 20:31:31 Average: 3 17.20 0.00 0.83 0.05 0.02 81.91 20:31:31 20:31:31 20:31:31