07:33:34 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/109373 07:33:34 Running as SYSTEM 07:33:34 [EnvInject] - Loading node environment variables. 07:33:34 Building remotely on prd-ubuntu2204-docker-4c-16g-65929 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 07:33:34 [ssh-agent] Looking for ssh-agent implementation... 07:33:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:34 $ ssh-agent 07:33:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDO8VMt/agent.1569 07:33:34 SSH_AGENT_PID=1571 07:33:34 [ssh-agent] Started. 07:33:34 Running ssh-add (command line suppressed) 07:33:34 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_6833776561426291759.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_6833776561426291759.key) 07:33:34 [ssh-agent] Using credentials jenkins (jenkins-ssh) 07:33:34 The recommended git tool is: NONE 07:33:37 using credential jenkins-ssh 07:33:37 Wiping out workspace first. 07:33:37 Cloning the remote Git repository 07:33:37 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 07:33:37 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 07:33:38 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 07:33:38 > git --version # timeout=10 07:33:38 > git --version # 'git version 2.34.1' 07:33:38 using GIT_SSH to set credentials jenkins-ssh 07:33:38 Verifying host key using known hosts file, will automatically accept unseen keys 07:33:38 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:41 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 07:33:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:42 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 07:33:42 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 07:33:42 using GIT_SSH to set credentials jenkins-ssh 07:33:42 Verifying host key using known hosts file, will automatically accept unseen keys 07:33:42 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/73/109373/25 # timeout=10 07:33:42 > git rev-parse 25e0196d02ae018482a8b38008073a6918fa50fe^{commit} # timeout=10 07:33:42 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 07:33:42 Checking out Revision 25e0196d02ae018482a8b38008073a6918fa50fe (refs/changes/73/109373/25) 07:33:42 > git config core.sparsecheckout # timeout=10 07:33:42 > git checkout -f 25e0196d02ae018482a8b38008073a6918fa50fe # timeout=10 07:33:43 Commit message: "Create node links using connection map" 07:33:43 > git rev-parse FETCH_HEAD^{commit} # timeout=10 07:33:43 > git rev-list --no-walk e4d8efcfdae633c7183427147f58c77147a2d74e # timeout=10 07:33:43 > git remote # timeout=10 07:33:43 > git submodule init # timeout=10 07:33:43 > git submodule sync # timeout=10 07:33:43 > git config --get remote.origin.url # timeout=10 07:33:43 > git submodule init # timeout=10 07:33:43 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 07:33:43 ERROR: No submodules found. 07:33:46 provisioning config files... 07:33:46 copy managed file [npmrc] to file:/home/jenkins/.npmrc 07:33:46 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 07:33:46 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3056620105743757110.sh 07:33:46 ---> python-tools-install.sh 07:33:46 Setup pyenv: 07:33:46 * system (set by /opt/pyenv/version) 07:33:46 * 3.8.20 (set by /opt/pyenv/version) 07:33:46 * 3.9.20 (set by /opt/pyenv/version) 07:33:46 3.10.15 07:33:46 3.11.10 07:33:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oUwI 07:33:51 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 07:33:51 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:33:55 lf-activate-venv(): INFO: Installing additional packages: lftools 07:34:20 lf-activate-venv(): INFO: Adding /tmp/venv-oUwI/bin to PATH 07:34:20 Generating Requirements File 07:34:44 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:34:44 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 07:34:45 Python 3.11.10 07:34:45 pip 26.2.1 from /tmp/venv-oUwI/lib/python3.11/site-packages/pip (python 3.11) 07:34:45 aiohappyeyeballs==2.7.1 07:34:45 aiohttp==3.14.5 07:34:45 aiosignal==1.4.0 07:34:45 appdirs==1.4.4 07:34:45 argcomplete==3.7.2 07:34:45 aspy.yaml==1.3.0 07:34:45 attrs==26.1.0 07:34:45 autopage==0.6.0 07:34:45 beautifulsoup4==4.15.0 07:34:45 boto3==1.43.115 07:34:45 botocore==1.43.115 07:34:45 bs4==0.0.2 07:34:45 certifi==2026.10.19 07:34:45 cffi==2.1.1 07:34:45 cfgv==3.5.0 07:34:45 chardet==7.7.0 07:34:45 charset-normalizer==3.5.2 07:34:45 click==8.5.0 07:34:45 cliff==4.16.0 07:34:45 cmd2==4.3.0 07:34:45 cryptography==3.3.2 07:34:45 debtcollector==3.1.0 07:34:45 decorator==5.3.1 07:34:45 defusedxml==0.7.1 07:34:45 Deprecated==1.3.1 07:34:45 distlib==0.4.4 07:34:45 dnspython==2.9.0 07:34:45 docker==7.2.0 07:34:45 dogpile.cache==1.5.0 07:34:45 durationpy==0.11 07:34:45 email-validator==2.3.0 07:34:45 filelock==4.2.4 07:34:45 frozenlist==1.8.0 07:34:45 future==1.0.0 07:34:45 gitdb==4.0.12 07:34:45 GitPython==3.2.1 07:34:45 httplib2==0.30.2 07:34:45 identify==2.6.20 07:34:45 idna==3.20 07:34:45 importlib-resources==1.5.0 07:34:45 iso8601==2.1.0 07:34:45 Jinja2==3.1.6 07:34:45 jmespath==1.1.0 07:34:45 jsonpatch==1.36 07:34:45 jsonpointer==3.4 07:34:45 jsonschema==4.26.0 07:34:45 jsonschema-specifications==2025.9.1 07:34:45 keystoneauth1==5.18.1 07:34:45 kubernetes==36.0.3 07:34:45 lftools==0.37.26 07:34:45 lxml==6.1.3 07:34:45 markdown-it-py==4.2.0 07:34:45 MarkupSafe==3.0.4 07:34:45 mdurl==0.1.2 07:34:45 msgpack==1.2.3 07:34:45 multi_key_dict==2.0.3 07:34:45 multidict==7.1.0 07:34:45 munch==4.0.0 07:34:45 netaddr==1.3.0 07:34:45 niet==1.4.2 07:34:45 nodeenv==1.11.0 07:34:45 oauth2client==4.1.3 07:34:45 oauthlib==4.0.0 07:34:45 openstacksdk==4.21.0 07:34:45 os-service-types==1.9.0 07:34:45 osc-lib==4.7.0 07:34:45 oslo.config==10.7.0 07:34:45 oslo.context==6.5.0 07:34:45 oslo.i18n==6.9.0 07:34:45 oslo.log==8.3.2 07:34:45 oslo.serialization==5.11.0 07:34:45 oslo.utils==10.2.0 07:34:45 packaging==26.3 07:34:45 pbr==7.1.3 07:34:45 platformdirs==4.13.5 07:34:45 prettytable==3.18.0 07:34:45 prompt_toolkit==3.0.53 07:34:45 propcache==0.5.4 07:34:45 psutil==7.2.2 07:34:45 pyasn1==0.6.4 07:34:45 pyasn1_modules==0.4.2 07:34:45 pycparser==3.11 07:34:45 pygerrit2==2.0.15 07:34:45 PyGithub==2.10.0 07:34:45 Pygments==2.21.0 07:34:45 PyJWT==2.15.1 07:34:45 PyNaCl==1.6.2 07:34:45 pyparsing==2.4.7 07:34:45 pyperclip==1.11.0 07:34:45 pyrsistent==0.20.0 07:34:45 python-dateutil==2.9.0.post0 07:34:45 python-discovery==1.6.4 07:34:45 python-heatclient==5.3.0 07:34:45 python-jenkins==1.8.3 07:34:45 python-keystoneclient==6.0.0 07:34:45 python-magnumclient==5.0.0 07:34:45 python-manilaclient==6.3.0 07:34:45 python-openstackclient==10.4.0 07:34:45 python-swiftclient==4.11.0 07:34:45 PyYAML==6.0.3 07:34:45 referencing==0.37.0 07:34:45 requests==2.34.2 07:34:45 requests-oauthlib==2.0.0 07:34:45 rfc3986==2.0.0 07:34:45 rich==15.0.0 07:34:45 rich-argparse==1.8.0 07:34:45 rpds-py==2026.9.1 07:34:45 rsa==4.9.1 07:34:45 ruamel.yaml==0.19.1 07:34:45 ruamel.yaml.clib==0.2.15 07:34:45 s3transfer==0.19.3 07:34:45 simplejson==4.2.0 07:34:45 six==1.17.0 07:34:45 smmap==5.0.3 07:34:45 soupsieve==3.0.3 07:34:45 stevedore==5.9.1 07:34:45 tabulate==0.10.0 07:34:45 toml==0.10.2 07:34:45 tomlkit==0.15.2 07:34:45 tqdm==4.70.1 07:34:45 typing_extensions==4.16.0 07:34:45 urllib3==1.26.20 07:34:45 virtualenv==21.14.11 07:34:45 wcwidth==0.9.2 07:34:45 websocket-client==1.9.2 07:34:45 wrapt==2.5.1 07:34:45 xdg==6.0.0 07:34:45 xmltodict==1.0.4 07:34:45 yarl==1.25.1 07:34:45 yq==4.4.5 07:34:45 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins6743721748982359398.sh 07:34:45 ---> uv-install.sh 07:34:45 Installing uv/uvx (latest) using shell installer 07:34:46 2026-10-20 07:34:46 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-X2SvQH.sh" [1] 07:34:46 downloading uv 0.13.3 x86_64-unknown-linux-gnu 07:34:46 installing to /home/jenkins/.local/bin 07:34:46 uv 07:34:46 uvx 07:34:46 everything's installed! 07:34:46 07:34:46 To add $HOME/.local/bin to your PATH, either restart your shell or run: 07:34:46 07:34:46 source $HOME/.local/bin/env (sh, bash, zsh) 07:34:46 source $HOME/.local/bin/env.fish (fish) 07:34:46 Adding install location to PATH 07:34:46 ---> Validating uv/uvx install 07:34:46 uvx 0.13.3 (x86_64-unknown-linux-gnu) 07:34:46 [EnvInject] - Injecting environment variables from a build step. 07:34:46 [EnvInject] - Injecting as environment variables the properties content 07:34:46 PYTHON=python3 07:34:46 07:34:46 [EnvInject] - Variables injected successfully. 07:34:46 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins18107388156481194610.sh 07:34:46 ---> tox-install.sh 07:34:46 + source /home/jenkins/lf-env.sh 07:34:46 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:34:46 ++ mktemp -d /tmp/venv-XXXX 07:34:46 + lf_venv=/tmp/venv-jO6D 07:34:46 + local venv_file=/tmp/.os_lf_venv 07:34:46 + local python=python3 07:34:46 + local options 07:34:46 + local set_path=true 07:34:46 + local install_args= 07:34:46 ++ 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:34:46 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:34:46 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:34:46 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:34:46 + true 07:34:46 + case $1 in 07:34:46 + venv_file=/tmp/.toxenv 07:34:46 + shift 2 07:34:46 + true 07:34:46 + case $1 in 07:34:46 + shift 07:34:46 + break 07:34:46 + case $python in 07:34:46 + local pkg_list= 07:34:46 + [[ -d /opt/pyenv ]] 07:34:46 + echo 'Setup pyenv:' 07:34:46 Setup pyenv: 07:34:46 + export PYENV_ROOT=/opt/pyenv 07:34:46 + PYENV_ROOT=/opt/pyenv 07:34:46 + 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:34:46 + 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:34:46 + pyenv versions 07:34:47 system 07:34:47 3.8.20 07:34:47 3.9.20 07:34:47 3.10.15 07:34:47 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:34:47 + command -v pyenv 07:34:47 ++ pyenv init - --no-rehash 07:34:47 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 07:34:47 for i in ${!paths[@]}; do 07:34:47 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 07:34:47 fi; done; 07:34:47 echo "${paths[*]}"'\'')" 07:34:47 export PATH="/opt/pyenv/shims:${PATH}" 07:34:47 export PYENV_SHELL=bash 07:34:47 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:34:47 pyenv() { 07:34:47 local command 07:34:47 command="${1:-}" 07:34:47 if [ "$#" -gt 0 ]; then 07:34:47 shift 07:34:47 fi 07:34:47 07:34:47 case "$command" in 07:34:47 rehash|shell) 07:34:47 eval "$(pyenv "sh-$command" "$@")" 07:34:47 ;; 07:34:47 *) 07:34:47 command pyenv "$command" "$@" 07:34:47 ;; 07:34:47 esac 07:34:47 }' 07:34:47 +++ bash --norc -ec 'IFS=:; paths=($PATH); 07:34:47 for i in ${!paths[@]}; do 07:34:47 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 07:34:47 fi; done; 07:34:47 echo "${paths[*]}"' 07:34:47 ++ 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:34:47 ++ 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:34:47 ++ 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:34:47 ++ export PYENV_SHELL=bash 07:34:47 ++ PYENV_SHELL=bash 07:34:47 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:34:47 +++ complete -F _pyenv pyenv 07:34:47 ++ lf-pyver python3 07:34:47 ++ local py_version_xy=python3 07:34:47 ++ local py_version_xyz= 07:34:47 ++ pyenv versions 07:34:47 ++ local command 07:34:47 ++ command=versions 07:34:47 ++ '[' 1 -gt 0 ']' 07:34:47 ++ shift 07:34:47 ++ case "$command" in 07:34:47 ++ command pyenv versions 07:34:47 ++ awk '{ print $1 }' 07:34:47 ++ sed 's/^[ *]* //' 07:34:47 ++ grep -E '^[0-9.]*[0-9]$' 07:34:47 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:34:47 +++ grep '^3' /tmp/.pyenv_versions 07:34:47 +++ sort -V 07:34:47 +++ tail -n 1 07:34:47 ++ py_version_xyz=3.11.10 07:34:47 ++ [[ -z 3.11.10 ]] 07:34:47 ++ echo 3.11.10 07:34:47 ++ return 0 07:34:47 + pyenv local 3.11.10 07:34:47 + local command 07:34:47 + command=local 07:34:47 + '[' 2 -gt 0 ']' 07:34:47 + shift 07:34:47 + case "$command" in 07:34:47 + command pyenv local 3.11.10 07:34:47 + for arg in "$@" 07:34:47 + case $arg in 07:34:47 + pkg_list+='tox ' 07:34:47 + for arg in "$@" 07:34:47 + case $arg in 07:34:47 + pkg_list+='virtualenv ' 07:34:47 + for arg in "$@" 07:34:47 + case $arg in 07:34:47 + pkg_list+='urllib3~=1.26.15 ' 07:34:47 + [[ -f /tmp/.toxenv ]] 07:34:47 + [[ ! -f /tmp/.toxenv ]] 07:34:47 + [[ -n '' ]] 07:34:47 + python3 -m venv /tmp/venv-jO6D 07:34:51 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jO6D' 07:34:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jO6D 07:34:51 + echo /tmp/venv-jO6D 07:34:51 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 07:34:51 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 07:34:51 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:34:51 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:34:51 + local 'pip_opts=--upgrade --quiet' 07:34:51 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:34:51 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:34:51 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:34:51 + [[ -n '' ]] 07:34:51 + [[ -n '' ]] 07:34:51 + lf-venv-pip-install /tmp/venv-jO6D/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 07:34:51 + local venv_python=/tmp/venv-jO6D/bin/python3 07:34:51 + shift 07:34:51 + local upstream=https://pypi.org/simple 07:34:51 + /tmp/venv-jO6D/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:34:55 + return 0 07:34:55 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:34:55 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:34:55 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:34:55 + lf-venv-pip-install /tmp/venv-jO6D/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 07:34:55 + local venv_python=/tmp/venv-jO6D/bin/python3 07:34:55 + shift 07:34:55 + local upstream=https://pypi.org/simple 07:34:55 + /tmp/venv-jO6D/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:34:57 + return 0 07:34:57 + type python3 07:34:57 + true 07:34:57 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-jO6D/bin to PATH' 07:34:57 lf-activate-venv(): INFO: Adding /tmp/venv-jO6D/bin to PATH 07:34:57 + PATH=/tmp/venv-jO6D/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:34:57 + return 0 07:34:57 + python3 --version 07:34:57 Python 3.11.10 07:34:57 + python3 -m pip --version 07:34:57 pip 26.2.1 from /tmp/venv-jO6D/lib/python3.11/site-packages/pip (python 3.11) 07:34:57 + python3 -m pip freeze 07:34:57 cachetools==7.2.4 07:34:57 colorama==0.4.6 07:34:57 distlib==0.4.4 07:34:57 filelock==4.2.4 07:34:57 packaging==26.3 07:34:57 platformdirs==4.13.5 07:34:57 pluggy==1.7.0 07:34:57 pyproject-api==1.12.0 07:34:57 python-discovery==1.6.4 07:34:57 tomli_w==1.2.0 07:34:57 tox==4.67.1 07:34:57 typing_extensions==4.16.0 07:34:57 urllib3==1.26.20 07:34:57 virtualenv==21.14.11 07:34:57 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins14018203253243825745.sh 07:34:57 [EnvInject] - Injecting environment variables from a build step. 07:34:57 [EnvInject] - Injecting as environment variables the properties content 07:34:57 PARALLEL=True 07:34:57 07:34:57 [EnvInject] - Variables injected successfully. 07:34:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11195937468214048030.sh 07:34:57 ---> tox-run.sh 07:34:57 + 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:34:57 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 07:34:57 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 07:34:57 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 07:34:57 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 07:34:57 + source /home/jenkins/lf-env.sh 07:34:57 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 07:34:57 ++ mktemp -d /tmp/venv-XXXX 07:34:57 + lf_venv=/tmp/venv-fKOa 07:34:57 + local venv_file=/tmp/.os_lf_venv 07:34:57 + local python=python3 07:34:57 + local options 07:34:57 + local set_path=true 07:34:57 + local install_args= 07:34:57 ++ 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:34:57 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:34:57 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 07:34:57 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 07:34:57 + true 07:34:57 + case $1 in 07:34:57 + venv_file=/tmp/.toxenv 07:34:57 + shift 2 07:34:57 + true 07:34:57 + case $1 in 07:34:57 + shift 07:34:57 + break 07:34:57 + case $python in 07:34:57 + local pkg_list= 07:34:57 + [[ -d /opt/pyenv ]] 07:34:57 + echo 'Setup pyenv:' 07:34:57 Setup pyenv: 07:34:57 + export PYENV_ROOT=/opt/pyenv 07:34:57 + PYENV_ROOT=/opt/pyenv 07:34:57 + 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:34:57 + 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:34:57 + pyenv versions 07:34:57 system 07:34:57 3.8.20 07:34:57 3.9.20 07:34:57 3.10.15 07:34:57 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 07:34:57 + command -v pyenv 07:34:57 ++ pyenv init - --no-rehash 07:34:57 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 07:34:57 for i in ${!paths[@]}; do 07:34:57 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 07:34:57 fi; done; 07:34:57 echo "${paths[*]}"'\'')" 07:34:57 export PATH="/opt/pyenv/shims:${PATH}" 07:34:57 export PYENV_SHELL=bash 07:34:57 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 07:34:57 pyenv() { 07:34:57 local command 07:34:57 command="${1:-}" 07:34:57 if [ "$#" -gt 0 ]; then 07:34:57 shift 07:34:57 fi 07:34:57 07:34:57 case "$command" in 07:34:57 rehash|shell) 07:34:57 eval "$(pyenv "sh-$command" "$@")" 07:34:57 ;; 07:34:57 *) 07:34:57 command pyenv "$command" "$@" 07:34:57 ;; 07:34:57 esac 07:34:57 }' 07:34:57 +++ bash --norc -ec 'IFS=:; paths=($PATH); 07:34:57 for i in ${!paths[@]}; do 07:34:57 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 07:34:57 fi; done; 07:34:57 echo "${paths[*]}"' 07:34:57 ++ 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:34:57 ++ 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:34:57 ++ 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:34:57 ++ export PYENV_SHELL=bash 07:34:57 ++ PYENV_SHELL=bash 07:34:57 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 07:34:57 +++ complete -F _pyenv pyenv 07:34:57 ++ lf-pyver python3 07:34:57 ++ local py_version_xy=python3 07:34:57 ++ local py_version_xyz= 07:34:57 ++ pyenv versions 07:34:57 ++ local command 07:34:57 ++ command=versions 07:34:57 ++ '[' 1 -gt 0 ']' 07:34:57 ++ shift 07:34:57 ++ case "$command" in 07:34:57 ++ command pyenv versions 07:34:57 ++ sed 's/^[ *]* //' 07:34:57 ++ awk '{ print $1 }' 07:34:57 ++ grep -E '^[0-9.]*[0-9]$' 07:34:57 ++ [[ ! -s /tmp/.pyenv_versions ]] 07:34:57 +++ grep '^3' /tmp/.pyenv_versions 07:34:57 +++ sort -V 07:34:57 +++ tail -n 1 07:34:57 ++ py_version_xyz=3.11.10 07:34:57 ++ [[ -z 3.11.10 ]] 07:34:57 ++ echo 3.11.10 07:34:57 ++ return 0 07:34:57 + pyenv local 3.11.10 07:34:57 + local command 07:34:57 + command=local 07:34:57 + '[' 2 -gt 0 ']' 07:34:57 + shift 07:34:57 + case "$command" in 07:34:57 + command pyenv local 3.11.10 07:34:57 + for arg in "$@" 07:34:57 + case $arg in 07:34:57 + pkg_list+='tox ' 07:34:57 + for arg in "$@" 07:34:57 + case $arg in 07:34:57 + pkg_list+='virtualenv ' 07:34:57 + for arg in "$@" 07:34:57 + case $arg in 07:34:57 + pkg_list+='urllib3~=1.26.15 ' 07:34:57 + [[ -f /tmp/.toxenv ]] 07:34:57 ++ cat /tmp/.toxenv 07:34:57 + lf_venv=/tmp/venv-jO6D 07:34:57 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jO6D from' file:/tmp/.toxenv 07:34:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jO6D from file:/tmp/.toxenv 07:34:57 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 07:34:57 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 07:34:57 + local 'pip_opts=--upgrade --quiet' 07:34:57 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 07:34:57 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 07:34:57 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 07:34:57 + [[ -n '' ]] 07:34:57 + [[ -n '' ]] 07:34:57 + lf-venv-pip-install /tmp/venv-jO6D/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 07:34:57 + local venv_python=/tmp/venv-jO6D/bin/python3 07:34:57 + shift 07:34:57 + local upstream=https://pypi.org/simple 07:34:57 + /tmp/venv-jO6D/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:34:58 + return 0 07:34:58 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 07:34:58 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 07:34:58 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 07:34:58 + lf-venv-pip-install /tmp/venv-jO6D/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 07:34:58 + local venv_python=/tmp/venv-jO6D/bin/python3 07:34:58 + shift 07:34:58 + local upstream=https://pypi.org/simple 07:34:58 + /tmp/venv-jO6D/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:34:59 + return 0 07:34:59 + type python3 07:34:59 + true 07:34:59 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-jO6D/bin to PATH' 07:34:59 lf-activate-venv(): INFO: Adding /tmp/venv-jO6D/bin to PATH 07:34:59 + PATH=/tmp/venv-jO6D/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:34:59 + return 0 07:34:59 + [[ -d /opt/pyenv ]] 07:34:59 + echo '---> Setting up pyenv' 07:34:59 ---> Setting up pyenv 07:34:59 + export PYENV_ROOT=/opt/pyenv 07:34:59 + PYENV_ROOT=/opt/pyenv 07:34:59 + export PATH=/opt/pyenv/bin:/tmp/venv-jO6D/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:34:59 + PATH=/opt/pyenv/bin:/tmp/venv-jO6D/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:34:59 ++ pwd 07:34:59 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 07:34:59 + export PYTHONPATH 07:34:59 + export TOX_TESTENV_PASSENV=PYTHONPATH 07:34:59 + TOX_TESTENV_PASSENV=PYTHONPATH 07:34:59 + tox --version 07:35:00 4.67.1 from /tmp/venv-jO6D/lib/python3.11/site-packages/tox/__init__.py 07:35:00 + PARALLEL=True 07:35:00 + TOX_OPTIONS_LIST= 07:35:00 + [[ -n '' ]] 07:35:00 + case ${PARALLEL,,} in 07:35:00 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 07:35:00 + tox --parallel auto --parallel-live 07:35:00 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 07:35:01 docs: install_deps> python -I -m pip install -r docs/requirements.txt 07:35:01 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 07:35:01 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:35:01 checkbashisms: freeze> python -m pip freeze --all 07:35:02 checkbashisms: pip==26.2.1,setuptools==84.0.0 07:35:02 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 07:35:02 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:35:02 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 07:35:03 checkbashisms: OK ✔ in 3.26 seconds 07:35:03 pre-commit: install_deps> python -I -m pip install pre-commit 07:35:06 pre-commit: freeze> python -m pip freeze --all 07:35:06 pre-commit: cfgv==3.5.0,distlib==0.4.4,filelock==4.2.4,identify==2.6.20,nodeenv==1.11.0,packaging==26.3,pip==26.2.1,platformdirs==4.13.5,pre_commit==4.7.0,python-discovery==1.6.4,PyYAML==6.0.3,setuptools==84.0.0,virtualenv==21.14.11 07:35:06 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 07:35:06 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:35:06 /usr/bin/cpan 07:35:06 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 07:35:06 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 07:35:07 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 07:35:07 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 07:35:08 buildcontroller: freeze> python -m pip freeze --all 07:35:08 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 07:35:08 buildcontroller: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:35:08 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 07:35:08 + update-java-alternatives -l 07:35:08 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 07:35:08 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 07:35:08 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 07:35:08 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 07:35:08 update-alternatives: error: no alternatives for jaotc 07:35:08 update-alternatives: error: no alternatives for rmic 07:35:08 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 07:35:08 + + sed -n s/.* version "\([0-9]*\).*/\1/p 07:35:08 java -version 07:35:08 + JAVA_VER=21 07:35:08 + echo 21 07:35:08 21 07:35:08 + sed -n s/^javac \([0-9]*\).*/\1/p 07:35:08 + javac -version 07:35:09 + JAVAC_VER=21 07:35:09 + echo 21 07:35:09 + [ 21 -ge 21 ] 07:35:09 + [ 21 -ge 21 ] 07:35:09 + echo ok, java is 21 or newer 07:35:09 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 07:35:09 21 07:35:09 ok, java is 21 or newer 07:35:09 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 07:35:09 2026-10-20 07:35:09 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:35:09 + sudo mkdir -p /opt 07:35:09 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 07:35:09 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 07:35:09 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 07:35:09 + mvn --version 07:35:09 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 07:35:09 Maven home: /opt/maven 07:35:09 Java version: 21.0.12.1, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 07:35:09 Default locale: en, platform encoding: UTF-8 07:35:09 OS name: "linux", version: "5.15.0-198-generic", arch: "amd64", family: "unix" 07:35:09 NOTE: Picked up JDK_JAVA_OPTIONS: 07:35:09 --add-opens=java.base/java.io=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.lang=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.net=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.nio=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.util=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:35:09 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:35:09 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:35:09 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:35:09 -Xlog:disable 07:35:09 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 07:35:10 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 07:35:10 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 07:35:11 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 07:35:11 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 07:35:11 [INFO] Once installed this environment will be reused. 07:35:11 [INFO] This may take a few minutes... 07:35:15 docs-linkcheck: freeze> python -m pip freeze --all 07:35:15 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.10.19,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.58.6,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.4.0,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==9.0.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.2.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.10.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,ub-project==1.1.0,urllib3==2.8.0 07:35:15 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:35:16 docs: freeze> python -m pip freeze --all 07:35:16 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.10.19,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.58.6,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.4.0,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==9.0.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.2.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.10.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,ub-project==1.1.0,urllib3==2.8.0 07:35:16 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:35:18 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 07:35:18 [INFO] Once installed this environment will be reused. 07:35:18 [INFO] This may take a few minutes... 07:35:20 docs-linkcheck: OK ✔ in 19.74 seconds 07:35:20 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 07:35:23 docs: OK ✔ in 20.4 seconds 07:35:23 pylint: freeze> python -m pip freeze --all 07:35:23 pylint: astroid==4.3.4,dill==0.4.1,isort==9.0.2,mccabe==0.7.0,mypy_extensions==1.1.0,pip==26.2.1,platformdirs==4.13.5,pylint==4.1.3,setuptools==84.0.0,tomlkit==0.15.2 07:35:23 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:35:24 [INFO] Installing environment for https://github.com/hhatto/autopep8. 07:35:24 [INFO] Once installed this environment will be reused. 07:35:24 [INFO] This may take a few minutes... 07:35:28 [INFO] Installing environment for https://github.com/perltidy/perltidy. 07:35:28 [INFO] Once installed this environment will be reused. 07:35:28 [INFO] This may take a few minutes... 07:35:38 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 07:35:38 [INFO] Once installed this environment will be reused. 07:35:38 [INFO] This may take a few minutes... 07:35:42 07:35:42 ------------------------------------ 07:35:42 Your code has been rated at 10.00/10 07:35:42 07:35:42 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 07:35:42 [INFO] Once installed this environment will be reused. 07:35:42 [INFO] This may take a few minutes... 07:35:46 trim trailing whitespace.................................................Passed 07:35:46 fix end of files.........................................................Passed 07:35:46 check for added large files..............................................Passed 07:35:47 check for merge conflicts................................................Passed 07:35:47 check for case conflicts.................................................Passed 07:35:47 check json...............................................................Passed 07:35:47 mixed line ending........................................................Passed 07:35:47 Tabs remover.............................................................Passed 07:35:48 autopep8.................................................................Passed 07:35:50 perltidy.................................................................Passed 07:35:51 ShellCheck v0.11.0.......................................................Passed 07:35:55 prettier.................................................................Passed 07:35:57 yamllint.................................................................Passed 07:35:57 pylint: OK ✔ in 24.79 seconds 07:35:57 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 07:35:57 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 07:35:57 [INFO] Once installed this environment will be reused. 07:35:57 [INFO] This may take a few minutes... 07:36:05 gitlint..................................................................Passed 07:36:44 pre-commit: OK ✔ in 1 minute 1.44 seconds 07:36:44 buildcontroller: OK ✔ in 1 minute 43.48 seconds 07:36:44 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:36:45 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:36:45 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:36:45 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:36:51 buildlighty: freeze> python -m pip freeze --all 07:36:51 build_karaf_tests71: freeze> python -m pip freeze --all 07:36:51 build_karaf_tests221: freeze> python -m pip freeze --all 07:36:51 build_karaf_tests200: freeze> python -m pip freeze --all 07:36:51 buildlighty: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:36:51 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 07:36:51 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:36:51 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:36:51 build karaf in karaf71 with ./karaf71.env 07:36:51 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 07:36:51 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:36:51 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:36:51 build karaf in karaf221 with ./karaf221.env 07:36:51 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:36:51 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 07:36:51 build karaf in karafoc200 with ./karafoc200.env 07:36:51 NOTE: Picked up JDK_JAVA_OPTIONS: 07:36:51 --add-opens=java.base/java.io=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.net=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:36:51 -Xlog:disable 07:36:51 NOTE: Picked up JDK_JAVA_OPTIONS: 07:36:51 --add-opens=java.base/java.io=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.net=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:36:51 -Xlog:disable 07:36:51 NOTE: Picked up JDK_JAVA_OPTIONS: 07:36:51 --add-opens=java.base/java.io=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.net=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.nio.file=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.jar=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.stream=ALL-UNNAMED 07:36:51 --add-opens=java.base/java.util.zip=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 07:36:51 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 07:36:51 -Xlog:disable 07:37:29 buildlighty: OK ✔ in 45.41 seconds 07:37:29 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:37:38 sims: freeze> python -m pip freeze --all 07:37:38 sims: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:37:38 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 07:37:38 Using lighynode version 22.1.0.7 07:37:38 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 07:37:43 sims: OK ✔ in 12.44 seconds 07:37:43 build_karaf_tests71: OK ✔ in 58.23 seconds 07:37:43 build_karaf_tests221: OK ✔ in 58.3 seconds 07:37:43 build_karaf_tests200: OK ✔ in 58.78 seconds 07:37:43 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:38:27 testsPCE: freeze> python -m pip freeze --all 07:38:28 testsPCE: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,click==8.5.0,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.8,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.67.0,gnpy4tpce==2.4.7,idna==3.20,iniconfig==2.3.1,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.1,lxml==6.1.3,MarkupSafe==3.0.4,matplotlib==3.11.2,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.3,pandas==1.5.3,paramiko==5.1.0,pbr==5.11.1,pillow==13.0.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pyparsing==3.3.3,pytest==9.1.1,python-dateutil==2.9.0.post0,pytz==2026.5,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.8.0,Werkzeug==2.0.3,xlrd==1.2.0 07:38:28 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 07:38:28 pytest -q transportpce_tests/pce/test01_pce.py 07:39:15 .................... [100%] 07:40:19 20 passed in 111.38s (0:01:51) 07:40:19 pytest -q transportpce_tests/pce/test02_pce_400G.py 07:40:38 ............ [100%] 07:41:09 12 passed in 49.64s 07:41:09 pytest -q transportpce_tests/pce/test03_gnpy.py 07:41:28 ........ [100%] 07:41:50 8 passed in 40.25s 07:41:50 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 07:42:24 ... [100%] 07:42:29 3 passed in 39.26s 07:42:29 testsPCE: OK ✔ in 4 minutes 46.97 seconds 07:42:29 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:42:36 tests_tapi: freeze> python -m pip freeze --all 07:42:36 tests_tapi: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:42:36 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 07:42:36 using environment variables from ./karaf221.env 07:42:36 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 07:44:17 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 07:44:26 ==================================== ERRORS ==================================== 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_01_get_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 07:44:26 @classmethod 07:44:26 def setUpClass(cls): 07:44:26 cls.init_failed = False 07:44:26 os.environ['JAVA_MIN_MEM'] = '1024M' 07:44:26 os.environ['JAVA_MAX_MEM'] = '4096M' 07:44:26 > cls.processes = test_utils.start_tpce() 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 07:44:26 transportpce_tests/tapi/test01_abstracted_topology.py:148: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 def start_tpce(): 07:44:26 if 'NO_ODL_STARTUP' in os.environ: 07:44:26 print('No OpenDaylight instance to start!') 07:44:26 return [] 07:44:26 print('starting OpenDaylight...') 07:44:26 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 07:44:26 process = start_lighty() 07:44:26 else: 07:44:26 process = start_karaf() 07:44:26 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 07:44:26 print('OpenDaylight started !') 07:44:26 else: 07:44:26 print('OpenDaylight failed to start !') 07:44:26 shutdown_process(process) 07:44:26 for pid in process_list: 07:44:26 shutdown_process(pid) 07:44:26 > sys.exit(1) 07:44:26 E SystemExit: 1 07:44:26 07:44:26 transportpce_tests/common/test_utils.py:234: SystemExit 07:44:26 ---------------------------- Captured stdout setup ----------------------------- 07:44:26 starting OpenDaylight... 07:44:26 starting KARAF (karaf221) TransportPCE build... 07:44:26 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_02_get_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_03_connect_rdmb ___ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3b00> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_04_check_tapi_topos _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25d538540> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_05_disconnect_roadmb _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25d57a980> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_06_connect_xpdra __ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98680> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_07_check_tapi_topos _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_08_connect_rdma ___ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3380> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_09_connect_rdmc ___ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3240> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_10_check_tapi_topos _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_11_connect_xpdra_n1_to_roadma_pp1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3a60> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_12_connect_roadma_pp1_to_xpdra_n1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3ce0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_13_check_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_14_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3740> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 __ ERROR at setup of TestTransportPCEAbstractedTopology.test_15_connect_xpdrc __ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3e20> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_16_connect_xpdrc_n1_to_roadmc_pp1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_17_connect_roadmc_pp1_to_xpdrc_n1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98b80> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_18_check_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef2480> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_19_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3ba0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_20_connect_spdr_sa1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef39c0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_21_connect_spdr_sc1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98b80> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_22_check_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae99940> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_23_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3740> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_24_connect_sprda_n1_to_roadma_pp2 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98ea0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_25_connect_roadma_pp2_to_spdra_n1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3c40> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_26_connect_sprdc_n1_to_roadmc_pp2 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef39c0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_27_connect_roadmc_pp2_to_spdrc_n1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98ea0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_28_check_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef2e80> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_29_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98ea0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_30_add_oms_attributes _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1120> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_31_create_OCH_OTU4_service _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3ba0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_32_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1120> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_33_create_ODU4_service _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98ea0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_34_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef2e80> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_35_connect_sprda_2_n2_to_roadma_pp3 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_36_connect_roadma_pp3_to_spdra_2_n2 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25ae98ea0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_37_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef3e20> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_38_delete_ODU4_service _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1120> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_39_delete_OCH_OTU4_service _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_40_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1120> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_41_disconnect_xponders_from_roadm _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_42_check_tapi_topology_T0 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af10180> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_43_get_tapi_topology_T100G _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_44_disconnect_roadma _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af10180> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_45_disconnect_roadmc _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af116c0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_46_check_tapi_topos _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_47_disconnect_xpdra _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af114e0> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_48_disconnect_xpdrc _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af10680> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_49_disconnect_spdr_sa1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25aef1760> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_50_disconnect_spdr_sc1 _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af10f40> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 _ ERROR at setup of TestTransportPCEAbstractedTopology.test_51_check_uninstall_Tapi_Feature _ 07:44:26 07:44:26 cls = 07:44:26 func = . at 0x7fe25af10680> 07:44:26 when = 'setup' 07:44:26 reraise = (, ) 07:44:26 07:44:26 @classmethod 07:44:26 def from_call( 07:44:26 cls, 07:44:26 func: Callable[[], TResult], 07:44:26 when: Literal["collect", "setup", "call", "teardown"], 07:44:26 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 07:44:26 ) -> CallInfo[TResult]: 07:44:26 """Call func, wrapping the result in a CallInfo. 07:44:26 07:44:26 :param func: 07:44:26 The function to call. Called without arguments. 07:44:26 :type func: Callable[[], _pytest.runner.TResult] 07:44:26 :param when: 07:44:26 The phase in which the function is called. 07:44:26 :param reraise: 07:44:26 Exception or exceptions that shall propagate if raised by the 07:44:26 function, instead of being wrapped in the CallInfo. 07:44:26 """ 07:44:26 excinfo = None 07:44:26 instant = timing.Instant() 07:44:26 try: 07:44:26 > result: TResult | None = func() 07:44:26 ^^^^^^ 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:361: 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:250: in 07:44:26 lambda: runtest_hook(item=item, **kwds), 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_caller.py:197: in __call__ 07:44:26 return self._hookexec( 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/pluggy/_manager.py:183: in _hookexec 07:44:26 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 07:44:26 yield 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 07:44:26 return (yield) 07:44:26 ^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 07:44:26 item.session._setupstate.setup(item) 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 07:44:26 col.setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 07:44:26 super().setup() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 07:44:26 self._request._fillfixtures() 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 07:44:26 item.funcargs[argname] = self.getfixturevalue(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 07:44:26 fixturedef = self._get_active_fixturedef(argname) 07:44:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 07:44:26 fixturedef.execute(request=subrequest) 07:44:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 07:44:26 07:44:26 self = 07:44:26 request = > 07:44:26 07:44:26 def execute(self, request: SubRequest) -> FixtureValue: 07:44:26 """Return the value of this fixture, executing it if not cached.""" 07:44:26 # Ensure that the dependent fixtures requested by this fixture are loaded. 07:44:26 # This needs to be done before checking if we have a cached value, since 07:44:26 # if a dependent fixture has their cache invalidated, e.g. due to 07:44:26 # parametrization, they finalize themselves and fixtures depending on it 07:44:26 # (which will likely include this fixture) setting `self.cached_result = None`. 07:44:26 # See #4871 07:44:26 requested_fixtures_that_should_finalize_us = [] 07:44:26 for argname in self.argnames: 07:44:26 fixturedef = request._get_active_fixturedef(argname) 07:44:26 # Saves requested fixtures in a list so we later can add our finalizer 07:44:26 # to them, ensuring that if a requested fixture gets torn down we get torn 07:44:26 # down first. This is generally handled by SetupState, but still currently 07:44:26 # needed when this fixture is not parametrized but depends on a parametrized 07:44:26 # fixture. 07:44:26 requested_fixtures_that_should_finalize_us.append(fixturedef) 07:44:26 07:44:26 # Check for (and return) cached value/exception. 07:44:26 if self.cached_result is not None: 07:44:26 request_cache_key = self.cache_key(request) 07:44:26 cache_key = self.cached_result[1] 07:44:26 try: 07:44:26 # Attempt to make a normal == check: this might fail for objects 07:44:26 # which do not implement the standard comparison (like numpy arrays -- #6497). 07:44:26 cache_hit = bool(request_cache_key == cache_key) 07:44:26 except (ValueError, RuntimeError): 07:44:26 # If the comparison raises, use 'is' as fallback. 07:44:26 cache_hit = request_cache_key is cache_key 07:44:26 07:44:26 if cache_hit: 07:44:26 if self.cached_result[2] is not None: 07:44:26 exc, exc_tb = self.cached_result[2] 07:44:26 raise exc.with_traceback(exc_tb) 07:44:26 else: 07:44:26 return self.cached_result[0] 07:44:26 # We have a previous but differently parametrized fixture instance 07:44:26 # so we need to tear it down before creating a new one. 07:44:26 self.finish(request) 07:44:26 assert self.cached_result is None 07:44:26 07:44:26 # Add finalizer to requested fixtures we saved previously. 07:44:26 # We make sure to do this after checking for cached value to avoid 07:44:26 # adding our finalizer multiple times. (#12135) 07:44:26 finalizer = functools.partial(self.finish, request=request) 07:44:26 for parent_fixture in requested_fixtures_that_should_finalize_us: 07:44:26 parent_fixture.addfinalizer(finalizer) 07:44:26 07:44:26 # Register the pytest_fixture_post_finalizer as the first finalizer, 07:44:26 # which is executed last. 07:44:26 > assert not self._finalizers 07:44:26 ^^^^^^^^^^^^^^^^^^^^ 07:44:26 E AssertionError 07:44:26 07:44:26 ../.tox/tests_tapi/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 07:44:26 =========================== short test summary info ============================ 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_01_get_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_02_get_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_03_connect_rdmb 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_04_check_tapi_topos 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_05_disconnect_roadmb 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_06_connect_xpdra 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_07_check_tapi_topos 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_08_connect_rdma 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_09_connect_rdmc 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_10_check_tapi_topos 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_11_connect_xpdra_n1_to_roadma_pp1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_12_connect_roadma_pp1_to_xpdra_n1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_13_check_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_14_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_15_connect_xpdrc 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_16_connect_xpdrc_n1_to_roadmc_pp1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_17_connect_roadmc_pp1_to_xpdrc_n1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_18_check_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_19_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_20_connect_spdr_sa1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_21_connect_spdr_sc1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_22_check_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_23_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_24_connect_sprda_n1_to_roadma_pp2 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_25_connect_roadma_pp2_to_spdra_n1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_26_connect_sprdc_n1_to_roadmc_pp2 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_27_connect_roadmc_pp2_to_spdrc_n1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_28_check_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_29_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_30_add_oms_attributes 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_31_create_OCH_OTU4_service 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_32_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_33_create_ODU4_service 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_34_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_35_connect_sprda_2_n2_to_roadma_pp3 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_36_connect_roadma_pp3_to_spdra_2_n2 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_37_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_38_delete_ODU4_service 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_39_delete_OCH_OTU4_service 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_40_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_41_disconnect_xponders_from_roadm 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_42_check_tapi_topology_T0 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_43_get_tapi_topology_T100G 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_44_disconnect_roadma 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_45_disconnect_roadmc 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_46_check_tapi_topos 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_47_disconnect_xpdra 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_48_disconnect_xpdrc 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_49_disconnect_spdr_sa1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_50_disconnect_spdr_sc1 07:44:26 ERROR transportpce_tests/tapi/test01_abstracted_topology.py::TestTransportPCEAbstractedTopology::test_51_check_uninstall_Tapi_Feature 07:44:26 51 errors in 110.08s (0:01:50) 07:44:26 tests_tapi: exit 1 (110.39 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=8001 07:44:27 tests_tapi: FAIL ✖ in 1 minute 57.07 seconds 07:44:27 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:44:27 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:44:36 tests221: freeze> python -m pip freeze --all 07:44:37 tests200: freeze> python -m pip freeze --all 07:44:37 tests221: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:44:37 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 07:44:37 using environment variables from ./karaf221.env 07:44:37 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 07:44:37 tests200: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:44:37 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 07:44:37 using environment variables from ./karafoc200.env 07:44:37 pytest -q transportpce_tests/oc200/test01_portmapping.py 07:45:28 ................. [100%] 07:45:45 10 passed in 68.06s (0:01:08) 07:45:45 pytest -q transportpce_tests/oc200/test02_topology.py 07:45:46 .............................. [100%] 07:46:18 35 passed in 101.12s (0:01:41) 07:46:18 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 07:46:26 ............ [100%] 07:46:50 14 passed in 64.66s (0:01:04) 07:46:50 pytest -q transportpce_tests/oc200/test03_renderer.py 07:46:56 ...... [100%] 07:47:10 6 passed in 52.26s 07:47:10 pytest -q transportpce_tests/2.2.1/test03_topology.py 07:47:25 ................ [100%] 07:47:51 16 passed in 60.16s (0:01:00) 07:47:51 pytest -q transportpce_tests/oc200/test04_end2end.py 07:48:09 .................................................................... [100%] 07:49:44 44 passed in 153.21s (0:02:33) 07:49:44 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 07:49:48 ......................... [100%] 07:50:47 12 passed in 62.95s (0:01:02) 07:50:47 pytest -q transportpce_tests/2.2.1/test05_flex_grid.py 07:51:02 ...... [100%] 07:51:10 43 passed in 199.34s (0:03:19) 07:51:10 tests200: OK ✔ in 6 minutes 43.97 seconds 07:51:10 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:51:18 .tests71: freeze> python -m pip freeze --all 07:51:20 tests71: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 07:51:20 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 07:51:20 using environment variables from ./karaf71.env 07:51:20 pytest -q transportpce_tests/7.1/test01_portmapping.py 07:51:30 .................. [100%] 07:52:06 12 passed in 45.85s 07:52:06 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 07:52:08 .............. [100%] 07:52:47 16 passed in 119.72s (0:01:59) 07:52:47 .pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py 07:52:50 ................................................. [100%] 07:53:28 31 passed in 40.72s 07:53:28 pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py 07:53:29 ......................................................... [100%] 07:54:48 62 passed in 161.13s (0:02:41) 07:54:48 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 07:54:49 ....... [100%] 07:55:03 26 passed in 94.70s (0:01:34) 07:55:04 pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py 07:55:32 ............................................................ [100%] 07:56:57 22 passed in 113.17s (0:01:53) 07:56:57 pytest -q transportpce_tests/2.2.1/test09_olm.py 07:56:57 .......... [100%] 07:57:18 48 passed in 149.90s (0:02:29) 07:57:18 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 07:57:52 ....................................... [100%] 07:58:44 22 passed in 85.58s (0:01:25) 07:58:49 ....................... [100%] 08:00:16 40 passed in 198.39s (0:03:18) 08:00:16 pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py 08:01:03 ........................................................................ [ 74%] 08:06:41 ......................... [100%] 08:08:33 97 passed in 496.91s (0:08:16) 08:08:33 pytest -q transportpce_tests/2.2.1/test12_end2end.py 08:09:19 ...................................................... [100%] 08:19:07 54 passed in 634.09s (0:10:34) 08:19:07 pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py 08:20:07 ........................................................................ [ 71%] 08:25:17 ............................. [100%] 08:27:27 101 passed in 499.03s (0:08:19) 08:27:27 pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py 08:28:28 ........................................................................ [ 67%] 08:34:17 ................................... [100%] 08:40:37 107 passed in 790.50s (0:13:10) 08:40:37 pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py 08:41:24 ............................................. [100%] 08:44:02 45 passed in 204.80s (0:03:24) 08:44:03 tests71: OK ✔ in 7 minutes 33.53 seconds 08:44:03 tests221: OK ✔ in 59 minutes 36.14 seconds 08:44:03 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:44:09 tests_hybrid: freeze> python -m pip freeze --all 08:44:09 tests_hybrid: bcrypt==5.0.0,certifi==2026.10.19,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.1.0,pip==26.2.1,pluggy==1.7.0,psutil==7.2.2,pycparser==3.11,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 08:44:09 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 08:44:09 using environment variables from ./karaf221.env 08:44:09 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 08:44:52 ................................................... [100%] 08:46:40 51 passed in 150.42s (0:02:30) 08:46:40 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 08:47:26 ........................................................................ [ 66%] 08:51:47 ..................................... [100%] 08:53:53 109 passed in 433.23s (0:07:13) 08:53:53 pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py 08:54:45 ..................................................... [100%] 09:01:18 53 passed in 444.07s (0:07:24) 09:01:18 buildcontroller: OK (103.48=setup[7.97]+cmd[95.51] seconds) 09:01:18 sims: OK (12.44=setup[8.93]+cmd[3.51] seconds) 09:01:18 testsPCE: OK (286.97=setup[45.22]+cmd[241.75] seconds) 09:01:18 build_karaf_tests221: OK (58.30=setup[7.38]+cmd[50.92] seconds) 09:01:18 tests_tapi: FAIL code 1 (117.07=setup[6.68]+cmd[110.39] seconds) 09:01:18 tests221: OK (3576.14=setup[10.20]+cmd[3565.94] seconds) 09:01:18 build_karaf_tests71: OK (58.23=setup[7.34]+cmd[50.89] seconds) 09:01:18 tests71: OK (453.53=setup[9.85]+cmd[443.68] seconds) 09:01:18 build_karaf_tests200: OK (58.78=setup[7.44]+cmd[51.34] seconds) 09:01:18 tests200: OK (403.97=setup[10.45]+cmd[393.51] seconds) 09:01:18 tests_hybrid: OK (1035.20=setup[6.58]+cmd[1028.62] seconds) 09:01:18 buildlighty: OK (45.41=setup[7.29]+cmd[38.12] seconds) 09:01:18 docs: OK (20.40=setup[16.22]+cmd[4.17] seconds) 09:01:18 docs-linkcheck: OK (19.74=setup[15.12]+cmd[4.62] seconds) 09:01:18 checkbashisms: OK (3.25=setup[2.00]+cmd[0.00,0.04,1.21] seconds) 09:01:18 pre-commit: OK (61.44=setup[2.85]+cmd[0.01,0.01,50.70,7.87] seconds) 09:01:18 pylint: OK (24.79=setup[3.40]+cmd[21.39] seconds) 09:01:18 evaluation failed :( (5177.68 seconds) 09:01:18 + tox_status=1 09:01:18 + echo '---> Completed tox runs' 09:01:18 ---> Completed tox runs 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/build_karaf_tests200/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=build_karaf_tests200 09:01:18 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/build_karaf_tests221/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=build_karaf_tests221 09:01:18 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/build_karaf_tests71/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=build_karaf_tests71 09:01:18 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/buildcontroller/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=buildcontroller 09:01:18 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/buildlighty/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=buildlighty 09:01:18 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/checkbashisms/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=checkbashisms 09:01:18 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/docs-linkcheck/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=docs-linkcheck 09:01:18 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/docs/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=docs 09:01:18 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/pre-commit/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=pre-commit 09:01:18 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/pylint/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=pylint 09:01:18 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/sims/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=sims 09:01:18 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/tests200/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=tests200 09:01:18 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/tests221/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=tests221 09:01:18 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/tests71/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=tests71 09:01:18 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/testsPCE/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=testsPCE 09:01:18 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/tests_hybrid/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=tests_hybrid 09:01:18 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 09:01:18 + for i in .tox/*/log 09:01:18 ++ echo .tox/tests_tapi/log 09:01:18 ++ awk -F/ '{print $2}' 09:01:18 + tox_env=tests_tapi 09:01:18 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 09:01:18 + DOC_DIR=docs/_build/html 09:01:18 + [[ -d docs/_build/html ]] 09:01:18 + echo '---> Archiving generated docs' 09:01:18 ---> Archiving generated docs 09:01:18 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 09:01:18 + echo '---> tox-run.sh ends' 09:01:18 ---> tox-run.sh ends 09:01:18 + test 1 -eq 0 09:01:18 + exit 1 09:01:18 ++ '[' 1 = 1 ']' 09:01:18 ++ '[' -x /usr/bin/clear_console ']' 09:01:18 ++ /usr/bin/clear_console -q 09:01:18 Build step 'Execute shell' marked build as failure 09:01:18 $ ssh-agent -k 09:01:18 unset SSH_AUTH_SOCK; 09:01:18 unset SSH_AGENT_PID; 09:01:18 echo Agent pid 1571 killed; 09:01:18 [ssh-agent] Stopped. 09:01:18 [PostBuildScript] - [INFO] Executing post build scripts. 09:01:18 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13131380932565204975.sh 09:01:18 ---> sysstat.sh 09:01:18 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14505425320154341680.sh 09:01:18 ---> package-listing.sh 09:01:18 + '[' -f /etc/os-release ']' 09:01:18 + . /etc/os-release 09:01:18 ++ PRETTY_NAME='Ubuntu 22.04.5 LTS' 09:01:18 ++ NAME=Ubuntu 09:01:18 ++ VERSION_ID=22.04 09:01:18 ++ VERSION='22.04.5 LTS (Jammy Jellyfish)' 09:01:18 ++ VERSION_CODENAME=jammy 09:01:18 ++ ID=ubuntu 09:01:18 ++ ID_LIKE=debian 09:01:18 ++ HOME_URL=https://www.ubuntu.com/ 09:01:18 ++ SUPPORT_URL=https://help.ubuntu.com/ 09:01:18 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 09:01:18 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 09:01:18 ++ UBUNTU_CODENAME=jammy 09:01:18 + case " ${ID:-} ${ID_LIKE:-} " in 09:01:18 + OS_FAMILY=debian 09:01:18 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 09:01:18 + START_PACKAGES=/tmp/packages_start.txt 09:01:18 + END_PACKAGES=/tmp/packages_end.txt 09:01:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:01:18 + PACKAGES=/tmp/packages_start.txt 09:01:18 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 09:01:18 + PACKAGES=/tmp/packages_end.txt 09:01:18 + case "${OS_FAMILY}" in 09:01:18 + dpkg -l 09:01:18 + grep '^ii' 09:01:18 + '[' -f /tmp/packages_start.txt ']' 09:01:18 + '[' -f /tmp/packages_end.txt ']' 09:01:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:01:18 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 09:01:18 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 09:01:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 09:01:18 + exit 0 09:01:18 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3709315391712566923.sh 09:01:18 ---> capture-instance-metadata.sh 09:01:18 Setup pyenv: 09:01:18 system 09:01:18 3.8.20 09:01:18 3.9.20 09:01:18 3.10.15 09:01:18 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:01:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oUwI from file:/tmp/.os_lf_venv 09:01:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:01:21 lf-activate-venv(): INFO: Installing additional packages: lftools 09:01:32 lf-activate-venv(): INFO: Adding /tmp/venv-oUwI/bin to PATH 09:01:32 INFO: Running in OpenStack, capturing instance metadata 09:01:33 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9993509368098742193.sh 09:01:33 provisioning config files... 09:01:33 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #6391 09:01:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config8913351051391184600tmp 09:01:33 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 09:01:33 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 09:01:33 provisioning config files... 09:01:33 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 09:01:33 [EnvInject] - Injecting environment variables from a build step. 09:01:33 [EnvInject] - Injecting as environment variables the properties content 09:01:33 SERVER_ID=logs 09:01:33 09:01:33 [EnvInject] - Variables injected successfully. 09:01:33 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins144837385695073854.sh 09:01:33 ---> create-netrc.sh 09:01:33 WARN: Log server credential not found. 09:01:33 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3155486006373633171.sh 09:01:33 ---> python-tools-install.sh 09:01:33 Setup pyenv: 09:01:33 system 09:01:33 3.8.20 09:01:33 3.9.20 09:01:33 3.10.15 09:01:33 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:01:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oUwI from file:/tmp/.os_lf_venv 09:01:34 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:01:35 lf-activate-venv(): INFO: Installing additional packages: lftools 09:01:46 lf-activate-venv(): INFO: Adding /tmp/venv-oUwI/bin to PATH 09:01:46 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins6634532753328270776.sh 09:01:46 ---> uv-install.sh 09:01:46 uv 0.13.3 is already installed 09:01:46 uvx 0.13.3 (x86_64-unknown-linux-gnu) 09:01:46 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1601981092939769322.sh 09:01:46 ---> sudo-logs.sh 09:01:46 Archiving 'sudo' log.. 09:01:46 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2511495950157747874.sh 09:01:46 ---> job-cost.sh 09:01:46 INFO: Activating Python virtual environment... 09:01:46 Setup pyenv: 09:01:46 system 09:01:46 3.8.20 09:01:46 3.9.20 09:01:46 3.10.15 09:01:46 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:01:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oUwI from file:/tmp/.os_lf_venv 09:01:46 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:01:48 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 09:01:54 lf-activate-venv(): INFO: Adding /tmp/venv-oUwI/bin to PATH 09:01:54 INFO: No stack-cost file found 09:01:54 INFO: Instance uptime: 5342s 09:01:54 INFO: Fetching instance metadata (attempt 1 of 3)... 09:01:54 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 09:01:55 INFO: Successfully fetched instance metadata 09:01:55 INFO: Instance type: v3-standard-4 09:01:55 INFO: Retrieving pricing info for: v3-standard-4 09:01:55 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 09:01:55 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=5342 09:01:55 INFO: Successfully fetched Vexxhost pricing API 09:01:55 INFO: Retrieved cost: 0.22 09:01:55 INFO: Retrieved resource: v3-standard-4 09:01:55 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 09:01:55 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 09:01:55 INFO: Successfully archived job cost data 09:01:55 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,6391,2026-10-20 09:01:55,v3-standard-4,5342,0.22,0.00,FAILURE 09:01:55 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins1517188465203800385.sh 09:01:55 ---> logs-deploy.sh 09:01:55 Setup pyenv: 09:01:55 system 09:01:55 3.8.20 09:01:55 3.9.20 09:01:55 3.10.15 09:01:55 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:01:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oUwI from file:/tmp/.os_lf_venv 09:01:55 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:01:57 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 09:02:07 lf-activate-venv(): INFO: Adding /tmp/venv-oUwI/bin to PATH 09:02:07 WARNING: Nexus logging server not set 09:02:07 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/6391/ 09:02:07 INFO: archiving logs to S3 09:02:09 ---> uname -a: 09:02:09 Linux prd-ubuntu2204-docker-4c-16g-65929 5.15.0-198-generic #208-Ubuntu SMP Fri Sep 4 10:22:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 09:02:09 09:02:09 09:02:09 ---> lscpu: 09:02:09 Architecture: x86_64 09:02:09 CPU op-mode(s): 32-bit, 64-bit 09:02:09 Address sizes: 40 bits physical, 48 bits virtual 09:02:09 Byte Order: Little Endian 09:02:09 CPU(s): 4 09:02:09 On-line CPU(s) list: 0-3 09:02:09 Vendor ID: AuthenticAMD 09:02:09 Model name: AMD EPYC-Rome Processor 09:02:09 CPU family: 23 09:02:09 Model: 49 09:02:09 Thread(s) per core: 1 09:02:09 Core(s) per socket: 1 09:02:09 Socket(s): 4 09:02:09 Stepping: 0 09:02:09 BogoMIPS: 5599.99 09:02:09 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif umip rdpid arch_capabilities 09:02:09 Virtualization: AMD-V 09:02:09 Hypervisor vendor: KVM 09:02:09 Virtualization type: full 09:02:09 L1d cache: 128 KiB (4 instances) 09:02:09 L1i cache: 128 KiB (4 instances) 09:02:09 L2 cache: 2 MiB (4 instances) 09:02:09 L3 cache: 64 MiB (4 instances) 09:02:09 NUMA node(s): 1 09:02:09 NUMA node0 CPU(s): 0-3 09:02:09 Vulnerability Gather data sampling: Not affected 09:02:09 Vulnerability Indirect target selection: Not affected 09:02:09 Vulnerability Itlb multihit: Not affected 09:02:09 Vulnerability L1tf: Not affected 09:02:09 Vulnerability Mds: Not affected 09:02:09 Vulnerability Meltdown: Not affected 09:02:09 Vulnerability Mmio stale data: Not affected 09:02:09 Vulnerability Reg file data sampling: Not affected 09:02:09 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 09:02:09 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 09:02:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:02:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:02:09 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 09:02:09 Vulnerability Srbds: Not affected 09:02:09 Vulnerability Tsa: Not affected 09:02:09 Vulnerability Tsx async abort: Not affected 09:02:09 Vulnerability Vmscape: Not affected 09:02:09 09:02:09 09:02:09 ---> nproc: 09:02:09 4 09:02:09 09:02:09 09:02:09 ---> df -h: 09:02:09 Filesystem Size Used Avail Use% Mounted on 09:02:09 tmpfs 1.6G 1.1M 1.6G 1% /run 09:02:09 /dev/vda1 78G 16G 62G 21% / 09:02:09 tmpfs 7.9G 0 7.9G 0% /dev/shm 09:02:09 tmpfs 5.0M 0 5.0M 0% /run/lock 09:02:09 /dev/vda15 105M 6.1M 99M 6% /boot/efi 09:02:09 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 09:02:09 09:02:09 09:02:09 ---> free -m: 09:02:09 total used free shared buff/cache available 09:02:09 Mem: 15989 717 6819 4 8452 14928 09:02:09 Swap: 1023 0 1023 09:02:09 09:02:09 09:02:09 ---> ip addr: 09:02:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 09:02:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:02:09 inet 127.0.0.1/8 scope host lo 09:02:09 valid_lft forever preferred_lft forever 09:02:09 inet6 ::1/128 scope host 09:02:09 valid_lft forever preferred_lft forever 09:02:09 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 09:02:09 link/ether fa:16:3e:f3:de:ea brd ff:ff:ff:ff:ff:ff 09:02:09 altname enp0s3 09:02:09 inet 10.30.171.77/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 09:02:09 valid_lft 81052sec preferred_lft 81052sec 09:02:09 inet6 fe80::f816:3eff:fef3:deea/64 scope link 09:02:09 valid_lft forever preferred_lft forever 09:02:09 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 09:02:09 link/ether 8a:d3:b7:fa:b8:26 brd ff:ff:ff:ff:ff:ff 09:02:09 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:02:09 valid_lft forever preferred_lft forever 09:02:09 inet6 fe80::88d3:b7ff:fefa:b826/64 scope link 09:02:09 valid_lft forever preferred_lft forever 09:02:09 09:02:09 09:02:09 ---> sar -b -r -n DEV: 09:02:09 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-65929) 10/20/26 _x86_64_ (4 CPU) 09:02:09 09:02:09 07:33:03 LINUX RESTART (4 CPU) 09:02:09 09:02:09 07:40:20 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:02:09 07:50:35 34.61 0.71 32.01 1.89 70.28 2934.08 2238.49 09:02:09 08:00:01 28.77 0.78 26.58 1.41 8.89 1564.50 673.44 09:02:09 08:10:06 8.30 0.01 7.98 0.31 0.66 172.32 229.97 09:02:09 08:20:35 5.38 0.01 5.17 0.20 0.11 122.95 79.55 09:02:09 08:30:01 6.26 0.00 6.05 0.21 0.00 144.36 86.68 09:02:09 08:40:28 2.37 0.00 2.36 0.01 0.14 42.72 0.36 09:02:09 08:50:32 11.64 0.01 11.05 0.58 0.07 593.30 175.46 09:02:09 09:00:01 5.57 0.00 5.38 0.19 0.00 158.48 45.00 09:02:09 Average: 12.81 0.19 12.02 0.60 10.23 717.47 445.31 09:02:09 09:02:09 07:40:20 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:02:09 07:50:35 2287008 9836972 6087632 37.18 247596 7128472 6948876 39.89 1998484 11338316 144 09:02:09 08:00:01 3639068 11485132 4439532 27.11 259956 7403448 5198668 29.84 2111064 9874912 272 09:02:09 08:10:06 3743160 11603132 4322596 26.40 261016 7416304 5176396 29.71 2114380 9771012 248 09:02:09 08:20:35 2175040 10047796 5877020 35.89 261604 7428464 6728620 38.62 2116496 11330628 92 09:02:09 08:30:01 2147480 10034792 5889952 35.97 262404 7442176 6670460 38.29 2120112 11359928 596 09:02:09 08:40:28 1919344 9808828 6115660 37.35 262752 7443992 6850396 39.32 2120464 11583064 136 09:02:09 08:50:32 3320136 11337640 4587380 28.02 267236 7561168 5247352 30.12 2136512 10168604 236 09:02:09 09:00:01 2503392 10541776 5382892 32.88 267940 7581312 5994428 34.41 2148088 10951172 56 09:02:09 Average: 2716828 10587008 5337833 32.60 261313 7425667 6101900 35.02 2108200 10797204 222 09:02:09 09:02:09 07:40:20 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:02:09 07:50:35 lo 13.96 13.96 13.89 13.89 0.00 0.00 0.00 0.00 09:02:09 07:50:35 ens3 2.09 1.81 0.65 1.02 0.00 0.00 0.00 0.00 09:02:09 07:50:35 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:00:01 lo 34.28 34.28 16.58 16.58 0.00 0.00 0.00 0.00 09:02:09 08:00:01 ens3 1.71 1.54 0.47 0.40 0.00 0.00 0.00 0.00 09:02:09 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:10:06 lo 17.08 17.08 8.88 8.88 0.00 0.00 0.00 0.00 09:02:09 08:10:06 ens3 0.74 0.69 0.16 1.11 0.00 0.00 0.00 0.00 09:02:09 08:10:06 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:20:35 lo 22.22 22.22 8.90 8.90 0.00 0.00 0.00 0.00 09:02:09 08:20:35 ens3 0.40 0.33 0.10 0.07 0.00 0.00 0.00 0.00 09:02:09 08:20:35 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:30:01 lo 20.97 20.97 10.61 10.61 0.00 0.00 0.00 0.00 09:02:09 08:30:01 ens3 0.62 0.63 0.12 0.12 0.00 0.00 0.00 0.00 09:02:09 08:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:40:28 lo 12.39 12.39 6.69 6.69 0.00 0.00 0.00 0.00 09:02:09 08:40:28 ens3 1.09 0.41 0.27 0.16 0.00 0.00 0.00 0.00 09:02:09 08:40:28 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 08:50:32 lo 18.35 18.35 10.09 10.09 0.00 0.00 0.00 0.00 09:02:09 08:50:32 ens3 0.95 0.98 0.23 0.21 0.00 0.00 0.00 0.00 09:02:09 08:50:32 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 09:00:01 lo 30.93 30.93 12.03 12.03 0.00 0.00 0.00 0.00 09:02:09 09:00:01 ens3 0.62 0.58 0.13 0.11 0.00 0.00 0.00 0.00 09:02:09 09:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 Average: lo 21.04 21.04 10.89 10.89 0.00 0.00 0.00 0.00 09:02:09 Average: ens3 1.03 0.87 0.27 0.40 0.00 0.00 0.00 0.00 09:02:09 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:02:09 09:02:09 09:02:09 ---> sar -P ALL: 09:02:09 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-65929) 10/20/26 _x86_64_ (4 CPU) 09:02:09 09:02:09 07:33:03 LINUX RESTART (4 CPU) 09:02:09 09:02:09 07:40:20 CPU %user %nice %system %iowait %steal %idle 09:02:09 07:50:35 all 43.65 0.00 1.61 0.20 0.04 54.50 09:02:09 07:50:35 0 43.00 0.00 1.52 0.43 0.04 55.01 09:02:09 07:50:35 1 42.94 0.00 1.73 0.14 0.04 55.15 09:02:09 07:50:35 2 43.44 0.00 1.60 0.11 0.04 54.81 09:02:09 07:50:35 3 45.21 0.00 1.59 0.13 0.04 53.04 09:02:09 08:00:01 all 40.50 0.00 1.57 0.22 0.05 57.66 09:02:09 08:00:01 0 40.62 0.00 1.72 0.57 0.05 57.05 09:02:09 08:00:01 1 40.71 0.00 1.60 0.15 0.05 57.49 09:02:09 08:00:01 2 40.18 0.00 1.40 0.04 0.05 58.32 09:02:09 08:00:01 3 40.47 0.00 1.58 0.12 0.05 57.78 09:02:09 08:10:06 all 13.97 0.00 0.76 0.23 0.05 84.98 09:02:09 08:10:06 0 13.99 0.00 0.89 0.14 0.06 84.92 09:02:09 08:10:06 1 13.93 0.00 0.77 0.15 0.05 85.10 09:02:09 08:10:06 2 13.89 0.00 0.76 0.47 0.05 84.84 09:02:09 08:10:06 3 14.09 0.00 0.63 0.17 0.05 85.06 09:02:09 08:20:35 all 9.26 0.00 0.47 0.03 0.05 90.19 09:02:09 08:20:35 0 8.99 0.00 0.48 0.03 0.05 90.45 09:02:09 08:20:35 1 9.73 0.00 0.52 0.03 0.05 89.68 09:02:09 08:20:35 2 9.12 0.00 0.41 0.03 0.05 90.39 09:02:09 08:20:35 3 9.20 0.00 0.45 0.04 0.05 90.26 09:02:09 08:30:01 all 11.89 0.00 0.68 0.04 0.07 87.32 09:02:09 08:30:01 0 11.90 0.00 0.65 0.03 0.07 87.35 09:02:09 08:30:01 1 11.67 0.00 0.72 0.05 0.07 87.49 09:02:09 08:30:01 2 12.17 0.00 0.70 0.04 0.08 87.01 09:02:09 08:30:01 3 11.83 0.00 0.63 0.04 0.08 87.43 09:02:09 08:40:28 all 2.74 0.00 0.54 0.03 0.07 96.63 09:02:09 08:40:28 0 2.71 0.00 0.60 0.02 0.07 96.60 09:02:09 08:40:28 1 2.76 0.00 0.55 0.01 0.07 96.61 09:02:09 08:40:28 2 2.80 0.00 0.52 0.03 0.07 96.57 09:02:09 08:40:28 3 2.68 0.00 0.49 0.04 0.07 96.73 09:02:09 08:50:32 all 19.41 0.00 0.88 0.06 0.02 79.63 09:02:09 08:50:32 0 18.98 0.00 0.94 0.07 0.02 79.99 09:02:09 08:50:32 1 18.82 0.00 0.95 0.01 0.02 80.20 09:02:09 08:50:32 2 20.26 0.00 0.80 0.12 0.02 78.79 09:02:09 08:50:32 3 19.60 0.00 0.81 0.03 0.02 79.53 09:02:09 09:00:01 all 10.30 0.00 0.58 0.03 0.01 89.08 09:02:09 09:00:01 0 9.79 0.00 0.63 0.04 0.01 89.53 09:02:09 09:00:01 1 10.54 0.00 0.53 0.01 0.01 88.91 09:02:09 09:00:01 2 10.38 0.00 0.62 0.06 0.02 88.93 09:02:09 09:00:01 3 10.48 0.00 0.56 0.02 0.01 88.93 09:02:09 Average: all 18.83 0.00 0.88 0.10 0.05 80.14 09:02:09 Average: 0 18.60 0.00 0.92 0.16 0.05 80.26 09:02:09 Average: 1 18.74 0.00 0.92 0.07 0.05 80.22 09:02:09 Average: 2 18.91 0.00 0.85 0.11 0.05 80.08 09:02:09 Average: 3 19.07 0.00 0.84 0.07 0.05 79.98 09:02:09 09:02:09 09:02:09