07:41:57 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/120829 07:41:57 Running as SYSTEM 07:41:57 [EnvInject] - Loading node environment variables. 07:41:57 Building remotely on prd-ubuntu2204-docker-4c-16g-28271 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 07:41:57 [ssh-agent] Looking for ssh-agent implementation... 07:41:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:58 $ ssh-agent 07:41:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXVJY65n/agent.1560 07:41:58 SSH_AGENT_PID=1562 07:41:58 [ssh-agent] Started. 07:41:58 Running ssh-add (command line suppressed) 07:41:58 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_10886429182233397172.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_10886429182233397172.key) 07:41:58 [ssh-agent] Using credentials jenkins (jenkins-ssh) 07:41:58 The recommended git tool is: NONE 07:42:00 using credential jenkins-ssh 07:42:00 Wiping out workspace first. 07:42:00 Cloning the remote Git repository 07:42:00 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 07:42:00 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 07:42:00 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 07:42:00 > git --version # timeout=10 07:42:00 > git --version # 'git version 2.34.1' 07:42:00 using GIT_SSH to set credentials jenkins-ssh 07:42:00 Verifying host key using known hosts file, will automatically accept unseen keys 07:42:00 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:04 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 07:42:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:04 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 07:42:04 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 07:42:04 using GIT_SSH to set credentials jenkins-ssh 07:42:04 Verifying host key using known hosts file, will automatically accept unseen keys 07:42:04 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/29/120829/15 # timeout=10 07:42:05 > git rev-parse 785fcb13938a447e501f47a0aa9a74a97736484f^{commit} # timeout=10 07:42:05 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 07:42:05 Checking out Revision 785fcb13938a447e501f47a0aa9a74a97736484f (refs/changes/29/120829/15) 07:42:05 > git config core.sparsecheckout # timeout=10 07:42:05 > git checkout -f 785fcb13938a447e501f47a0aa9a74a97736484f # timeout=10 07:42:05 Commit message: "Support for openconfig 2.0" 07:42:05 > git rev-parse FETCH_HEAD^{commit} # timeout=10 07:42:05 > git rev-list --no-walk f6d12910d5094a7663243830395c69423a66f1b9 # timeout=10 07:42:05 > git remote # timeout=10 07:42:05 > git submodule init # timeout=10 07:42:05 > git submodule sync # timeout=10 07:42:05 > git config --get remote.origin.url # timeout=10 07:42:05 > git submodule init # timeout=10 07:42:05 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 07:42:05 ERROR: No submodules found. 07:42:08 provisioning config files... 07:42:08 copy managed file [npmrc] to file:/home/jenkins/.npmrc 07:42:08 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 07:42:08 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12676321684838552272.sh 07:42:08 ---> python-tools-install.sh 07:42:08 Setup pyenv: 07:42:09 * system (set by /opt/pyenv/version) 07:42:09 * 3.8.20 (set by /opt/pyenv/version) 07:42:09 * 3.9.20 (set by /opt/pyenv/version) 07:42:09 3.10.15 07:42:09 3.11.10 07:42:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RXRQ 07:42:13 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 07:42:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:42:13 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:42:18 lf-activate-venv(): INFO: Base packages installed successfully 07:42:18 lf-activate-venv(): INFO: Installing additional packages: lftools 07:42:55 lf-activate-venv(): INFO: Adding /tmp/venv-RXRQ/bin to PATH 07:42:55 Generating Requirements File 07:43:21 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. 07:43:21 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 07:43:21 Python 3.11.10 07:43:21 pip 26.1.2 from /tmp/venv-RXRQ/lib/python3.11/site-packages/pip (python 3.11) 07:43:22 aiohappyeyeballs==2.6.2 07:43:22 aiohttp==3.14.1 07:43:22 aiosignal==1.4.0 07:43:22 appdirs==1.4.4 07:43:22 argcomplete==3.6.3 07:43:22 aspy.yaml==1.3.0 07:43:22 attrs==26.1.0 07:43:22 autopage==0.6.0 07:43:22 beautifulsoup4==4.15.0 07:43:22 boto3==1.43.32 07:43:22 botocore==1.43.32 07:43:22 bs4==0.0.2 07:43:22 certifi==2026.6.17 07:43:22 cffi==2.0.0 07:43:22 cfgv==3.5.0 07:43:22 chardet==7.4.3 07:43:22 charset-normalizer==3.4.7 07:43:22 click==8.4.1 07:43:22 cliff==4.14.0 07:43:22 cmd2==4.0.0 07:43:22 cryptography==3.3.2 07:43:22 debtcollector==3.1.0 07:43:22 decorator==5.3.1 07:43:22 defusedxml==0.7.1 07:43:22 Deprecated==1.3.1 07:43:22 distlib==0.4.3 07:43:22 dnspython==2.8.0 07:43:22 docker==7.1.0 07:43:22 dogpile.cache==1.5.0 07:43:22 durationpy==0.10 07:43:22 email-validator==2.3.0 07:43:22 filelock==3.29.4 07:43:22 frozenlist==1.8.0 07:43:22 future==1.0.0 07:43:22 gitdb==4.0.12 07:43:22 GitPython==3.1.50 07:43:22 httplib2==0.30.2 07:43:22 identify==2.6.19 07:43:22 idna==3.18 07:43:22 importlib-resources==1.5.0 07:43:22 iso8601==2.1.0 07:43:22 Jinja2==3.1.6 07:43:22 jmespath==1.1.0 07:43:22 jsonpatch==1.33 07:43:22 jsonpointer==3.1.1 07:43:22 jsonschema==4.26.0 07:43:22 jsonschema-specifications==2025.9.1 07:43:22 keystoneauth1==5.14.0 07:43:22 kubernetes==36.0.2 07:43:22 lftools==0.37.22 07:43:22 lxml==6.1.1 07:43:22 markdown-it-py==4.2.0 07:43:22 MarkupSafe==3.0.3 07:43:22 mdurl==0.1.2 07:43:22 msgpack==1.2.0 07:43:22 multi_key_dict==2.0.3 07:43:22 multidict==6.7.1 07:43:22 munch==4.0.0 07:43:22 netaddr==1.3.0 07:43:22 niet==1.4.2 07:43:22 nodeenv==1.10.0 07:43:22 oauth2client==4.1.3 07:43:22 oauthlib==3.3.1 07:43:22 openstacksdk==4.16.0 07:43:22 os-service-types==1.8.2 07:43:22 osc-lib==4.6.0 07:43:22 oslo.config==10.5.0 07:43:22 oslo.context==6.4.0 07:43:22 oslo.i18n==6.8.0 07:43:22 oslo.log==8.2.0 07:43:22 oslo.serialization==5.10.0 07:43:22 oslo.utils==10.1.1 07:43:22 packaging==26.2 07:43:22 pbr==7.0.3 07:43:22 platformdirs==4.10.0 07:43:22 prettytable==3.17.0 07:43:22 prompt_toolkit==3.0.52 07:43:22 propcache==0.5.2 07:43:22 psutil==7.2.2 07:43:22 pyasn1==0.6.3 07:43:22 pyasn1_modules==0.4.2 07:43:22 pycparser==3.0 07:43:22 pygerrit2==2.0.15 07:43:22 PyGithub==2.9.1 07:43:22 Pygments==2.20.0 07:43:22 PyJWT==2.13.0 07:43:22 PyNaCl==1.6.2 07:43:22 pyparsing==2.4.7 07:43:22 pyperclip==1.11.0 07:43:22 pyrsistent==0.20.0 07:43:22 python-cinderclient==9.9.0 07:43:22 python-dateutil==2.9.0.post0 07:43:22 python-discovery==1.4.2 07:43:22 python-heatclient==5.2.0 07:43:22 python-jenkins==1.8.3 07:43:22 python-keystoneclient==5.8.0 07:43:22 python-magnumclient==4.10.0 07:43:22 python-openstackclient==10.1.0 07:43:22 python-swiftclient==4.10.0 07:43:22 PyYAML==6.0.3 07:43:22 referencing==0.37.0 07:43:22 requests==2.34.2 07:43:22 requests-oauthlib==2.0.0 07:43:22 rfc3986==2.0.0 07:43:22 rich==15.0.0 07:43:22 rich-argparse==1.8.0 07:43:22 rpds-py==2026.5.1 07:43:22 rsa==4.9.1 07:43:22 ruamel.yaml==0.19.1 07:43:22 ruamel.yaml.clib==0.2.15 07:43:22 s3transfer==0.19.0 07:43:22 simplejson==4.1.1 07:43:22 six==1.17.0 07:43:22 smmap==5.0.3 07:43:22 soupsieve==2.8.4 07:43:22 stevedore==5.8.0 07:43:22 tabulate==0.10.0 07:43:22 toml==0.10.2 07:43:22 tomlkit==0.15.0 07:43:22 tqdm==4.68.3 07:43:22 typing_extensions==4.15.0 07:43:22 urllib3==1.26.20 07:43:22 virtualenv==21.5.1 07:43:22 wcwidth==0.8.1 07:43:22 websocket-client==1.9.0 07:43:22 wrapt==2.2.1 07:43:22 xdg==6.0.0 07:43:22 xmltodict==1.0.4 07:43:22 yarl==1.24.2 07:43:22 yq==3.4.3 07:43:22 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins12004370145662441372.sh 07:43:22 ---> uv-install.sh 07:43:22 Installing uv/uvx (latest) using shell installer 07:43:22 2026-06-18 07:43:22 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71233/71233] -> "/tmp/uv-install-gDHt5a.sh" [1] 07:43:22 downloading uv 0.11.21 x86_64-unknown-linux-gnu 07:43:23 installing to /home/jenkins/.local/bin 07:43:23 uv 07:43:23 uvx 07:43:23 everything's installed! 07:43:23 07:43:23 To add $HOME/.local/bin to your PATH, either restart your shell or run: 07:43:23 07:43:23 source $HOME/.local/bin/env (sh, bash, zsh) 07:43:23 source $HOME/.local/bin/env.fish (fish) 07:43:23 Adding install location to PATH 07:43:23 ---> Validating uv/uvx install 07:43:23 uvx 0.11.21 (x86_64-unknown-linux-gnu) 07:43:23 [EnvInject] - Injecting environment variables from a build step. 07:43:23 [EnvInject] - Injecting as environment variables the properties content 07:43:23 PYTHON=python3 07:43:23 07:43:23 [EnvInject] - Variables injected successfully. 07:43:23 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins4218754093646191618.sh 07:43:23 ---> tox-install.sh 07:43:23 + source /home/jenkins/lf-env.sh 07:43:23 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:43:23 ++ mktemp -d /tmp/venv-XXXX 07:43:23 + lf_venv=/tmp/venv-v2rT 07:43:23 + local venv_file=/tmp/.os_lf_venv 07:43:23 + local python=python3 07:43:23 + local options 07:43:23 + local set_path=true 07:43:23 + local install_args= 07:43:23 ++ 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 07:43:23 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:43:23 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:43:23 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:43:23 + true 07:43:23 + case $1 in 07:43:23 + venv_file=/tmp/.toxenv 07:43:23 + shift 2 07:43:23 + true 07:43:23 + case $1 in 07:43:23 + shift 07:43:23 + break 07:43:23 + case $python in 07:43:23 + local pkg_list= 07:43:23 + [[ -d /opt/pyenv ]] 07:43:23 + echo 'Setup pyenv:' 07:43:23 Setup pyenv: 07:43:23 + export PYENV_ROOT=/opt/pyenv 07:43:23 + PYENV_ROOT=/opt/pyenv 07:43:23 + 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 07:43:23 + 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 07:43:23 + pyenv versions 07:43:23 system 07:43:23 3.8.20 07:43:23 3.9.20 07:43:23 3.10.15 07:43:23 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:43:23 + command -v pyenv 07:43:23 ++ pyenv init - --no-rehash 07:43:23 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 07:43:23 for i in ${!paths[@]}; do 07:43:23 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 07:43:23 fi; done; 07:43:23 echo "${paths[*]}"'\'')" 07:43:23 export PATH="/opt/pyenv/shims:${PATH}" 07:43:23 export PYENV_SHELL=bash 07:43:23 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:43:23 pyenv() { 07:43:23 local command 07:43:23 command="${1:-}" 07:43:23 if [ "$#" -gt 0 ]; then 07:43:23 shift 07:43:23 fi 07:43:23 07:43:23 case "$command" in 07:43:23 rehash|shell) 07:43:23 eval "$(pyenv "sh-$command" "$@")" 07:43:23 ;; 07:43:23 *) 07:43:23 command pyenv "$command" "$@" 07:43:23 ;; 07:43:23 esac 07:43:23 }' 07:43:23 +++ bash --norc -ec 'IFS=:; paths=($PATH); 07:43:23 for i in ${!paths[@]}; do 07:43:23 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 07:43:23 fi; done; 07:43:23 echo "${paths[*]}"' 07:43:23 ++ 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 07:43:23 ++ 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 07:43:23 ++ 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 07:43:23 ++ export PYENV_SHELL=bash 07:43:23 ++ PYENV_SHELL=bash 07:43:23 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:43:23 +++ complete -F _pyenv pyenv 07:43:23 ++ lf-pyver python3 07:43:23 ++ local py_version_xy=python3 07:43:23 ++ local py_version_xyz= 07:43:23 ++ pyenv versions 07:43:23 ++ local command 07:43:23 ++ command=versions 07:43:23 ++ '[' 1 -gt 0 ']' 07:43:23 ++ shift 07:43:23 ++ case "$command" in 07:43:23 ++ command pyenv versions 07:43:23 ++ sed 's/^[ *]* //' 07:43:23 ++ awk '{ print $1 }' 07:43:23 ++ grep -E '^[0-9.]*[0-9]$' 07:43:23 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:43:23 +++ grep '^3' /tmp/.pyenv_versions 07:43:23 +++ sort -V 07:43:23 +++ tail -n 1 07:43:23 ++ py_version_xyz=3.11.10 07:43:23 ++ [[ -z 3.11.10 ]] 07:43:23 ++ echo 3.11.10 07:43:23 ++ return 0 07:43:23 + pyenv local 3.11.10 07:43:23 + local command 07:43:23 + command=local 07:43:23 + '[' 2 -gt 0 ']' 07:43:23 + shift 07:43:23 + case "$command" in 07:43:23 + command pyenv local 3.11.10 07:43:23 + for arg in "$@" 07:43:23 + case $arg in 07:43:23 + pkg_list+='tox ' 07:43:23 + for arg in "$@" 07:43:23 + case $arg in 07:43:23 + pkg_list+='virtualenv ' 07:43:23 + for arg in "$@" 07:43:23 + case $arg in 07:43:23 + pkg_list+='urllib3~=1.26.15 ' 07:43:23 + [[ -f /tmp/.toxenv ]] 07:43:23 + [[ ! -f /tmp/.toxenv ]] 07:43:23 + [[ -n '' ]] 07:43:23 + python3 -m venv /tmp/venv-v2rT 07:43:27 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-v2rT' 07:43:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-v2rT 07:43:27 + echo /tmp/venv-v2rT 07:43:27 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 07:43:27 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 07:43:27 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:43:27 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:43:27 + local 'pip_opts=--upgrade --quiet' 07:43:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:43:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:43:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:43:27 + [[ -n '' ]] 07:43:27 + [[ -n '' ]] 07:43:27 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 07:43:27 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:43:27 + /tmp/venv-v2rT/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 07:43:31 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 07:43:31 lf-activate-venv(): INFO: Base packages installed successfully 07:43:31 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:43:31 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:43:31 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:43:31 + /tmp/venv-v2rT/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 07:43:33 + type python3 07:43:33 + true 07:43:33 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-v2rT/bin to PATH' 07:43:33 lf-activate-venv(): INFO: Adding /tmp/venv-v2rT/bin to PATH 07:43:33 + PATH=/tmp/venv-v2rT/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 07:43:33 + return 0 07:43:33 + python3 --version 07:43:33 Python 3.11.10 07:43:33 + python3 -m pip --version 07:43:34 pip 26.1.2 from /tmp/venv-v2rT/lib/python3.11/site-packages/pip (python 3.11) 07:43:34 + python3 -m pip freeze 07:43:34 cachetools==7.1.4 07:43:34 colorama==0.4.6 07:43:34 distlib==0.4.3 07:43:34 filelock==3.29.4 07:43:34 packaging==26.2 07:43:34 platformdirs==4.10.0 07:43:34 pluggy==1.6.0 07:43:34 pyproject-api==1.10.1 07:43:34 python-discovery==1.4.2 07:43:34 tomli_w==1.2.0 07:43:34 tox==4.55.1 07:43:34 urllib3==1.26.20 07:43:34 virtualenv==21.5.1 07:43:34 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins6327857143862034180.sh 07:43:34 [EnvInject] - Injecting environment variables from a build step. 07:43:34 [EnvInject] - Injecting as environment variables the properties content 07:43:34 PARALLEL=True 07:43:34 07:43:34 [EnvInject] - Variables injected successfully. 07:43:34 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins16876968873557459300.sh 07:43:34 ---> tox-run.sh 07:43:34 + 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 07:43:34 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 07:43:34 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 07:43:34 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 07:43:34 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 07:43:34 + source /home/jenkins/lf-env.sh 07:43:34 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:43:34 ++ mktemp -d /tmp/venv-XXXX 07:43:34 + lf_venv=/tmp/venv-ltfO 07:43:34 + local venv_file=/tmp/.os_lf_venv 07:43:34 + local python=python3 07:43:34 + local options 07:43:34 + local set_path=true 07:43:34 + local install_args= 07:43:34 ++ 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 07:43:34 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:43:34 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:43:34 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:43:34 + true 07:43:34 + case $1 in 07:43:34 + venv_file=/tmp/.toxenv 07:43:34 + shift 2 07:43:34 + true 07:43:34 + case $1 in 07:43:34 + shift 07:43:34 + break 07:43:34 + case $python in 07:43:34 + local pkg_list= 07:43:34 + [[ -d /opt/pyenv ]] 07:43:34 + echo 'Setup pyenv:' 07:43:34 Setup pyenv: 07:43:34 + export PYENV_ROOT=/opt/pyenv 07:43:34 + PYENV_ROOT=/opt/pyenv 07:43:34 + 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 07:43:34 + 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 07:43:34 + pyenv versions 07:43:34 system 07:43:34 3.8.20 07:43:34 3.9.20 07:43:34 3.10.15 07:43:34 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:43:34 + command -v pyenv 07:43:34 ++ pyenv init - --no-rehash 07:43:34 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 07:43:34 for i in ${!paths[@]}; do 07:43:34 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 07:43:34 fi; done; 07:43:34 echo "${paths[*]}"'\'')" 07:43:34 export PATH="/opt/pyenv/shims:${PATH}" 07:43:34 export PYENV_SHELL=bash 07:43:34 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:43:34 pyenv() { 07:43:34 local command 07:43:34 command="${1:-}" 07:43:34 if [ "$#" -gt 0 ]; then 07:43:34 shift 07:43:34 fi 07:43:34 07:43:34 case "$command" in 07:43:34 rehash|shell) 07:43:34 eval "$(pyenv "sh-$command" "$@")" 07:43:34 ;; 07:43:34 *) 07:43:34 command pyenv "$command" "$@" 07:43:34 ;; 07:43:34 esac 07:43:34 }' 07:43:34 +++ bash --norc -ec 'IFS=:; paths=($PATH); 07:43:34 for i in ${!paths[@]}; do 07:43:34 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 07:43:34 fi; done; 07:43:34 echo "${paths[*]}"' 07:43:34 ++ 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 07:43:34 ++ 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 07:43:34 ++ 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 07:43:34 ++ export PYENV_SHELL=bash 07:43:34 ++ PYENV_SHELL=bash 07:43:34 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:43:34 +++ complete -F _pyenv pyenv 07:43:34 ++ lf-pyver python3 07:43:34 ++ local py_version_xy=python3 07:43:34 ++ local py_version_xyz= 07:43:34 ++ pyenv versions 07:43:34 ++ local command 07:43:34 ++ command=versions 07:43:34 ++ '[' 1 -gt 0 ']' 07:43:34 ++ shift 07:43:34 ++ case "$command" in 07:43:34 ++ command pyenv versions 07:43:34 ++ sed 's/^[ *]* //' 07:43:34 ++ awk '{ print $1 }' 07:43:34 ++ grep -E '^[0-9.]*[0-9]$' 07:43:34 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:43:34 +++ grep '^3' /tmp/.pyenv_versions 07:43:34 +++ sort -V 07:43:34 +++ tail -n 1 07:43:34 ++ py_version_xyz=3.11.10 07:43:34 ++ [[ -z 3.11.10 ]] 07:43:34 ++ echo 3.11.10 07:43:34 ++ return 0 07:43:34 + pyenv local 3.11.10 07:43:34 + local command 07:43:34 + command=local 07:43:34 + '[' 2 -gt 0 ']' 07:43:34 + shift 07:43:34 + case "$command" in 07:43:34 + command pyenv local 3.11.10 07:43:34 + for arg in "$@" 07:43:34 + case $arg in 07:43:34 + pkg_list+='tox ' 07:43:34 + for arg in "$@" 07:43:34 + case $arg in 07:43:34 + pkg_list+='virtualenv ' 07:43:34 + for arg in "$@" 07:43:34 + case $arg in 07:43:34 + pkg_list+='urllib3~=1.26.15 ' 07:43:34 + [[ -f /tmp/.toxenv ]] 07:43:34 ++ cat /tmp/.toxenv 07:43:34 + lf_venv=/tmp/venv-v2rT 07:43:34 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-v2rT from' file:/tmp/.toxenv 07:43:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-v2rT from file:/tmp/.toxenv 07:43:34 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:43:34 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:43:34 + local 'pip_opts=--upgrade --quiet' 07:43:34 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:43:34 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:43:34 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:43:34 + [[ -n '' ]] 07:43:34 + [[ -n '' ]] 07:43:34 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 07:43:34 lf-activate-venv(): INFO: Attempting to install with network-safe options... 07:43:34 + /tmp/venv-v2rT/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 07:43:35 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 07:43:35 lf-activate-venv(): INFO: Base packages installed successfully 07:43:35 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:43:35 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:43:35 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:43:35 + /tmp/venv-v2rT/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 07:43:36 + type python3 07:43:36 + true 07:43:36 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-v2rT/bin to PATH' 07:43:36 lf-activate-venv(): INFO: Adding /tmp/venv-v2rT/bin to PATH 07:43:36 + PATH=/tmp/venv-v2rT/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 07:43:36 + return 0 07:43:36 + [[ -d /opt/pyenv ]] 07:43:36 + echo '---> Setting up pyenv' 07:43:36 ---> Setting up pyenv 07:43:36 + export PYENV_ROOT=/opt/pyenv 07:43:36 + PYENV_ROOT=/opt/pyenv 07:43:36 + export PATH=/opt/pyenv/bin:/tmp/venv-v2rT/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 07:43:36 + PATH=/opt/pyenv/bin:/tmp/venv-v2rT/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 07:43:36 ++ pwd 07:43:36 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 07:43:36 + export PYTHONPATH 07:43:36 + export TOX_TESTENV_PASSENV=PYTHONPATH 07:43:36 + TOX_TESTENV_PASSENV=PYTHONPATH 07:43:36 + tox --version 07:43:36 4.55.1 from /tmp/venv-v2rT/lib/python3.11/site-packages/tox/__init__.py 07:43:36 + PARALLEL=True 07:43:36 + TOX_OPTIONS_LIST= 07:43:36 + [[ -n '' ]] 07:43:36 + case ${PARALLEL,,} in 07:43:36 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 07:43:36 + tox --parallel auto --parallel-live 07:43:36 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 07:43:38 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 07:43:38 docs: install_deps> python -I -m pip install -r docs/requirements.txt 07:43:38 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 07:43:38 checkbashisms: freeze> python -m pip freeze --all 07:43:39 checkbashisms: pip==26.1.2,setuptools==82.0.1 07:43:39 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 07:43:39 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)' 07:43:39 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 07:43:40 checkbashisms: OK ✔ in 3.36 seconds 07:43:40 pre-commit: install_deps> python -I -m pip install pre-commit 07:43:43 pre-commit: freeze> python -m pip freeze --all 07:43:43 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==3.29.4,identify==2.6.19,nodeenv==1.10.0,pip==26.1.2,platformdirs==4.10.0,pre_commit==4.6.0,python-discovery==1.4.2,PyYAML==6.0.3,setuptools==82.0.1,virtualenv==21.5.1 07:43:43 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 07:43:43 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)' 07:43:43 /usr/bin/cpan 07:43:43 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 07:43:43 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 07:43:44 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 07:43:44 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 07:43:44 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 07:43:45 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 07:43:45 buildcontroller: freeze> python -m pip freeze --all 07:43:45 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 07:43:46 buildcontroller: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:43:46 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 07:43:46 + update-java-alternatives -l 07:43:46 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 07:43:46 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 07:43:46 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 07:43:46 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 07:43:46 update-alternatives: error: no alternatives for jaotc 07:43:46 update-alternatives: error: no alternatives for rmic 07:43:46 + java -version 07:43:46 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 07:43:46 21 07:43:46 + JAVA_VER=21 07:43:46 + echo 21 07:43:46 + javac -version 07:43:46 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 07:43:46 21 07:43:46 + JAVAC_VER=21 07:43:46 + echo 21 07:43:46 + [ 21 -ge 21 ] 07:43:46 + [ 21 -ge 21 ] 07:43:46 + echo ok, java is 21 or newer 07:43:46 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 07:43:46 ok, java is 21 or newer 07:43:46 2026-06-18 07:43:46 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] 07:43:46 + sudo mkdir -p /opt 07:43:46 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 07:43:46 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 07:43:46 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 07:43:46 + mvn --version 07:43:47 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 07:43:47 Maven home: /opt/maven 07:43:47 Java version: 21.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 07:43:47 Default locale: en, platform encoding: UTF-8 07:43:47 OS name: "linux", version: "5.15.0-174-generic", arch: "amd64", family: "unix" 07:43:47 NOTE: Picked up JDK_JAVA_OPTIONS: 07:43:47 --add-opens=java.base/java.io=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.lang=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.net=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.nio=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.util=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:43:47 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:43:47 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:43:47 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:43:47 -Xlog:disable 07:43:48 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 07:43:48 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 07:43:49 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 07:43:49 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 07:43:50 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 07:43:50 [INFO] Once installed this environment will be reused. 07:43:50 [INFO] This may take a few minutes... 07:43:56 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 07:43:56 [INFO] Once installed this environment will be reused. 07:43:56 [INFO] This may take a few minutes... 07:44:02 [INFO] Installing environment for https://github.com/hhatto/autopep8. 07:44:02 [INFO] Once installed this environment will be reused. 07:44:02 [INFO] This may take a few minutes... 07:44:05 docs-linkcheck: freeze> python -m pip freeze --all 07:44:05 docs: freeze> python -m pip freeze --all 07:44:05 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.6.17,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 07:44:05 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck 07:44:05 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.6.17,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 07:44:05 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html 07:44:07 [INFO] Installing environment for https://github.com/perltidy/perltidy. 07:44:07 [INFO] Once installed this environment will be reused. 07:44:07 [INFO] This may take a few minutes... 07:44:08 docs: OK ✔ in 31.48 seconds 07:44:08 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 07:44:12 docs-linkcheck: OK ✔ in 34.03 seconds 07:44:12 pylint: freeze> python -m pip freeze --all 07:44:13 pylint: astroid==4.0.4,dill==0.4.1,isort==8.0.1,mccabe==0.7.0,pip==26.1.2,platformdirs==4.10.0,pylint==4.0.6,setuptools==82.0.1,tomlkit==0.15.0 07:44:13 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}$' '{}' + 07:44:20 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 07:44:20 [INFO] Once installed this environment will be reused. 07:44:20 [INFO] This may take a few minutes... 07:44:24 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 07:44:24 [INFO] Once installed this environment will be reused. 07:44:24 [INFO] This may take a few minutes... 07:44:29 trim trailing whitespace.................................................Passed 07:44:30 fix end of files.........................................................Passed 07:44:30 check for added large files..............................................Passed 07:44:30 check for merge conflicts................................................Passed 07:44:31 check for case conflicts.................................................Passed 07:44:31 check json...............................................................Passed 07:44:31 mixed line ending........................................................Passed 07:44:31 Tabs remover.............................................................Passed 07:44:32 autopep8.................................................................Passed 07:44:36 perltidy.................................................................Passed 07:44:37 ShellCheck v0.11.0....................................................... 07:44:39 ------------------------------------ 07:44:39 Your code has been rated at 10.00/10 07:44:39 07:44:41 Passed 07:44:41 prettier.................................................................Passed 07:44:43 yamllint.................................................................Passed 07:44:43 pylint: OK ✔ in 34.47 seconds 07:44:43 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 07:44:43 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 07:44:43 [INFO] Once installed this environment will be reused. 07:44:43 [INFO] This may take a few minutes... 07:44:52 gitlint..................................................................Passed 07:45:32 pre-commit: OK ✔ in 1 minute 11.7 seconds 07:45:32 buildcontroller: OK ✔ in 1 minute 54.6 seconds 07:45:32 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 07:45:32 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 07:45:32 build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:45:32 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 07:45:39 build_karaf_tests200: freeze> python -m pip freeze --all 07:45:39 build_karaf_tests221: freeze> python -m pip freeze --all 07:45:39 build_karaf_tests71: freeze> python -m pip freeze --all 07:45:39 build_karaf_tests121: freeze> python -m pip freeze --all 07:45:39 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:45:39 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:45:39 build karaf in karafoc200 with ./karafoc200.env 07:45:39 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:45:39 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:45:39 build karaf in karaf221 with ./karaf221.env 07:45:39 NOTE: Picked up JDK_JAVA_OPTIONS: 07:45:39 --add-opens=java.base/java.io=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.lang=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.net=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.nio=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.util=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:45:39 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:45:39 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:45:39 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:45:39 -Xlog:disable 07:45:39 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:45:39 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:45:39 build karaf in karaf71 with ./karaf71.env 07:45:39 build_karaf_tests121: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:45:39 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:45:39 build karaf in karaf121 with ./karaf121.env 07:45:40 NOTE: Picked up JDK_JAVA_OPTIONS: 07:45:40 --add-opens=java.base/java.io=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.net=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:45:40 -Xlog:disable 07:45:40 NOTE: Picked up JDK_JAVA_OPTIONS: 07:45:40 --add-opens=java.base/java.io=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.net=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:45:40 -Xlog:disable 07:45:40 NOTE: Picked up JDK_JAVA_OPTIONS: 07:45:40 --add-opens=java.base/java.io=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.net=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:45:40 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:45:40 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:45:40 -Xlog:disable 07:46:50 build_karaf_tests121: OK ✔ in 1 minute 17.78 seconds 07:46:50 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 07:46:50 build_karaf_tests221: OK ✔ in 1 minute 18.55 seconds 07:46: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 07:46:52 build_karaf_tests71: OK ✔ in 1 minute 20.98 seconds 07:46:52 build_karaf_tests200: OK ✔ in 1 minute 20.99 seconds 07:46:52 testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:46:58 buildlighty: freeze> python -m pip freeze --all 07:46:58 sims: freeze> python -m pip freeze --all 07:46:58 sims: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:46:58 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 07:46:58 Using lighynode version 22.1.0.7 07:46:58 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 07:46:59 buildlighty: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:46:59 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 07:46:59 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 07:47:01 sims: OK ✔ in 11.17 seconds 07:47:01 tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:47:08 tests71: freeze> python -m pip freeze --all 07:47:08 tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:47:08 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 07:47:08 using environment variables from ./karaf71.env 07:47:08 pytest -q transportpce_tests/7.1/test01_portmapping.py 07:47:58 buildlighty: OK ✔ in 51.34 seconds 07:47:58 testsPCE: freeze> python -m pip freeze --all 07:47:59 testsPCE: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,click==8.4.1,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.8,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.63.0,gnpy4tpce==2.4.7,idna==3.18,iniconfig==2.3.0,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.0,lxml==6.1.1,MarkupSafe==3.0.3,matplotlib==3.11.0,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.2,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.2.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pyparsing==3.3.2,pytest==9.1.0,python-dateutil==2.9.0.post0,pytz==2026.2,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.7.0,Werkzeug==2.0.3,xlrd==1.2.0 07:47:59 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 07:47:59 pytest -q transportpce_tests/pce/test01_pce.py 07:48:02 ............ [100%] 07:48:15 12 passed in 66.59s (0:01:06) 07:48:15 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 07:48:55 .................................................... [100%] 07:50:03 20 passed in 124.12s (0:02:04) 07:50:03 .pytest -q transportpce_tests/pce/test02_pce_400G.py 07:50:05 ................................... [100%] 07:50:52 12 passed in 48.48s 07:50:52 pytest -q transportpce_tests/pce/test03_gnpy.py 07:50:53 ...... [100%] 07:51:05 62 passed in 170.17s (0:02:50) 07:51:06 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 07:51:10 ........ [100%] 07:51:33 8 passed in 40.50s 07:51:33 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 07:51:42 ................ [100%] 07:52:13 3 passed in 39.67s 07:52:13 .testsPCE: OK ✔ in 5 minutes 20.43 seconds 07:52:13 tests200: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:52:13 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 07:52:13 tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:52:15 ....tests_tapi: freeze> python -m pip freeze --all 07:52:23 tests200: freeze> python -m pip freeze --all 07:52:23 tests121: freeze> python -m pip freeze --all 07:52:23 .tests_tapi: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:52:23 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 07:52:23 using environment variables from ./karaf221.env 07:52:23 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 07:52:24 tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:52:24 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 07:52:24 using environment variables from ./karafoc200.env 07:52:24 pytest -q transportpce_tests/oc200/test01_portmapping.py 07:52:24 tests121: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:52:24 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 07:52:24 using environment variables from ./karaf121.env 07:52:24 pytest -q transportpce_tests/1.2.1/test01_portmapping.py 07:52:29 ....................EEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 07:54:06 ==================================== ERRORS ==================================== 07:54:06 __ ERROR at setup of TestTransportPCEPortmapping.test_01_meta_data_insertion ___ 07:54:06 07:54:06 cls = 07:54:06 07:54:06 @classmethod 07:54:06 def setUpClass(cls): 07:54:06 > cls.processes = test_utils.start_tpce() 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 07:54:06 transportpce_tests/oc200/test01_portmapping.py:29: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 def start_tpce(): 07:54:06 if 'NO_ODL_STARTUP' in os.environ: 07:54:06 print('No OpenDaylight instance to start!') 07:54:06 return [] 07:54:06 print('starting OpenDaylight...') 07:54:06 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:54:06 process = start_lighty() 07:54:06 else: 07:54:06 process = start_karaf() 07:54:06 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:54:06 print('OpenDaylight started !') 07:54:06 else: 07:54:06 print('OpenDaylight failed to start !') 07:54:06 shutdown_process(process) 07:54:06 for pid in process_list: 07:54:06 shutdown_process(pid) 07:54:06 > sys.exit(1) 07:54:06 E SystemExit: 1 07:54:06 07:54:06 transportpce_tests/common/test_utils.py:237: SystemExit 07:54:06 ---------------------------- Captured stdout setup ----------------------------- 07:54:06 starting OpenDaylight... 07:54:06 starting KARAF (karafoc200) TransportPCE build... 07:54:06 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_02_catlog_input_insertion _ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb91572e0> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_03_xpdr_device_connection _ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dc7740> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_04_xpdr_device_connected __ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dab7e0> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_05_xpdr_portmapping_info __ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb9156fc0> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dc7420> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb9156fc0> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 __ ERROR at setup of TestTransportPCEPortmapping.test_08_mpdr_switching_pool ___ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dc7880> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 ___ ERROR at setup of TestTransportPCEPortmapping.test_09_check_mccapprofile ___ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dc5620> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 request = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _ 07:54:06 07:54:06 cls = 07:54:06 func = . at 0x7f7fb6dc7420> 07:54:06 when = 'setup' 07:54:06 reraise = (, ) 07:54:06 07:54:06 @classmethod 07:54:06 def from_call( 07:54:06 cls, 07:54:06 func: Callable[[], TResult], 07:54:06 when: Literal["collect", "setup", "call", "teardown"], 07:54:06 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:06 ) -> CallInfo[TResult]: 07:54:06 """Call func, wrapping the result in a CallInfo. 07:54:06 07:54:06 :param func: 07:54:06 The function to call. Called without arguments. 07:54:06 :type func: Callable[[], _pytest.runner.TResult] 07:54:06 :param when: 07:54:06 The phase in which the function is called. 07:54:06 :param reraise: 07:54:06 Exception or exceptions that shall propagate if raised by the 07:54:06 function, instead of being wrapped in the CallInfo. 07:54:06 """ 07:54:06 excinfo = None 07:54:06 instant = timing.Instant() 07:54:06 try: 07:54:06 > result: TResult | None = func() 07:54:06 ^^^^^^ 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:06 lambda: runtest_hook(item=item, **kwds), 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:06 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:06 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:06 yield 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:06 return (yield) 07:54:06 ^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:06 item.session._setupstate.setup(item) 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:06 col.setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:06 super().setup() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:06 self._request._fillfixtures() 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:06 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:06 fixturedef = self._get_active_fixturedef(argname) 07:54:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:06 fixturedef.execute(request=subrequest) 07:54:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:06 07:54:06 self = 07:54:06 Erequest = > 07:54:06 07:54:06 def execute(self, request: SubRequest) -> FixtureValue: 07:54:06 """Return the value of this fixture, executing it if not cached.""" 07:54:06 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:06 # This needs to be done before checking if we have a cached value, since 07:54:06 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:06 # parametrization, they finalize themselves and fixtures depending on it 07:54:06 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:06 # See #4871 07:54:06 requested_fixtures_that_should_finalize_us = [] 07:54:06 for argname in self.argnames: 07:54:06 fixturedef = request._get_active_fixturedef(argname) 07:54:06 # Saves requested fixtures in a list so we later can add our finalizer 07:54:06 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:06 # down first. This is generally handled by SetupState, but still currently 07:54:06 # needed when this fixture is not parametrized but depends on a parametrized 07:54:06 # fixture. 07:54:06 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:06 07:54:06 # Check for (and return) cached value/exception. 07:54:06 if self.cached_result is not None: 07:54:06 request_cache_key = self.cache_key(request) 07:54:06 cache_key = self.cached_result[1] 07:54:06 try: 07:54:06 # Attempt to make a normal == check: this might fail for objects 07:54:06 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:06 cache_hit = bool(request_cache_key == cache_key) 07:54:06 except (ValueError, RuntimeError): 07:54:06 # If the comparison raises, use 'is' as fallback. 07:54:06 cache_hit = request_cache_key is cache_key 07:54:06 07:54:06 if cache_hit: 07:54:06 if self.cached_result[2] is not None: 07:54:06 exc, exc_tb = self.cached_result[2] 07:54:06 raise exc.with_traceback(exc_tb) 07:54:06 else: 07:54:06 return self.cached_result[0] 07:54:06 # We have a previous but differently parametrized fixture instance 07:54:06 # so we need to tear it down before creating a new one. 07:54:06 self.finish(request) 07:54:06 assert self.cached_result is None 07:54:06 07:54:06 # Add finalizer to requested fixtures we saved previously. 07:54:06 # We make sure to do this after checking for cached value to avoid 07:54:06 # adding our finalizer multiple times. (#12135) 07:54:06 finalizer = functools.partial(self.finish, request=request) 07:54:06 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:06 parent_fixture.addfinalizer(finalizer) 07:54:06 07:54:06 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:06 # which is executed last. 07:54:06 > assert not self._finalizers 07:54:06 ^^^^^^^^^^^^^^^^^^^^ 07:54:06 E AssertionError 07:54:06 07:54:06 ../.tox/tests200/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:06 =========================== short test summary info ============================ 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catlog_input_insertion 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 07:54:06 ERROR transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 07:54:06 10 errors in 102.56s (0:01:42) 07:54:06 tests200: exit 1 (102.89 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=9916 07:54:06 .EEEEEEEEEEEEEEEEEEEEE.E [100%] 07:54:08 ==================================== ERRORS ==================================== 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_01_rdm_device_connection __ 07:54:08 07:54:08 cls = 07:54:08 07:54:08 @classmethod 07:54:08 def setUpClass(cls): 07:54:08 > cls.processes = test_utils.start_tpce() 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 07:54:08 transportpce_tests/1.2.1/test01_portmapping.py:33: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 def start_tpce(): 07:54:08 if 'NO_ODL_STARTUP' in os.environ: 07:54:08 print('No OpenDaylight instance to start!') 07:54:08 return [] 07:54:08 print('starting OpenDaylight...') 07:54:08 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:54:08 process = start_lighty() 07:54:08 else: 07:54:08 process = start_karaf() 07:54:08 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:54:08 print('OpenDaylight started !') 07:54:08 else: 07:54:08 print('OpenDaylight failed to start !') 07:54:08 shutdown_process(process) 07:54:08 for pid in process_list: 07:54:08 shutdown_process(pid) 07:54:08 > sys.exit(1) 07:54:08 E SystemExit: 1 07:54:08 07:54:08 transportpce_tests/common/test_utils.py:237: SystemExit 07:54:08 ---------------------------- Captured stdout setup ----------------------------- 07:54:08 starting OpenDaylight... 07:54:08 starting KARAF (karaf121) TransportPCE build... 07:54:08 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:54:08 __ ERROR at setup of TestTransportPCEPortmapping.test_02_rdm_device_connected __ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f52307d3380> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 __ ERROR at setup of TestTransportPCEPortmapping.test_03_rdm_portmapping_info __ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d65c0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f52313822a0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_05_rdm_portmapping_SRG1_PP7_TXRX _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431620> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_06_rdm_portmapping_SRG3_PP1_TXRX _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431940> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_07_xpdr_device_connection _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431620> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_08_xpdr_device_connected __ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d5d00> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_09_xpdr_portmapping_info __ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d68e0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_portmapping_NETWORK1 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431620> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK2 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d4fe0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_portmapping_CLIENT1 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d45e0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_13_xpdr_portmapping_CLIENT2 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431620> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_14_xpdr_portmapping_CLIENT3 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d7ba0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_15_xpdr_portmapping_CLIENT4 _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4318a0> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_16_xpdr_device_disconnection _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431b20> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_17_xpdr_device_disconnected _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d4860> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_18_xpdr_device_not_connected _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431e40> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_19_rdm_device_disconnection _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431b20> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_20_rdm_device_disconnected _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e4d6d40> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 _ ERROR at setup of TestTransportPCEPortmapping.test_21_rdm_device_not_connected _ 07:54:08 07:54:08 cls = 07:54:08 func = . at 0x7f522e431e40> 07:54:08 when = 'setup' 07:54:08 reraise = (, ) 07:54:08 07:54:08 @classmethod 07:54:08 def from_call( 07:54:08 cls, 07:54:08 func: Callable[[], TResult], 07:54:08 when: Literal["collect", "setup", "call", "teardown"], 07:54:08 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:08 ) -> CallInfo[TResult]: 07:54:08 """Call func, wrapping the result in a CallInfo. 07:54:08 07:54:08 :param func: 07:54:08 The function to call. Called without arguments. 07:54:08 :type func: Callable[[], _pytest.runner.TResult] 07:54:08 :param when: 07:54:08 The phase in which the function is called. 07:54:08 :param reraise: 07:54:08 Exception or exceptions that shall propagate if raised by the 07:54:08 function, instead of being wrapped in the CallInfo. 07:54:08 """ 07:54:08 excinfo = None 07:54:08 instant = timing.Instant() 07:54:08 try: 07:54:08 > result: TResult | None = func() 07:54:08 ^^^^^^ 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:08 lambda: runtest_hook(item=item, **kwds), 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:08 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:08 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:08 yield 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:08 return (yield) 07:54:08 ^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:08 item.session._setupstate.setup(item) 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:08 col.setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:08 super().setup() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:08 self._request._fillfixtures() 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:08 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:08 fixturedef = self._get_active_fixturedef(argname) 07:54:08 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:08 fixturedef.execute(request=subrequest) 07:54:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:08 07:54:08 self = 07:54:08 request = > 07:54:08 07:54:08 def execute(self, request: SubRequest) -> FixtureValue: 07:54:08 """Return the value of this fixture, executing it if not cached.""" 07:54:08 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:08 # This needs to be done before checking if we have a cached value, since 07:54:08 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:08 # parametrization, they finalize themselves and fixtures depending on it 07:54:08 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:08 # See #4871 07:54:08 requested_fixtures_that_should_finalize_us = [] 07:54:08 for argname in self.argnames: 07:54:08 fixturedef = request._get_active_fixturedef(argname) 07:54:08 # Saves requested fixtures in a list so we later can add our finalizer 07:54:08 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:08 # down first. This is generally handled by SetupState, but still currently 07:54:08 # needed when this fixture is not parametrized but depends on a parametrized 07:54:08 # fixture. 07:54:08 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:08 07:54:08 # Check for (and return) cached value/exception. 07:54:08 if self.cached_result is not None: 07:54:08 request_cache_key = self.cache_key(request) 07:54:08 cache_key = self.cached_result[1] 07:54:08 try: 07:54:08 # Attempt to make a normal == check: this might fail for objects 07:54:08 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:08 cache_hit = bool(request_cache_key == cache_key) 07:54:08 except (ValueError, RuntimeError): 07:54:08 # If the comparison raises, use 'is' as fallback. 07:54:08 cache_hit = request_cache_key is cache_key 07:54:08 07:54:08 if cache_hit: 07:54:08 if self.cached_result[2] is not None: 07:54:08 exc, exc_tb = self.cached_result[2] 07:54:08 raise exc.with_traceback(exc_tb) 07:54:08 else: 07:54:08 return self.cached_result[0] 07:54:08 # We have a previous but differently parametrized fixture instance 07:54:08 # so we need to tear it down before creating a new one. 07:54:08 self.finish(request) 07:54:08 assert self.cached_result is None 07:54:08 07:54:08 # Add finalizer to requested fixtures we saved previously. 07:54:08 # We make sure to do this after checking for cached value to avoid 07:54:08 # adding our finalizer multiple times. (#12135) 07:54:08 finalizer = functools.partial(self.finish, request=request) 07:54:08 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:08 parent_fixture.addfinalizer(finalizer) 07:54:08 07:54:08 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:08 # which is executed last. 07:54:08 > assert not self._finalizers 07:54:08 ^^^^^^^^^^^^^^^^^^^^ 07:54:08 E AssertionError 07:54:08 07:54:08 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:08 =========================== short test summary info ============================ 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_rdm_portmapping_SRG1_PP7_TXRX 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_rdm_portmapping_SRG3_PP1_TXRX 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_xpdr_device_connection 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_xpdr_device_connected 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_xpdr_portmapping_info 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_portmapping_NETWORK1 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK2 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_CLIENT1 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_CLIENT2 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_CLIENT3 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_15_xpdr_portmapping_CLIENT4 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_16_xpdr_device_disconnection 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_17_xpdr_device_disconnected 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_18_xpdr_device_not_connected 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_19_rdm_device_disconnection 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_20_rdm_device_disconnected 07:54:08 ERROR transportpce_tests/1.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_21_rdm_device_not_connected 07:54:08 21 errors in 104.70s (0:01:44) 07:54:09 tests200: FAIL ✖ in 1 minute 53.7 seconds 07:54:09 tests121: exit 1 (104.98 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 pid=9927 07:54:09 EEEEEEEEEE.EEEEEEEEEEE.EEEEEEEEEE [100%] 07:54:15 ==================================== ERRORS ==================================== 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 07:54:15 @classmethod 07:54:15 def setUpClass(cls): 07:54:15 cls.init_failed = False 07:54:15 os.environ['JAVA_MIN_MEM'] = '1024M' 07:54:15 os.environ['JAVA_MAX_MEM'] = '4096M' 07:54:15 > cls.processes = test_utils.start_tpce() 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 07:54:15 transportpce_tests/tapi/test01_abstracted_topology.py:148: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 def start_tpce(): 07:54:15 if 'NO_ODL_STARTUP' in os.environ: 07:54:15 print('No OpenDaylight instance to start!') 07:54:15 return [] 07:54:15 print('starting OpenDaylight...') 07:54:15 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:54:15 process = start_lighty() 07:54:15 else: 07:54:15 process = start_karaf() 07:54:15 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:54:15 print('OpenDaylight started !') 07:54:15 else: 07:54:15 print('OpenDaylight failed to start !') 07:54:15 shutdown_process(process) 07:54:15 for pid in process_list: 07:54:15 shutdown_process(pid) 07:54:15 > sys.exit(1) 07:54:15 E SystemExit: 1 07:54:15 07:54:15 transportpce_tests/common/test_utils.py:237: SystemExit 07:54:15 ---------------------------- Captured stdout setup ----------------------------- 07:54:15 starting OpenDaylight... 07:54:15 starting KARAF (karaf221) TransportPCE build... 07:54:15 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163ae11800> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163ae13e20> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163ae13740> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d114900> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d14ade0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc28e0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d114900> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d14ade0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d114900> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d14ade0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163ae13920> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d114900> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2980> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2700> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d114900> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163d14ade0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1da0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2b60> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b05e0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1440> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2a20> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1800> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1800> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2980> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2ca0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2980> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2160> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2980> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2020> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b22a0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1940> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2160> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b3740> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b27a0> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b2160> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163adc2e80> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 07:54:15 07:54:15 cls = 07:54:15 func = . at 0x7f163a9b1760> 07:54:15 when = 'setup' 07:54:15 reraise = (, ) 07:54:15 07:54:15 @classmethod 07:54:15 def from_call( 07:54:15 cls, 07:54:15 func: Callable[[], TResult], 07:54:15 when: Literal["collect", "setup", "call", "teardown"], 07:54:15 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:54:15 ) -> CallInfo[TResult]: 07:54:15 """Call func, wrapping the result in a CallInfo. 07:54:15 07:54:15 :param func: 07:54:15 The function to call. Called without arguments. 07:54:15 :type func: Callable[[], _pytest.runner.TResult] 07:54:15 :param when: 07:54:15 The phase in which the function is called. 07:54:15 :param reraise: 07:54:15 Exception or exceptions that shall propagate if raised by the 07:54:15 function, instead of being wrapped in the CallInfo. 07:54:15 """ 07:54:15 excinfo = None 07:54:15 instant = timing.Instant() 07:54:15 try: 07:54:15 > result: TResult | None = func() 07:54:15 ^^^^^^ 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:54:15 lambda: runtest_hook(item=item, **kwds), 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 07:54:15 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 07:54:15 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:54:15 yield 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:54:15 return (yield) 07:54:15 ^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:54:15 item.session._setupstate.setup(item) 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:54:15 col.setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:54:15 super().setup() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:54:15 self._request._fillfixtures() 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 07:54:15 item.funcargs[argname] = self.getfixturevalue(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 07:54:15 fixturedef = self._get_active_fixturedef(argname) 07:54:15 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 07:54:15 fixturedef.execute(request=subrequest) 07:54:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:54:15 07:54:15 self = 07:54:15 request = > 07:54:15 07:54:15 def execute(self, request: SubRequest) -> FixtureValue: 07:54:15 """Return the value of this fixture, executing it if not cached.""" 07:54:15 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:54:15 # This needs to be done before checking if we have a cached value, since 07:54:15 # if a dependent fixture has their cache invalidated, e.g. due to 07:54:15 # parametrization, they finalize themselves and fixtures depending on it 07:54:15 # (which will likely include this fixture) setting `self.cached_result = None`. 07:54:15 # See #4871 07:54:15 requested_fixtures_that_should_finalize_us = [] 07:54:15 for argname in self.argnames: 07:54:15 fixturedef = request._get_active_fixturedef(argname) 07:54:15 # Saves requested fixtures in a list so we later can add our finalizer 07:54:15 # to them, ensuring that if a requested fixture gets torn down we get torn 07:54:15 # down first. This is generally handled by SetupState, but still currently 07:54:15 # needed when this fixture is not parametrized but depends on a parametrized 07:54:15 # fixture. 07:54:15 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:54:15 07:54:15 # Check for (and return) cached value/exception. 07:54:15 if self.cached_result is not None: 07:54:15 request_cache_key = self.cache_key(request) 07:54:15 cache_key = self.cached_result[1] 07:54:15 try: 07:54:15 # Attempt to make a normal == check: this might fail for objects 07:54:15 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:54:15 cache_hit = bool(request_cache_key == cache_key) 07:54:15 except (ValueError, RuntimeError): 07:54:15 # If the comparison raises, use 'is' as fallback. 07:54:15 cache_hit = request_cache_key is cache_key 07:54:15 07:54:15 if cache_hit: 07:54:15 if self.cached_result[2] is not None: 07:54:15 exc, exc_tb = self.cached_result[2] 07:54:15 raise exc.with_traceback(exc_tb) 07:54:15 else: 07:54:15 return self.cached_result[0] 07:54:15 # We have a previous but differently parametrized fixture instance 07:54:15 # so we need to tear it down before creating a new one. 07:54:15 self.finish(request) 07:54:15 assert self.cached_result is None 07:54:15 07:54:15 # Add finalizer to requested fixtures we saved previously. 07:54:15 # We make sure to do this after checking for cached value to avoid 07:54:15 # adding our finalizer multiple times. (#12135) 07:54:15 finalizer = functools.partial(self.finish, request=request) 07:54:15 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:54:15 parent_fixture.addfinalizer(finalizer) 07:54:15 07:54:15 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:54:15 # which is executed last. 07:54:15 > assert not self._finalizers 07:54:15 ^^^^^^^^^^^^^^^^^^^^ 07:54:15 E AssertionError 07:54:15 07:54:15 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 07:54:15 =========================== short test summary info ============================ 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 07:54:15 .ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 07:54:15 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 07:54:15 51 errors in 110.90s (0:01:50) 07:54:15 tests121: FAIL ✖ in 1 minute 55.87 seconds 07:54:15 tests_tapi: exit 1 (111.23 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=9905 07:54:15 tests_tapi: FAIL ✖ in 2 minutes 2 seconds 07:54:15 tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 07:54:17 ...tests221: freeze> python -m pip freeze --all 07:54:22 tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 07:54:22 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 07:54:22 using environment variables from ./karaf221.env 07:54:22 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 07:54:23 . [100%] 07:54:25 48 passed in 198.94s (0:03:18) 07:54:25 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 07:55:09 ......................................................... [100%] 07:55:58 22 passed in 92.40s (0:01:32) 07:55:59 [100%] 07:55:59 35 passed in 97.22s (0:01:37) 07:55:59 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 07:56:33 ...... [100%] 07:56:47 6 passed in 47.83s 07:56:47 pytest -q transportpce_tests/2.2.1/test03_topology.py 07:57:48 ............................................ [100%] 07:59:24 44 passed in 156.21s (0:02:36) 07:59:24 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 08:02:53 FFF.F.FFF... [100%] 08:06:18 =================================== FAILURES =================================== 08:06:18 _____________ TestTransportPCEOtnTopology.test_01_connect_SPDR_SA1 _____________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_01_connect_SPDR_SA1(self): 08:06:18 response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION)) 08:06:18 > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) 08:06:18 E AssertionError: 401 != 201 : Http status code should be 201 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:50: AssertionError 08:06:18 ---------------------------- Captured stdout setup ----------------------------- 08:06:18 starting OpenDaylight... 08:06:18 starting KARAF (karaf221) TransportPCE build... 08:06:18 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 08:06:18 starting simulator spdra in OpenROADM device version 2.2.1... 08:06:18 Searching for patterns in spdra-221.log... Pattern found! simulator for spdra started 08:06:18 ----------------------------- Captured stdout call ----------------------------- 08:06:18 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... 08:06:18 ______________ TestTransportPCEOtnTopology.test_02_getClliNetwork ______________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_02_getClliNetwork(self): 08:06:18 response = test_utils.get_ietf_network_request('clli-network', 'config') 08:06:18 self.assertEqual(response['status_code'], requests.codes.ok) 08:06:18 logging.info(response) 08:06:18 > self.assertEqual(response['network'][0]['node'][0]['node-id'], 'NodeSA') 08:06:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:06:18 E KeyError: 'node' 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:61: KeyError 08:06:18 ___________ TestTransportPCEOtnTopology.test_03_getOpenRoadmNetwork ____________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_03_getOpenRoadmNetwork(self): 08:06:18 response = test_utils.get_ietf_network_request('openroadm-network', 'config') 08:06:18 self.assertEqual(response['status_code'], requests.codes.ok) 08:06:18 > self.assertEqual(response['network'][0]['node'][0]['node-id'], 'SPDR-SA1') 08:06:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:06:18 E KeyError: 'node' 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:67: KeyError 08:06:18 ________ TestTransportPCEOtnTopology.test_05_getNodes_OpenRoadmTopology ________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_05_getNodes_OpenRoadmTopology(self): 08:06:18 # pylint: disable=redundant-unittest-assert 08:06:18 response = test_utils.get_ietf_network_request('openroadm-topology', 'config') 08:06:18 self.assertEqual(response['status_code'], requests.codes.ok) 08:06:18 > self.assertIn('node', response['network'][0]) 08:06:18 E AssertionError: 'node' not found in {'network-id': 'openroadm-topology', 'network-types': {'org-openroadm-common-network:openroadm-common-network': {}}} 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:84: AssertionError 08:06:18 ___________ TestTransportPCEOtnTopology.test_07_getNodes_OtnTopology ___________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_07_getNodes_OtnTopology(self): 08:06:18 # pylint: disable=redundant-unittest-assert 08:06:18 # pylint: disable=too-many-branches 08:06:18 response = test_utils.get_ietf_network_request('otn-topology', 'config') 08:06:18 self.assertEqual(response['status_code'], requests.codes.ok) 08:06:18 > self.assertEqual(len(response['network'][0]['node']), 3) 08:06:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:06:18 E KeyError: 'node' 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:123: KeyError 08:06:18 ___________ TestTransportPCEOtnTopology.test_08_disconnect_SPDR_SA1 ____________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_08_disconnect_SPDR_SA1(self): 08:06:18 response = test_utils.unmount_device("SPDR-SA1") 08:06:18 > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) 08:06:18 E AssertionError: 409 not found in (200, 204) 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:216: AssertionError 08:06:18 ----------------------------- Captured stdout call ----------------------------- 08:06:18 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... 08:06:18 ______________ TestTransportPCEOtnTopology.test_09_getClliNetwork ______________ 08:06:18 08:06:18 self = 08:06:18 08:06:18 def test_09_getClliNetwork(self): 08:06:18 response = test_utils.get_ietf_network_request('clli-network', 'config') 08:06:18 self.assertEqual(response['status_code'], requests.codes.ok) 08:06:18 > self.assertEqual(len(response['network'][0]['node']), 1) 08:06:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:06:18 E KeyError: 'node' 08:06:18 08:06:18 transportpce_tests/2.2.1/test04_otn_topology.py:221: KeyError 08:06:18 =========================== short test summary info ============================ 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_01_connect_SPDR_SA1 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_02_getClliNetwork 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_03_getOpenRoadmNetwork 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_05_getNodes_OpenRoadmTopology 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_07_getNodes_OtnTopology 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_08_disconnect_SPDR_SA1 08:06:18 FAILED transportpce_tests/2.2.1/test04_otn_topology.py::TestTransportPCEOtnTopology::test_09_getClliNetwork 08:06:18 7 failed, 5 passed in 414.18s (0:06:54) 08:06:18 tests71: OK ✔ in 8 minutes 56.89 seconds 08:06:18 tests221: exit 1 (716.58 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=11351 08:06:19 tests221: FAIL ✖ in 12 minutes 3.67 seconds 08:06:19 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 08:06:26 tests_hybrid: freeze> python -m pip freeze --all 08:06:26 tests_hybrid: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:06:26 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 08:06:26 using environment variables from ./karaf221.env 08:06:26 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 08:07:11 ................................................... [100%] 08:08:59 51 passed in 152.44s (0:02:32) 08:08:59 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 08:09:45 ........................................................................ [ 66%] 08:14:07 ..................................... [100%] 08:16:13 109 passed in 433.88s (0:07:13) 08:16:13 pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py 08:17:07 ..................................................... [100%] 08:23:40 53 passed in 446.81s (0:07:26) 08:23:40 buildcontroller: OK (114.60=setup[8.85]+cmd[105.75] seconds) 08:23:40 sims: OK (11.17=setup[8.66]+cmd[2.51] seconds) 08:23:40 build_karaf_tests121: OK (77.78=setup[8.20]+cmd[69.59] seconds) 08:23:40 testsPCE: OK (320.43=setup[66.41]+cmd[254.02] seconds) 08:23:40 tests121: FAIL code 1 (115.87=setup[10.88]+cmd[104.98] seconds) 08:23:40 build_karaf_tests221: OK (78.55=setup[8.13]+cmd[70.42] seconds) 08:23:40 tests_tapi: FAIL code 1 (122.00=setup[10.77]+cmd[111.23] seconds) 08:23:40 tests221: FAIL code 1 (723.67=setup[7.09]+cmd[716.58] seconds) 08:23:40 build_karaf_tests71: OK (80.98=setup[8.15]+cmd[72.83] seconds) 08:23:40 tests71: OK (536.89=setup[7.15]+cmd[529.74] seconds) 08:23:40 build_karaf_tests200: OK (80.99=setup[8.09]+cmd[72.90] seconds) 08:23:40 tests200: FAIL code 1 (113.70=setup[10.81]+cmd[102.89] seconds) 08:23:40 tests_hybrid: OK (1042.13=setup[8.02]+cmd[1034.11] seconds) 08:23:40 buildlighty: OK (51.34=setup[9.47]+cmd[41.87] seconds) 08:23:40 docs: OK (31.47=setup[28.72]+cmd[2.75] seconds) 08:23:40 docs-linkcheck: OK (34.03=setup[28.70]+cmd[5.33] seconds) 08:23:40 checkbashisms: OK (3.36=setup[2.09]+cmd[0.01,0.05,1.22] seconds) 08:23:40 pre-commit: OK (71.70=setup[2.77]+cmd[0.01,0.01,60.31,8.61] seconds) 08:23:40 pylint: OK (34.47=setup[4.54]+cmd[29.93] seconds) 08:23:40 evaluation failed :( (2403.86 seconds) 08:23:41 + tox_status=1 08:23:41 + echo '---> Completed tox runs' 08:23:41 ---> Completed tox runs 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/build_karaf_tests121/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=build_karaf_tests121 08:23:41 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/build_karaf_tests200/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=build_karaf_tests200 08:23:41 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/build_karaf_tests221/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=build_karaf_tests221 08:23:41 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/build_karaf_tests71/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=build_karaf_tests71 08:23:41 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/buildcontroller/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=buildcontroller 08:23:41 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 08:23:41 + for i in .tox/*/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 ++ echo .tox/buildlighty/log 08:23:41 + tox_env=buildlighty 08:23:41 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/checkbashisms/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=checkbashisms 08:23:41 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/docs-linkcheck/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=docs-linkcheck 08:23:41 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/docs/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=docs 08:23:41 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/pre-commit/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=pre-commit 08:23:41 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/pylint/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=pylint 08:23:41 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/sims/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=sims 08:23:41 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests121/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests121 08:23:41 + cp -r .tox/tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests121 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests200/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests200 08:23:41 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests221/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests221 08:23:41 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests71/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests71 08:23:41 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/testsPCE/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=testsPCE 08:23:41 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests_hybrid/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests_hybrid 08:23:41 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 08:23:41 + for i in .tox/*/log 08:23:41 ++ echo .tox/tests_tapi/log 08:23:41 ++ awk -F/ '{print $2}' 08:23:41 + tox_env=tests_tapi 08:23:41 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 08:23:41 + DOC_DIR=docs/_build/html 08:23:41 + [[ -d docs/_build/html ]] 08:23:41 + echo '---> Archiving generated docs' 08:23:41 ---> Archiving generated docs 08:23:41 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 08:23:41 + echo '---> tox-run.sh ends' 08:23:41 ---> tox-run.sh ends 08:23:41 + test 1 -eq 0 08:23:41 + exit 1 08:23:41 ++ '[' 1 = 1 ']' 08:23:41 ++ '[' -x /usr/bin/clear_console ']' 08:23:41 ++ /usr/bin/clear_console -q 08:23:41 Build step 'Execute shell' marked build as failure 08:23:41 $ ssh-agent -k 08:23:41 unset SSH_AUTH_SOCK; 08:23:41 unset SSH_AGENT_PID; 08:23:41 echo Agent pid 1562 killed; 08:23:41 [ssh-agent] Stopped. 08:23:41 [PostBuildScript] - [INFO] Executing post build scripts. 08:23:41 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12154316935833158231.sh 08:23:41 ---> sysstat.sh 08:23:42 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12035206891384658199.sh 08:23:42 ---> package-listing.sh 08:23:42 ++ facter osfamily 08:23:42 ++ tr '[:upper:]' '[:lower:]' 08:23:42 + OS_FAMILY=debian 08:23:42 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 08:23:42 + START_PACKAGES=/tmp/packages_start.txt 08:23:42 + END_PACKAGES=/tmp/packages_end.txt 08:23:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:42 + PACKAGES=/tmp/packages_start.txt 08:23:42 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 08:23:42 + PACKAGES=/tmp/packages_end.txt 08:23:42 + case "${OS_FAMILY}" in 08:23:42 + dpkg -l 08:23:42 + grep '^ii' 08:23:42 + '[' -f /tmp/packages_start.txt ']' 08:23:42 + '[' -f /tmp/packages_end.txt ']' 08:23:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:43 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 08:23:43 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 08:23:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 08:23:43 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7044520634845955729.sh 08:23:43 ---> capture-instance-metadata.sh 08:23:43 Setup pyenv: 08:23:43 system 08:23:43 3.8.20 08:23:43 3.9.20 08:23:43 3.10.15 08:23:43 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:23:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RXRQ from file:/tmp/.os_lf_venv 08:23:43 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:23:43 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:23:48 lf-activate-venv(): INFO: Base packages installed successfully 08:23:48 lf-activate-venv(): INFO: Installing additional packages: lftools 08:24:04 lf-activate-venv(): INFO: Adding /tmp/venv-RXRQ/bin to PATH 08:24:04 INFO: Running in OpenStack, capturing instance metadata 08:24:04 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7863091824707171973.sh 08:24:04 provisioning config files... 08:24:04 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #5704 08:24:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config11472987728414317944tmp 08:24:04 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 08:24:04 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 08:24:04 provisioning config files... 08:24:05 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 08:24:05 [EnvInject] - Injecting environment variables from a build step. 08:24:05 [EnvInject] - Injecting as environment variables the properties content 08:24:05 SERVER_ID=logs 08:24:05 08:24:05 [EnvInject] - Variables injected successfully. 08:24:05 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins4086071916811918622.sh 08:24:05 ---> create-netrc.sh 08:24:05 WARN: Log server credential not found. 08:24:05 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10319781374688536335.sh 08:24:05 ---> python-tools-install.sh 08:24:05 Setup pyenv: 08:24:05 system 08:24:05 3.8.20 08:24:05 3.9.20 08:24:05 3.10.15 08:24:05 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:24:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RXRQ from file:/tmp/.os_lf_venv 08:24:05 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:24:05 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:24:07 lf-activate-venv(): INFO: Base packages installed successfully 08:24:07 lf-activate-venv(): INFO: Installing additional packages: lftools 08:24:17 lf-activate-venv(): INFO: Adding /tmp/venv-RXRQ/bin to PATH 08:24:17 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins16376791516341241639.sh 08:24:17 ---> uv-install.sh 08:24:17 uv 0.11.21 is already installed 08:24:17 uvx 0.11.21 (x86_64-unknown-linux-gnu) 08:24:17 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15613036281468363437.sh 08:24:17 ---> sudo-logs.sh 08:24:17 Archiving 'sudo' log.. 08:24:18 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2009849433373651510.sh 08:24:18 ---> job-cost.sh 08:24:18 INFO: Activating Python virtual environment... 08:24:18 Setup pyenv: 08:24:18 system 08:24:18 3.8.20 08:24:18 3.9.20 08:24:18 3.10.15 08:24:18 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:24:18 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RXRQ from file:/tmp/.os_lf_venv 08:24:18 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:24:18 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:24:20 lf-activate-venv(): INFO: Base packages installed successfully 08:24:20 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 08:24:27 lf-activate-venv(): INFO: Adding /tmp/venv-RXRQ/bin to PATH 08:24:27 INFO: No stack-cost file found 08:24:27 INFO: Instance uptime: 2598s 08:24:27 INFO: Fetching instance metadata (attempt 1 of 3)... 08:24:27 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 08:24:27 INFO: Successfully fetched instance metadata 08:24:27 INFO: Instance type: v3-standard-4 08:24:27 INFO: Retrieving pricing info for: v3-standard-4 08:24:27 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 08:24:27 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=2598 08:24:27 INFO: Successfully fetched Vexxhost pricing API 08:24:27 INFO: Retrieved cost: 0.11 08:24:28 INFO: Retrieved resource: v3-standard-4 08:24:28 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 08:24:28 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 08:24:28 INFO: Successfully archived job cost data 08:24:28 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,5704,2026-06-18 08:24:28,v3-standard-4,2598,0.11,0.00,FAILURE 08:24:28 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins18044030108089757655.sh 08:24:28 ---> logs-deploy.sh 08:24:28 Setup pyenv: 08:24:28 system 08:24:28 3.8.20 08:24:28 3.9.20 08:24:28 3.10.15 08:24:28 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:24:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-RXRQ from file:/tmp/.os_lf_venv 08:24:28 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:24:28 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:24:30 lf-activate-venv(): INFO: Base packages installed successfully 08:24:30 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 08:24:42 lf-activate-venv(): INFO: Adding /tmp/venv-RXRQ/bin to PATH 08:24:42 WARNING: Nexus logging server not set 08:24:42 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/5704/ 08:24:42 INFO: archiving logs to S3 08:24:44 ---> uname -a: 08:24:44 Linux prd-ubuntu2204-docker-4c-16g-28271 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 08:24:44 08:24:44 08:24:44 ---> lscpu: 08:24:44 Architecture: x86_64 08:24:44 CPU op-mode(s): 32-bit, 64-bit 08:24:44 Address sizes: 40 bits physical, 48 bits virtual 08:24:44 Byte Order: Little Endian 08:24:44 CPU(s): 4 08:24:44 On-line CPU(s) list: 0-3 08:24:44 Vendor ID: AuthenticAMD 08:24:44 Model name: AMD EPYC-Rome Processor 08:24:44 CPU family: 23 08:24:44 Model: 49 08:24:44 Thread(s) per core: 1 08:24:44 Core(s) per socket: 1 08:24:44 Socket(s): 4 08:24:44 Stepping: 0 08:24:44 BogoMIPS: 5600.00 08:24:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 08:24:44 Virtualization: AMD-V 08:24:44 Hypervisor vendor: KVM 08:24:44 Virtualization type: full 08:24:44 L1d cache: 128 KiB (4 instances) 08:24:44 L1i cache: 128 KiB (4 instances) 08:24:44 L2 cache: 2 MiB (4 instances) 08:24:44 L3 cache: 64 MiB (4 instances) 08:24:44 NUMA node(s): 1 08:24:44 NUMA node0 CPU(s): 0-3 08:24:44 Vulnerability Gather data sampling: Not affected 08:24:44 Vulnerability Indirect target selection: Not affected 08:24:44 Vulnerability Itlb multihit: Not affected 08:24:44 Vulnerability L1tf: Not affected 08:24:44 Vulnerability Mds: Not affected 08:24:44 Vulnerability Meltdown: Not affected 08:24:44 Vulnerability Mmio stale data: Not affected 08:24:44 Vulnerability Reg file data sampling: Not affected 08:24:44 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 08:24:44 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 08:24:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:24:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 08:24:44 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 08:24:44 Vulnerability Srbds: Not affected 08:24:44 Vulnerability Tsa: Not affected 08:24:44 Vulnerability Tsx async abort: Not affected 08:24:44 Vulnerability Vmscape: Not affected 08:24:44 08:24:44 08:24:44 ---> nproc: 08:24:44 4 08:24:44 08:24:44 08:24:44 ---> df -h: 08:24:44 Filesystem Size Used Avail Use% Mounted on 08:24:44 tmpfs 1.6G 1.1M 1.6G 1% /run 08:24:44 /dev/vda1 78G 18G 61G 23% / 08:24:44 tmpfs 7.9G 0 7.9G 0% /dev/shm 08:24:44 tmpfs 5.0M 0 5.0M 0% /run/lock 08:24:44 /dev/vda15 105M 6.1M 99M 6% /boot/efi 08:24:44 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 08:24:44 08:24:44 08:24:44 ---> free -m: 08:24:44 total used free shared buff/cache available 08:24:44 Mem: 15989 744 5189 3 10055 14902 08:24:44 Swap: 1023 0 1023 08:24:44 08:24:44 08:24:44 ---> ip addr: 08:24:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 08:24:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:24:44 inet 127.0.0.1/8 scope host lo 08:24:44 valid_lft forever preferred_lft forever 08:24:44 inet6 ::1/128 scope host 08:24:44 valid_lft forever preferred_lft forever 08:24:44 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 08:24:44 link/ether fa:16:3e:c5:5e:97 brd ff:ff:ff:ff:ff:ff 08:24:44 altname enp0s3 08:24:44 inet 10.30.171.161/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 08:24:44 valid_lft 83792sec preferred_lft 83792sec 08:24:44 inet6 fe80::f816:3eff:fec5:5e97/64 scope link 08:24:44 valid_lft forever preferred_lft forever 08:24:44 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 08:24:44 link/ether 66:d9:8e:7c:ec:fc brd ff:ff:ff:ff:ff:ff 08:24:44 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:24:44 valid_lft forever preferred_lft forever 08:24:44 inet6 fe80::64d9:8eff:fe7c:ecfc/64 scope link 08:24:44 valid_lft forever preferred_lft forever 08:24:44 08:24:44 08:24:44 ---> sar -b -r -n DEV: 08:24:44 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-28271) 06/18/26 _x86_64_ (4 CPU) 08:24:44 08:24:44 07:41:19 LINUX RESTART (4 CPU) 08:24:44 08:24:44 07:50:04 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:24:44 08:00:10 49.93 1.37 31.80 16.76 73.55 3903.70 210047.64 08:24:44 08:10:01 10.62 0.00 10.22 0.39 0.03 426.28 403.42 08:24:44 08:20:29 4.46 0.00 4.29 0.16 0.10 99.47 45.51 08:24:44 Average: 21.56 0.46 15.35 5.75 24.48 1469.42 69945.10 08:24:44 08:24:44 07:50:04 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:24:44 08:00:10 3954676 13665204 2256724 13.78 274004 9182120 3062888 17.58 2377212 9239352 328 08:24:44 08:10:01 1486008 11285004 4634904 28.31 278360 9259876 5330760 30.60 2391360 11675016 232 08:24:44 08:20:29 598716 10407108 5512180 33.67 279408 9268120 6101948 35.03 2404024 12532016 684 08:24:44 Average: 2013133 11785772 4134603 25.25 277257 9236705 4831865 27.73 2390865 11148795 415 08:24:44 08:24:44 07:50:04 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:24:44 08:00:10 lo 18.38 18.38 8.85 8.85 0.00 0.00 0.00 0.00 08:24:44 08:00:10 ens3 3.02 2.45 0.93 2.57 0.00 0.00 0.00 0.00 08:24:44 08:00:10 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:44 08:10:01 lo 8.64 8.64 5.37 5.37 0.00 0.00 0.00 0.00 08:24:44 08:10:01 ens3 0.81 0.62 0.25 0.21 0.00 0.00 0.00 0.00 08:24:44 08:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:44 08:20:29 lo 33.33 33.33 12.85 12.85 0.00 0.00 0.00 0.00 08:24:44 08:20:29 ens3 0.96 0.87 0.24 0.18 0.00 0.00 0.00 0.00 08:24:44 08:20:29 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:44 Average: lo 20.37 20.37 9.10 9.10 0.00 0.00 0.00 0.00 08:24:44 Average: ens3 1.60 1.31 0.47 0.98 0.00 0.00 0.00 0.00 08:24:44 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:24:44 08:24:44 08:24:44 ---> sar -P ALL: 08:24:44 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-28271) 06/18/26 _x86_64_ (4 CPU) 08:24:44 08:24:44 07:41:19 LINUX RESTART (4 CPU) 08:24:44 08:24:44 07:50:04 CPU %user %nice %system %iowait %steal %idle 08:24:44 08:00:10 all 40.99 0.00 1.50 9.46 0.11 47.94 08:24:44 08:00:10 0 41.61 0.00 1.61 11.77 0.11 44.90 08:24:44 08:00:10 1 40.49 0.00 1.44 11.12 0.11 46.85 08:24:44 08:00:10 2 41.15 0.00 1.39 2.16 0.12 55.19 08:24:44 08:00:10 3 40.71 0.00 1.55 12.80 0.11 44.83 08:24:44 08:10:01 all 13.34 0.00 0.45 1.89 0.06 84.26 08:24:44 08:10:01 0 13.51 0.00 0.51 0.92 0.05 85.00 08:24:44 08:10:01 1 13.58 0.00 0.47 1.74 0.06 84.15 08:24:44 08:10:01 2 13.14 0.00 0.43 2.01 0.06 84.36 08:24:44 08:10:01 3 13.12 0.00 0.41 2.89 0.05 83.52 08:24:44 08:20:29 all 11.24 0.00 0.48 0.35 0.09 87.84 08:24:44 08:20:29 0 11.53 0.00 0.47 0.17 0.07 87.77 08:24:44 08:20:29 1 10.94 0.00 0.57 0.89 0.07 87.54 08:24:44 08:20:29 2 11.56 0.00 0.45 0.08 0.14 87.77 08:24:44 08:20:29 3 10.95 0.00 0.43 0.27 0.07 88.29 08:24:44 Average: all 21.81 0.00 0.81 3.88 0.09 73.42 08:24:44 Average: 0 22.17 0.00 0.86 4.27 0.08 72.63 08:24:44 Average: 1 21.61 0.00 0.82 4.56 0.08 72.92 08:24:44 Average: 2 21.90 0.00 0.76 1.40 0.11 75.84 08:24:44 Average: 3 21.55 0.00 0.80 5.28 0.08 72.29 08:24:44 08:24:44 08:24:44