10:18:55 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/123486 10:18:55 Running as SYSTEM 10:18:55 [EnvInject] - Loading node environment variables. 10:18:55 Building remotely on prd-ubuntu2204-docker-4c-16g-36182 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 10:18:56 [ssh-agent] Looking for ssh-agent implementation... 10:18:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:56 $ ssh-agent 10:18:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXUMCr9v/agent.1552 10:18:56 SSH_AGENT_PID=1554 10:18:56 [ssh-agent] Started. 10:18:56 Running ssh-add (command line suppressed) 10:18:56 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17264861652049179235.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17264861652049179235.key) 10:18:56 [ssh-agent] Using credentials jenkins (jenkins-ssh) 10:18:56 The recommended git tool is: NONE 10:18:58 using credential jenkins-ssh 10:18:58 Wiping out workspace first. 10:18:58 Cloning the remote Git repository 10:18:58 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 10:18:58 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 10:18:58 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 10:18:58 > git --version # timeout=10 10:18:58 > git --version # 'git version 2.34.1' 10:18:58 using GIT_SSH to set credentials jenkins-ssh 10:18:58 Verifying host key using known hosts file, will automatically accept unseen keys 10:18:58 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:09 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 10:19:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:09 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 10:19:09 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 10:19:09 using GIT_SSH to set credentials jenkins-ssh 10:19:09 Verifying host key using known hosts file, will automatically accept unseen keys 10:19:09 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/86/123486/13 # timeout=10 10:19:10 > git rev-parse 5959fa69c7d9af7e0c14b218b7eb64b81475f50a^{commit} # timeout=10 10:19:10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 10:19:10 Checking out Revision 5959fa69c7d9af7e0c14b218b7eb64b81475f50a (refs/changes/86/123486/13) 10:19:10 > git config core.sparsecheckout # timeout=10 10:19:10 > git checkout -f 5959fa69c7d9af7e0c14b218b7eb64b81475f50a # timeout=10 10:19:10 Commit message: "Add xpdr-number to TPCE portmapping yang model" 10:19:10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 10:19:10 > git rev-list --no-walk 62cb4ec5609b0aab85b17103cf9971a4653fb05e # timeout=10 10:19:10 > git remote # timeout=10 10:19:10 > git submodule init # timeout=10 10:19:10 > git submodule sync # timeout=10 10:19:10 > git config --get remote.origin.url # timeout=10 10:19:10 > git submodule init # timeout=10 10:19:11 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 10:19:11 ERROR: No submodules found. 10:19:14 provisioning config files... 10:19:14 copy managed file [npmrc] to file:/home/jenkins/.npmrc 10:19:14 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 10:19:14 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7909655957549381367.sh 10:19:14 ---> python-tools-install.sh 10:19:14 Setup pyenv: 10:19:14 * system (set by /opt/pyenv/version) 10:19:14 * 3.8.20 (set by /opt/pyenv/version) 10:19:14 * 3.9.20 (set by /opt/pyenv/version) 10:19:14 3.10.15 10:19:14 3.11.10 10:19:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5bTp 10:19:19 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 10:19:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:19:19 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:19:23 lf-activate-venv(): INFO: Base packages installed successfully 10:19:23 lf-activate-venv(): INFO: Installing additional packages: lftools 10:19:47 lf-activate-venv(): INFO: Adding /tmp/venv-5bTp/bin to PATH 10:19:47 Generating Requirements File 10:20:12 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 10:20:12 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 10:20:13 Python 3.11.10 10:20:13 pip 26.2.1 from /tmp/venv-5bTp/lib/python3.11/site-packages/pip (python 3.11) 10:20:13 aiohappyeyeballs==2.7.1 10:20:13 aiohttp==3.14.3 10:20:13 aiosignal==1.4.0 10:20:13 appdirs==1.4.4 10:20:13 argcomplete==3.7.2 10:20:13 aspy.yaml==1.3.0 10:20:13 attrs==26.1.0 10:20:13 autopage==0.6.0 10:20:13 beautifulsoup4==4.15.0 10:20:13 boto3==1.43.69 10:20:13 botocore==1.43.69 10:20:13 bs4==0.0.2 10:20:13 certifi==2026.7.22 10:20:13 cffi==2.1.1 10:20:13 cfgv==3.5.0 10:20:13 chardet==7.5.1 10:20:13 charset-normalizer==3.4.9 10:20:13 click==8.4.2 10:20:13 cliff==4.15.0 10:20:13 cmd2==4.2.0 10:20:13 cryptography==3.3.2 10:20:13 debtcollector==3.1.0 10:20:13 decorator==5.3.1 10:20:13 defusedxml==0.7.1 10:20:13 Deprecated==1.3.1 10:20:13 distlib==0.4.3 10:20:13 dnspython==2.8.0 10:20:13 docker==7.2.0 10:20:13 dogpile.cache==1.5.0 10:20:13 durationpy==0.10 10:20:13 email-validator==2.3.0 10:20:13 filelock==3.32.2 10:20:13 frozenlist==1.8.0 10:20:13 future==1.0.0 10:20:13 gitdb==4.0.12 10:20:13 GitPython==3.1.59 10:20:13 httplib2==0.30.2 10:20:13 identify==2.6.19 10:20:13 idna==3.18 10:20:13 importlib-resources==1.5.0 10:20:13 iso8601==2.1.0 10:20:13 Jinja2==3.1.6 10:20:13 jmespath==1.1.0 10:20:13 jsonpatch==1.33 10:20:13 jsonpointer==3.1.1 10:20:13 jsonschema==4.26.0 10:20:13 jsonschema-specifications==2025.9.1 10:20:13 keystoneauth1==5.15.0 10:20:13 kubernetes==36.0.3 10:20:13 lftools==0.37.23 10:20:13 lxml==6.1.1 10:20:13 markdown-it-py==4.2.0 10:20:13 MarkupSafe==3.0.3 10:20:13 mdurl==0.1.2 10:20:13 msgpack==1.2.1 10:20:13 multi_key_dict==2.0.3 10:20:13 multidict==6.7.1 10:20:13 munch==4.0.0 10:20:13 netaddr==1.3.0 10:20:13 niet==1.4.2 10:20:13 nodeenv==1.10.0 10:20:13 oauth2client==4.1.3 10:20:13 oauthlib==3.3.1 10:20:13 openstacksdk==4.18.0 10:20:13 os-service-types==1.9.0 10:20:13 osc-lib==4.7.0 10:20:13 oslo.config==10.7.0 10:20:13 oslo.context==6.5.0 10:20:13 oslo.i18n==6.9.0 10:20:13 oslo.log==8.3.0 10:20:13 oslo.serialization==5.11.0 10:20:13 oslo.utils==10.1.1 10:20:13 packaging==26.3 10:20:13 pbr==7.0.3 10:20:13 platformdirs==4.11.2 10:20:13 prettytable==3.18.0 10:20:13 prompt_toolkit==3.0.53 10:20:13 propcache==0.5.2 10:20:13 psutil==7.2.2 10:20:13 pyasn1==0.6.4 10:20:13 pyasn1_modules==0.4.2 10:20:13 pycparser==3.0 10:20:13 pygerrit2==2.0.15 10:20:13 PyGithub==2.9.1 10:20:13 Pygments==2.20.0 10:20:13 PyJWT==2.13.0 10:20:13 PyNaCl==1.6.2 10:20:13 pyparsing==2.4.7 10:20:13 pyperclip==1.11.0 10:20:13 pyrsistent==0.20.0 10:20:13 python-dateutil==2.9.0.post0 10:20:13 python-discovery==1.5.1 10:20:13 python-heatclient==5.2.0 10:20:13 python-jenkins==1.8.3 10:20:13 python-keystoneclient==5.8.0 10:20:13 python-magnumclient==4.11.0 10:20:13 python-manilaclient==6.2.0 10:20:13 python-openstackclient==10.2.1 10:20:13 python-swiftclient==4.10.0 10:20:13 PyYAML==6.0.3 10:20:13 referencing==0.37.0 10:20:13 requests==2.34.2 10:20:13 requests-oauthlib==2.0.0 10:20:13 rfc3986==2.0.0 10:20:13 rich==15.0.0 10:20:13 rich-argparse==1.8.0 10:20:13 rpds-py==2026.6.3 10:20:13 rsa==4.9.1 10:20:13 ruamel.yaml==0.19.1 10:20:13 ruamel.yaml.clib==0.2.15 10:20:13 s3transfer==0.19.2 10:20:13 simplejson==4.1.1 10:20:13 six==1.17.0 10:20:13 smmap==5.0.3 10:20:13 soupsieve==2.9.2 10:20:13 stevedore==5.9.0 10:20:13 tabulate==0.10.0 10:20:13 toml==0.10.2 10:20:13 tomlkit==0.15.1 10:20:13 tqdm==4.70.0 10:20:13 typing_extensions==4.16.0 10:20:13 urllib3==1.26.20 10:20:13 virtualenv==21.7.4 10:20:13 wcwidth==0.8.2 10:20:13 websocket-client==1.9.0 10:20:13 wrapt==2.3.0 10:20:13 xdg==6.0.0 10:20:13 xmltodict==1.0.4 10:20:13 yarl==1.24.5 10:20:13 yq==4.1.2 10:20:13 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins4229905673802078738.sh 10:20:13 ---> uv-install.sh 10:20:13 Installing uv/uvx (latest) using shell installer 10:20:14 2026-08-12 10:20:14 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71225/71225] -> "/tmp/uv-install-6CT3nl.sh" [1] 10:20:14 downloading uv 0.12.3 x86_64-unknown-linux-gnu 10:20:14 installing to /home/jenkins/.local/bin 10:20:14 uv 10:20:14 uvx 10:20:14 everything's installed! 10:20:14 10:20:14 To add $HOME/.local/bin to your PATH, either restart your shell or run: 10:20:14 10:20:14 source $HOME/.local/bin/env (sh, bash, zsh) 10:20:14 source $HOME/.local/bin/env.fish (fish) 10:20:14 Adding install location to PATH 10:20:14 ---> Validating uv/uvx install 10:20:14 uvx 0.12.3 (x86_64-unknown-linux-gnu) 10:20:15 [EnvInject] - Injecting environment variables from a build step. 10:20:15 [EnvInject] - Injecting as environment variables the properties content 10:20:15 PYTHON=python3 10:20:15 10:20:15 [EnvInject] - Variables injected successfully. 10:20:15 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11562356530958103513.sh 10:20:15 ---> tox-install.sh 10:20:15 + source /home/jenkins/lf-env.sh 10:20:15 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:20:15 ++ mktemp -d /tmp/venv-XXXX 10:20:15 + lf_venv=/tmp/venv-Kv1W 10:20:15 + local venv_file=/tmp/.os_lf_venv 10:20:15 + local python=python3 10:20:15 + local options 10:20:15 + local set_path=true 10:20:15 + local install_args= 10:20:15 ++ 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 10:20:15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:20:15 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:20:15 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:20:15 + true 10:20:15 + case $1 in 10:20:15 + venv_file=/tmp/.toxenv 10:20:15 + shift 2 10:20:15 + true 10:20:15 + case $1 in 10:20:15 + shift 10:20:15 + break 10:20:15 + case $python in 10:20:15 + local pkg_list= 10:20:15 + [[ -d /opt/pyenv ]] 10:20:15 + echo 'Setup pyenv:' 10:20:15 Setup pyenv: 10:20:15 + export PYENV_ROOT=/opt/pyenv 10:20:15 + PYENV_ROOT=/opt/pyenv 10:20:15 + 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 10:20:15 + 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 10:20:15 + pyenv versions 10:20:15 system 10:20:15 3.8.20 10:20:15 3.9.20 10:20:15 3.10.15 10:20:15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 10:20:15 + command -v pyenv 10:20:15 ++ pyenv init - --no-rehash 10:20:15 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 10:20:15 for i in ${!paths[@]}; do 10:20:15 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 10:20:15 fi; done; 10:20:15 echo "${paths[*]}"'\'')" 10:20:15 export PATH="/opt/pyenv/shims:${PATH}" 10:20:15 export PYENV_SHELL=bash 10:20:15 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:20:15 pyenv() { 10:20:15 local command 10:20:15 command="${1:-}" 10:20:15 if [ "$#" -gt 0 ]; then 10:20:15 shift 10:20:15 fi 10:20:15 10:20:15 case "$command" in 10:20:15 rehash|shell) 10:20:15 eval "$(pyenv "sh-$command" "$@")" 10:20:15 ;; 10:20:15 *) 10:20:15 command pyenv "$command" "$@" 10:20:15 ;; 10:20:15 esac 10:20:15 }' 10:20:15 +++ bash --norc -ec 'IFS=:; paths=($PATH); 10:20:15 for i in ${!paths[@]}; do 10:20:15 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 10:20:15 fi; done; 10:20:15 echo "${paths[*]}"' 10:20:15 ++ 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 10:20:15 ++ 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 10:20:15 ++ 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 10:20:15 ++ export PYENV_SHELL=bash 10:20:15 ++ PYENV_SHELL=bash 10:20:15 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:20:15 +++ complete -F _pyenv pyenv 10:20:15 ++ lf-pyver python3 10:20:15 ++ local py_version_xy=python3 10:20:15 ++ local py_version_xyz= 10:20:15 ++ pyenv versions 10:20:15 ++ sed 's/^[ *]* //' 10:20:15 ++ local command 10:20:15 ++ command=versions 10:20:15 ++ '[' 1 -gt 0 ']' 10:20:15 ++ shift 10:20:15 ++ awk '{ print $1 }' 10:20:15 ++ case "$command" in 10:20:15 ++ command pyenv versions 10:20:15 ++ grep -E '^[0-9.]*[0-9]$' 10:20:15 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:20:15 +++ grep '^3' /tmp/.pyenv_versions 10:20:15 +++ sort -V 10:20:15 +++ tail -n 1 10:20:15 ++ py_version_xyz=3.11.10 10:20:15 ++ [[ -z 3.11.10 ]] 10:20:15 ++ echo 3.11.10 10:20:15 ++ return 0 10:20:15 + pyenv local 3.11.10 10:20:15 + local command 10:20:15 + command=local 10:20:15 + '[' 2 -gt 0 ']' 10:20:15 + shift 10:20:15 + case "$command" in 10:20:15 + command pyenv local 3.11.10 10:20:15 + for arg in "$@" 10:20:15 + case $arg in 10:20:15 + pkg_list+='tox ' 10:20:15 + for arg in "$@" 10:20:15 + case $arg in 10:20:15 + pkg_list+='virtualenv ' 10:20:15 + for arg in "$@" 10:20:15 + case $arg in 10:20:15 + pkg_list+='urllib3~=1.26.15 ' 10:20:15 + [[ -f /tmp/.toxenv ]] 10:20:15 + [[ ! -f /tmp/.toxenv ]] 10:20:15 + [[ -n '' ]] 10:20:15 + python3 -m venv /tmp/venv-Kv1W 10:20:19 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kv1W' 10:20:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kv1W 10:20:19 + echo /tmp/venv-Kv1W 10:20:19 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 10:20:19 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 10:20:19 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 10:20:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:20:19 + local 'pip_opts=--upgrade --quiet' 10:20:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 10:20:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 10:20:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 10:20:19 + [[ -n '' ]] 10:20:19 + [[ -n '' ]] 10:20:19 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 10:20:19 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:20:19 + /tmp/venv-Kv1W/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 10:20:23 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 10:20:23 lf-activate-venv(): INFO: Base packages installed successfully 10:20:23 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:20:23 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 10:20:23 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 10:20:23 + /tmp/venv-Kv1W/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 10:20:25 + type python3 10:20:25 + true 10:20:25 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Kv1W/bin to PATH' 10:20:25 lf-activate-venv(): INFO: Adding /tmp/venv-Kv1W/bin to PATH 10:20:25 + PATH=/tmp/venv-Kv1W/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 10:20:25 + return 0 10:20:25 + python3 --version 10:20:25 Python 3.11.10 10:20:25 + python3 -m pip --version 10:20:25 pip 26.2.1 from /tmp/venv-Kv1W/lib/python3.11/site-packages/pip (python 3.11) 10:20:25 + python3 -m pip freeze 10:20:25 cachetools==7.1.7 10:20:25 colorama==0.4.6 10:20:25 distlib==0.4.3 10:20:25 filelock==3.32.2 10:20:25 packaging==26.3 10:20:25 platformdirs==4.11.2 10:20:25 pluggy==1.6.0 10:20:25 pyproject-api==1.11.0 10:20:25 python-discovery==1.5.1 10:20:25 tomli_w==1.2.0 10:20:25 tox==4.59.0 10:20:25 typing_extensions==4.16.0 10:20:25 urllib3==1.26.20 10:20:25 virtualenv==21.7.4 10:20:25 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins12542189748363034166.sh 10:20:25 [EnvInject] - Injecting environment variables from a build step. 10:20:25 [EnvInject] - Injecting as environment variables the properties content 10:20:25 PARALLEL=True 10:20:25 10:20:25 [EnvInject] - Variables injected successfully. 10:20:25 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins5132855939406500860.sh 10:20:25 ---> tox-run.sh 10:20:25 + 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 10:20:25 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 10:20:25 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 10:20:25 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 10:20:25 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 10:20:25 + source /home/jenkins/lf-env.sh 10:20:25 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:20:25 ++ mktemp -d /tmp/venv-XXXX 10:20:25 + lf_venv=/tmp/venv-iwjL 10:20:25 + local venv_file=/tmp/.os_lf_venv 10:20:25 + local python=python3 10:20:25 + local options 10:20:25 + local set_path=true 10:20:25 + local install_args= 10:20:25 ++ 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 10:20:25 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:20:25 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:20:25 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:20:25 + true 10:20:25 + case $1 in 10:20:25 + venv_file=/tmp/.toxenv 10:20:25 + shift 2 10:20:25 + true 10:20:25 + case $1 in 10:20:25 + shift 10:20:25 + break 10:20:25 + case $python in 10:20:25 + local pkg_list= 10:20:25 + [[ -d /opt/pyenv ]] 10:20:25 + echo 'Setup pyenv:' 10:20:25 Setup pyenv: 10:20:25 + export PYENV_ROOT=/opt/pyenv 10:20:25 + PYENV_ROOT=/opt/pyenv 10:20:25 + 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 10:20:25 + 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 10:20:25 + pyenv versions 10:20:25 system 10:20:25 3.8.20 10:20:25 3.9.20 10:20:25 3.10.15 10:20:25 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 10:20:25 + command -v pyenv 10:20:25 ++ pyenv init - --no-rehash 10:20:26 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 10:20:26 for i in ${!paths[@]}; do 10:20:26 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 10:20:26 fi; done; 10:20:26 echo "${paths[*]}"'\'')" 10:20:26 export PATH="/opt/pyenv/shims:${PATH}" 10:20:26 export PYENV_SHELL=bash 10:20:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:20:26 pyenv() { 10:20:26 local command 10:20:26 command="${1:-}" 10:20:26 if [ "$#" -gt 0 ]; then 10:20:26 shift 10:20:26 fi 10:20:26 10:20:26 case "$command" in 10:20:26 rehash|shell) 10:20:26 eval "$(pyenv "sh-$command" "$@")" 10:20:26 ;; 10:20:26 *) 10:20:26 command pyenv "$command" "$@" 10:20:26 ;; 10:20:26 esac 10:20:26 }' 10:20:26 +++ bash --norc -ec 'IFS=:; paths=($PATH); 10:20:26 for i in ${!paths[@]}; do 10:20:26 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 10:20:26 fi; done; 10:20:26 echo "${paths[*]}"' 10:20:26 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:20:26 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:20:26 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:20:26 ++ export PYENV_SHELL=bash 10:20:26 ++ PYENV_SHELL=bash 10:20:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:20:26 +++ complete -F _pyenv pyenv 10:20:26 ++ lf-pyver python3 10:20:26 ++ local py_version_xy=python3 10:20:26 ++ local py_version_xyz= 10:20:26 ++ pyenv versions 10:20:26 ++ local command 10:20:26 ++ command=versions 10:20:26 ++ sed 's/^[ *]* //' 10:20:26 ++ '[' 1 -gt 0 ']' 10:20:26 ++ shift 10:20:26 ++ case "$command" in 10:20:26 ++ command pyenv versions 10:20:26 ++ grep -E '^[0-9.]*[0-9]$' 10:20:26 ++ awk '{ print $1 }' 10:20:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:20:26 +++ grep '^3' /tmp/.pyenv_versions 10:20:26 +++ sort -V 10:20:26 +++ tail -n 1 10:20:26 ++ py_version_xyz=3.11.10 10:20:26 ++ [[ -z 3.11.10 ]] 10:20:26 ++ echo 3.11.10 10:20:26 ++ return 0 10:20:26 + pyenv local 3.11.10 10:20:26 + local command 10:20:26 + command=local 10:20:26 + '[' 2 -gt 0 ']' 10:20:26 + shift 10:20:26 + case "$command" in 10:20:26 + command pyenv local 3.11.10 10:20:26 + for arg in "$@" 10:20:26 + case $arg in 10:20:26 + pkg_list+='tox ' 10:20:26 + for arg in "$@" 10:20:26 + case $arg in 10:20:26 + pkg_list+='virtualenv ' 10:20:26 + for arg in "$@" 10:20:26 + case $arg in 10:20:26 + pkg_list+='urllib3~=1.26.15 ' 10:20:26 + [[ -f /tmp/.toxenv ]] 10:20:26 ++ cat /tmp/.toxenv 10:20:26 + lf_venv=/tmp/venv-Kv1W 10:20:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Kv1W from' file:/tmp/.toxenv 10:20:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Kv1W from file:/tmp/.toxenv 10:20:26 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 10:20:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:20:26 + local 'pip_opts=--upgrade --quiet' 10:20:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 10:20:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 10:20:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 10:20:26 + [[ -n '' ]] 10:20:26 + [[ -n '' ]] 10:20:26 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 10:20:26 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:20:26 + /tmp/venv-Kv1W/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 10:20:27 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 10:20:27 lf-activate-venv(): INFO: Base packages installed successfully 10:20:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:20:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 10:20:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 10:20:27 + /tmp/venv-Kv1W/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 10:20:28 + type python3 10:20:28 + true 10:20:28 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Kv1W/bin to PATH' 10:20:28 lf-activate-venv(): INFO: Adding /tmp/venv-Kv1W/bin to PATH 10:20:28 + PATH=/tmp/venv-Kv1W/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 10:20:28 + return 0 10:20:28 + [[ -d /opt/pyenv ]] 10:20:28 + echo '---> Setting up pyenv' 10:20:28 ---> Setting up pyenv 10:20:28 + export PYENV_ROOT=/opt/pyenv 10:20:28 + PYENV_ROOT=/opt/pyenv 10:20:28 + export PATH=/opt/pyenv/bin:/tmp/venv-Kv1W/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 10:20:28 + PATH=/opt/pyenv/bin:/tmp/venv-Kv1W/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 10:20:28 ++ pwd 10:20:28 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 10:20:28 + export PYTHONPATH 10:20:28 + export TOX_TESTENV_PASSENV=PYTHONPATH 10:20:28 + TOX_TESTENV_PASSENV=PYTHONPATH 10:20:28 + tox --version 10:20:28 4.59.0 from /tmp/venv-Kv1W/lib/python3.11/site-packages/tox/__init__.py 10:20:28 + PARALLEL=True 10:20:28 + TOX_OPTIONS_LIST= 10:20:28 + [[ -n '' ]] 10:20:28 + case ${PARALLEL,,} in 10:20:28 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 10:20:28 + tox --parallel auto --parallel-live 10:20:28 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 10:20:29 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 10:20:30 checkbashisms: freeze> python -m pip freeze --all 10:20:30 docs: install_deps> python -I -m pip install -r docs/requirements.txt 10:20:30 buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 10:20:30 checkbashisms: pip==26.2.1,setuptools==84.0.0 10:20:30 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 10:20:30 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)' 10:20:30 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 10:20:32 checkbashisms: OK ✔ in 3.17 seconds 10:20:32 pre-commit: install_deps> python -I -m pip install pre-commit 10:20:34 pre-commit: freeze> python -m pip freeze --all 10:20:35 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==3.32.2,identify==2.6.19,nodeenv==1.10.0,pip==26.2.1,platformdirs==4.11.2,pre_commit==4.6.2,python-discovery==1.5.1,PyYAML==6.0.3,setuptools==84.0.0,virtualenv==21.7.4 10:20:35 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 10:20:35 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)' 10:20:35 /usr/bin/cpan 10:20:35 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 10:20:35 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 10:20:35 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 10:20:36 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 10:20:36 buildcontroller: freeze> python -m pip freeze --all 10:20:36 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 10:20:36 buildcontroller: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:20:36 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 10:20:36 + update-java-alternatives -l 10:20:36 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 10:20:36 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 10:20:36 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 10:20:36 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 10:20:37 update-alternatives: error: no alternatives for jaotc 10:20:37 update-alternatives: error: no alternatives for rmic 10:20:37 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 10:20:37 + java -version 10:20:37 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 10:20:37 + JAVA_VER=21 10:20:37 + echo 21 10:20:37 21 10:20:37 + + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 10:20:37 javac -version 10:20:37 + JAVAC_VER=21 10:20:37 + echo 21 10:20:37 + [ 21 -ge 21 ] 10:20:37 + [ 21 -ge 21 ] 10:20:37 + echo ok, java is 21 or newer 10:20:37 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 10:20:37 21 10:20:37 ok, java is 21 or newer 10:20:37 2026-08-12 10:20:37 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] 10:20:37 + sudo mkdir -p /opt 10:20:37 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 10:20:37 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 10:20:37 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 10:20:37 + mvn --version 10:20:38 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 10:20:38 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 10:20:38 Maven home: /opt/maven 10:20:38 Java version: 21.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 10:20:38 Default locale: en, platform encoding: UTF-8 10:20:38 OS name: "linux", version: "5.15.0-186-generic", arch: "amd64", family: "unix" 10:20:38 NOTE: Picked up JDK_JAVA_OPTIONS: 10:20:38 --add-opens=java.base/java.io=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.lang=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.net=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.nio=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.util=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:20:38 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:20:38 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:20:38 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:20:38 -Xlog:disable 10:20:39 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 10:20:39 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 10:20:40 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 10:20:40 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 10:20:41 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 10:20:41 [INFO] Once installed this environment will be reused. 10:20:41 [INFO] This may take a few minutes... 10:20:44 docs-linkcheck: freeze> python -m pip freeze --all 10:20:45 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.4.9,deepmerge==2.1.0,docutils==0.22.4,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.37.4,lfdocs_conf==0.11.0,MarkupSafe==3.0.3,minijinja==2.22.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.20.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==2.1.0,roman-numerals==4.1.0,rpds-py==2026.6.3,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.3.1,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.0.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.0,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.7.0 10:20:45 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 10:20:45 docs: freeze> python -m pip freeze --all 10:20:45 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.4.9,deepmerge==2.1.0,docutils==0.22.4,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.37.4,lfdocs_conf==0.11.0,MarkupSafe==3.0.3,minijinja==2.22.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.20.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==2.1.0,roman-numerals==4.1.0,rpds-py==2026.6.3,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.3.1,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.0.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.0,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.7.0 10:20:45 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 10:20:47 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 10:20:47 [INFO] Once installed this environment will be reused. 10:20:47 [INFO] This may take a few minutes... 10:20:49 docs: OK ✔ in 20.78 seconds 10:20:49 docs-linkcheck: OK ✔ in 20.9 seconds 10:20:49 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 10:20:52 pylint: freeze> python -m pip freeze --all 10:20:53 pylint: astroid==4.0.4,dill==0.4.1,isort==8.0.1,mccabe==0.7.0,pip==26.2.1,platformdirs==4.11.2,pylint==4.0.7,setuptools==84.0.0,tomlkit==0.15.1 10:20:53 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}$' '{}' + 10:20:53 [INFO] Installing environment for https://github.com/hhatto/autopep8. 10:20:53 [INFO] Once installed this environment will be reused. 10:20:53 [INFO] This may take a few minutes... 10:20:58 [INFO] Installing environment for https://github.com/perltidy/perltidy. 10:20:58 [INFO] Once installed this environment will be reused. 10:20:58 [INFO] This may take a few minutes... 10:21:10 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 10:21:10 [INFO] Once installed this environment will be reused. 10:21:10 [INFO] This may take a few minutes... 10:21:15 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 10:21:15 [INFO] Once installed this environment will be reused. 10:21:15 [INFO] This may take a few minutes... 10:21:16 10:21:16 ------------------------------------ 10:21:16 Your code has been rated at 10.00/10 10:21:16 10:21:19 trim trailing whitespace.................................................Passed 10:21:20 fix end of files.........................................................Passed 10:21:20 check for added large files..............................................Passed 10:21:20 check for merge conflicts................................................Passed 10:21:20 check for case conflicts.................................................Passed 10:21:21 check json...............................................................Passed 10:21:21 mixed line ending........................................................Passed 10:21:21 Tabs remover.............................................................Passed 10:21:21 autopep8.................................................................Passed 10:21:24 perltidy.................................................................Passed 10:21:25 ShellCheck v0.11.0.......................................................Passed 10:21:31 prettier.................................................................Passed 10:21:33 yamllint.................................................................Passed 10:21:33 pylint: OK ✔ in 28.86 seconds 10:21:33 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 10:21:34 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 10:21:34 [INFO] Once installed this environment will be reused. 10:21:34 [INFO] This may take a few minutes... 10:21:42 gitlint..................................................................Passed 10:22:26 pre-commit: OK ✔ in 1 minute 10.75 seconds 10:22:26 buildcontroller: OK ✔ in 1 minute 56.27 seconds 10:22:26 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 10:22:26 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 10:22:26 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 10:22:26 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 10:22:32 build_karaf_tests200: freeze> python -m pip freeze --all 10:22:32 buildlighty: freeze> python -m pip freeze --all 10:22:32 build_karaf_tests221: freeze> python -m pip freeze --all 10:22:32 build_karaf_tests71: freeze> python -m pip freeze --all 10:22:32 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:22:32 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:22:32 build karaf in karafoc200 with ./karafoc200.env 10:22:32 buildlighty: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:22:32 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 10:22:32 NOTE: Picked up JDK_JAVA_OPTIONS: 10:22:32 --add-opens=java.base/java.io=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.lang=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.net=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.nio=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.util=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:22:32 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:22:32 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:22:32 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:22:32 -Xlog:disable 10:22:32 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:22:32 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:22:32 build karaf in karaf221 with ./karaf221.env 10:22:32 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:22:32 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:22:33 build karaf in karaf71 with ./karaf71.env 10:22:33 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 10:22:33 NOTE: Picked up JDK_JAVA_OPTIONS: 10:22:33 --add-opens=java.base/java.io=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.net=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:22:33 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:22:33 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:22:33 -Xlog:disable 10:22:33 NOTE: Picked up JDK_JAVA_OPTIONS: 10:22:33 --add-opens=java.base/java.io=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.net=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:22:33 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:22:33 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:22:33 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:22:33 -Xlog:disable 10:23:13 buildlighty: OK ✔ in 47.89 seconds 10:23:13 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 10:24:02 build_karaf_tests71: OK ✔ in 1 minute 26.88 seconds 10:24:02 build_karaf_tests221: OK ✔ in 1 minute 35.74 seconds 10:24:02 build_karaf_tests200: OK ✔ in 1 minute 36.63 seconds 10:24:02 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 10:24:14 sims: freeze> python -m pip freeze --all 10:24:14 sims: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:24:14 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 10:24:14 Using lighynode version 22.1.0.7 10:24:14 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 10:24:54 sims: OK ✔ in 1 minute 4.26 seconds 10:24:54 testsPCE: freeze> python -m pip freeze --all 10:24:54 testsPCE: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,click==8.4.2,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.8,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.63.0,gnpy4tpce==2.4.7,idna==3.18,iniconfig==2.3.0,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.0,lxml==6.1.1,MarkupSafe==3.0.3,matplotlib==3.11.1,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.3,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.3.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pyparsing==3.3.2,pytest==9.1.1,python-dateutil==2.9.0.post0,pytz==2026.3.post1,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.7.0,Werkzeug==2.0.3,xlrd==1.2.0 10:24:54 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 10:24:54 pytest -q transportpce_tests/pce/test01_pce.py 10:25:42 .................... [100%] 10:26:45 20 passed in 111.12s (0:01:51) 10:26:45 pytest -q transportpce_tests/pce/test02_pce_400G.py 10:27:03 ............ [100%] 10:27:33 12 passed in 47.53s 10:27:33 pytest -q transportpce_tests/pce/test03_gnpy.py 10:27:50 ........ [100%] 10:28:11 8 passed in 38.13s 10:28:12 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 10:28:44 ... [100%] 10:28:49 3 passed in 37.35s 10:28:49 testsPCE: OK ✔ in 4 minutes 47.96 seconds 10:28:49 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 10:28:57 tests_tapi: freeze> python -m pip freeze --all 10:28:57 tests_tapi: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:28:57 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 10:28:57 using environment variables from ./karaf221.env 10:28:57 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 10:30:07 ................................................... [100%] 10:33:20 51 passed in 263.20s (0:04:23) 10:33:20 pytest -q transportpce_tests/tapi/test02_full_topology.py 10:34:13 .................................... [100%] 10:38:50 36 passed in 329.02s (0:05:29) 10:38:50 pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py 10:39:38 ....................................................................... [100%] 10:44:17 71 passed in 327.34s (0:05:27) 10:44:17 pytest -q transportpce_tests/tapi/test04_topo_extension.py 10:45:12 ................... [100%] 10:46:47 19 passed in 149.32s (0:02:29) 10:46:47 pytest -q transportpce_tests/tapi/test05_pce_tapi.py 10:48:51 ...................... [100%] 10:54:27 22 passed in 459.91s (0:07:39) 10:54:28 tests_tapi: OK ✔ in 25 minutes 37.98 seconds 10:54:28 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 10:54:28 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 10:54:34 tests221: freeze> python -m pip freeze --all 10:54:34 tests200: freeze> python -m pip freeze --all 10:54:35 tests221: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:54:35 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 10:54:35 tests200: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:54:35 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 10:54:35 using environment variables from ./karaf221.env 10:54:35 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 10:54:35 using environment variables from ./karafoc200.env 10:54:35 pytest -q transportpce_tests/oc200/test01_portmapping.py 10:55:22 FFFFFF............................... [100%] 10:56:36 =================================== FAILURES =================================== 10:56:36 __________ TestTransportPCEPortmapping.test_01_rdm_device_connection ___________ 10:56:36 10:56:36 self = 10:56:36 conn = 10:56:36 method = 'PUT' 10:56:36 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADM-A1' 10:56:36 body = '{"node": [{"node-id": "ROADM-A1", "netconf-node-topology:netconf-node": {"netconf-node-topology:host": "127.0.0.1", "...ff-millis": 1800000, "netconf-node-topology:backoff-multiplier": 1.5, "netconf-node-topology:keepalive-delay": 120}}]}' 10:56:36 headers = {'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '710', 'Authorization': 'Basic YWRtaW46YWRtaW4='} 10:56:36 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 10:56:36 timeout = Timeout(connect=30, read=30, total=None), chunked = False 10:56:36 response_conn = 10:56:36 preload_content = False, decode_content = False, enforce_content_length = True 10:56:36 10:56:36 def _make_request( 10:56:36 self, 10:56:36 conn: BaseHTTPConnection, 10:56:36 method: str, 10:56:36 url: str, 10:56:36 body: _TYPE_BODY | None = None, 10:56:36 headers: typing.Mapping[str, str] | None = None, 10:56:36 retries: Retry | None = None, 10:56:36 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 10:56:36 chunked: bool = False, 10:56:36 response_conn: BaseHTTPConnection | None = None, 10:56:36 preload_content: bool = True, 10:56:36 decode_content: bool = True, 10:56:36 enforce_content_length: bool = True, 10:56:36 ) -> BaseHTTPResponse: 10:56:36 """ 10:56:36 Perform a request on a given urllib connection object taken from our 10:56:36 pool. 10:56:36 10:56:36 :param conn: 10:56:36 a connection from one of our connection pools 10:56:36 10:56:36 :param method: 10:56:36 HTTP request method (such as GET, POST, PUT, etc.) 10:56:36 10:56:36 :param url: 10:56:36 The URL to perform the request on. 10:56:36 10:56:36 :param body: 10:56:36 Data to send in the request body, either :class:`str`, :class:`bytes`, 10:56:36 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 10:56:36 10:56:36 :param headers: 10:56:36 Dictionary of custom headers to send, such as User-Agent, 10:56:36 If-None-Match, etc. If None, pool headers are used. If provided, 10:56:36 these headers completely replace any pool-specific headers. 10:56:36 10:56:36 :param retries: 10:56:36 Configure the number of retries to allow before raising a 10:56:36 :class:`~urllib3.exceptions.MaxRetryError` exception. 10:56:36 10:56:36 Pass ``None`` to retry until you receive a response. Pass a 10:56:36 :class:`~urllib3.util.retry.Retry` object for fine-grained control 10:56:36 over different types of retries. 10:56:36 Pass an integer number to retry connection errors that many times, 10:56:36 but no other types of errors. Pass zero to never retry. 10:56:36 10:56:36 If ``False``, then retries are disabled and any exception is raised 10:56:36 immediately. Also, instead of raising a MaxRetryError on redirects, 10:56:36 the redirect response will be returned. 10:56:36 10:56:36 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 10:56:36 10:56:36 :param timeout: 10:56:36 If specified, overrides the default timeout for this one 10:56:36 request. It may be a float (in seconds) or an instance of 10:56:36 :class:`urllib3.util.Timeout`. 10:56:36 10:56:36 :param chunked: 10:56:36 If True, urllib3 will send the body using chunked transfer 10:56:36 encoding. Otherwise, urllib3 will send the body using the standard 10:56:36 content-length form. Defaults to False. 10:56:36 10:56:36 :param response_conn: 10:56:36 Set this to ``None`` if you will handle releasing the connection or 10:56:36 set the connection to have the response release it. 10:56:36 10:56:36 :param preload_content: 10:56:36 If True, the response's body will be preloaded during construction. 10:56:36 10:56:36 :param decode_content: 10:56:36 If True, will attempt to decode the body based on the 10:56:36 'content-encoding' header. 10:56:36 10:56:36 :param enforce_content_length: 10:56:36 Enforce content length checking. Body returned by server must match 10:56:36 value of Content-Length header, if present. Otherwise, raise error. 10:56:36 """ 10:56:36 self.num_requests += 1 10:56:36 10:56:36 timeout_obj = self._get_timeout(timeout) 10:56:36 timeout_obj.start_connect() 10:56:36 conn.timeout = Timeout.resolve_default_timeout(timeout_obj.connect_timeout) 10:56:36 10:56:36 try: 10:56:36 # Trigger any extra validation we need to do. 10:56:36 try: 10:56:36 self._validate_conn(conn) 10:56:36 except (SocketTimeout, BaseSSLError) as e: 10:56:36 self._raise_timeout(err=e, url=url, timeout_value=conn.timeout) 10:56:36 raise 10:56:36 10:56:36 # _validate_conn() starts the connection to an HTTPS proxy 10:56:36 # so we need to wrap errors with 'ProxyError' here too. 10:56:36 except ( 10:56:36 OSError, 10:56:36 NewConnectionError, 10:56:36 TimeoutError, 10:56:36 BaseSSLError, 10:56:36 CertificateError, 10:56:36 SSLError, 10:56:36 ) as e: 10:56:36 new_e: Exception = e 10:56:36 if isinstance(e, (BaseSSLError, CertificateError)): 10:56:36 new_e = SSLError(e) 10:56:36 # If the connection didn't successfully connect to it's proxy 10:56:36 # then there 10:56:36 if isinstance( 10:56:36 new_e, (OSError, NewConnectionError, TimeoutError, SSLError) 10:56:36 ) and (conn and conn.proxy and not conn.has_connected_to_proxy): 10:56:36 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme) 10:56:36 raise new_e 10:56:36 10:56:36 # conn.request() calls http.client.*.request, not the method in 10:56:36 # urllib3.request. It also calls makefile (recv) on the socket. 10:56:36 try: 10:56:36 conn.request( 10:56:36 method, 10:56:36 url, 10:56:36 body=body, 10:56:36 headers=headers, 10:56:36 chunked=chunked, 10:56:36 preload_content=preload_content, 10:56:36 decode_content=decode_content, 10:56:36 enforce_content_length=enforce_content_length, 10:56:36 ) 10:56:36 10:56:36 # We are swallowing BrokenPipeError (errno.EPIPE) since the server is 10:56:36 # legitimately able to close the connection after sending a valid response. 10:56:36 # With this behaviour, the received response is still readable. 10:56:36 except BrokenPipeError: 10:56:36 pass 10:56:36 except OSError as e: 10:56:36 # MacOS/Linux 10:56:36 # EPROTOTYPE and ECONNRESET are needed on macOS 10:56:36 # https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ 10:56:36 # Condition changed later to emit ECONNRESET instead of only EPROTOTYPE. 10:56:36 if e.errno != errno.EPROTOTYPE and e.errno != errno.ECONNRESET: 10:56:36 raise 10:56:36 10:56:36 # Reset the timeout for the recv() on the socket 10:56:36 read_timeout = timeout_obj.read_timeout 10:56:36 10:56:36 if not conn.is_closed: 10:56:36 # In Python 3 socket.py will catch EAGAIN and return None when you 10:56:36 # try and read into the file pointer created by http.client, which 10:56:36 # instead raises a BadStatusLine exception. Instead of catching 10:56:36 # the exception and assuming all BadStatusLine exceptions are read 10:56:36 # timeouts, check for a zero timeout before making the request. 10:56:36 if read_timeout == 0: 10:56:36 raise ReadTimeoutError( 10:56:36 self, url, f"Read timed out. (read timeout={read_timeout})" 10:56:36 ) 10:56:36 conn.timeout = read_timeout 10:56:36 10:56:36 # Receive the response from the server 10:56:36 try: 10:56:36 > response = conn.getresponse() 10:56:36 ^^^^^^^^^^^^^^^^^^ 10:56:36 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connectionpool.py:534: 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connection.py:571: in getresponse 10:56:36 httplib_response = super().getresponse() 10:56:36 ^^^^^^^^^^^^^^^^^^^^^ 10:56:36 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1395: in getresponse 10:56:36 response.begin() 10:56:36 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:325: in begin 10:56:36 version, status, reason = self._read_status() 10:56:36 ^^^^^^^^^^^^^^^^^^^ 10:56:36 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:286: in _read_status 10:56:36 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 10:56:36 self = 10:56:36 b = 10:56:36 10:56:36 def readinto(self, b): 10:56:36 """Read up to len(b) bytes into the writable buffer *b* and return 10:56:36 the number of bytes read. If the socket is non-blocking and no bytes 10:56:36 are available, None is returned. 10:56:36 10:56:36 If *b* is non-empty, a 0 return value indicates that the connection 10:56:36 was shutdown at the other end. 10:56:36 """ 10:56:36 self._checkClosed() 10:56:36 self._checkReadable() 10:56:36 if self._timeout_occurred: 10:56:36 raise OSError("cannot read from timed out object") 10:56:36 while True: 10:56:36 try: 10:56:36 > return self._sock.recv_into(b) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 E TimeoutError: timed out 10:56:36 10:56:36 /opt/pyenv/versions/3.11.10/lib/python3.11/socket.py:718: TimeoutError 10:56:36 10:56:36 The above exception was the direct cause of the following exception: 10:56:36 10:56:36 self = 10:56:36 request = , stream = False, timeout = 30, verify = True 10:56:36 cert = None, proxies = OrderedDict() 10:56:36 10:56:36 def send( 10:56:36 self, 10:56:36 request: PreparedRequest, 10:56:36 stream: bool = False, 10:56:36 timeout: _t.TimeoutType = None, 10:56:36 verify: _t.VerifyType = True, 10:56:36 cert: _t.CertType = None, 10:56:36 proxies: dict[str, str] | None = None, 10:56:36 ) -> Response: 10:56:36 """Sends PreparedRequest object. Returns Response object. 10:56:36 10:56:36 :param request: The :class:`PreparedRequest ` being sent. 10:56:36 :param stream: (optional) Whether to stream the request content. 10:56:36 :param timeout: (optional) How long to wait for the server to send 10:56:36 data before giving up, as a float, or a :ref:`(connect timeout, 10:56:36 read timeout) ` tuple. 10:56:36 :type timeout: float or tuple or urllib3 Timeout object 10:56:36 :param verify: (optional) Either a boolean, in which case it controls whether 10:56:36 we verify the server's TLS certificate, or a string, in which case it 10:56:36 must be a path to a CA bundle to use 10:56:36 :param cert: (optional) Any user-provided SSL certificate to be trusted. 10:56:36 :param proxies: (optional) The proxies dictionary to apply to the request. 10:56:36 :rtype: requests.Response 10:56:36 """ 10:56:36 10:56:36 assert _is_prepared(request) 10:56:36 10:56:36 try: 10:56:36 conn = self.get_connection_with_tls_context( 10:56:36 request, verify, proxies=proxies, cert=cert 10:56:36 ) 10:56:36 except LocationValueError as e: 10:56:36 raise InvalidURL(e, request=request) 10:56:36 10:56:36 self.cert_verify(conn, request.url, verify, cert) 10:56:36 url = self.request_url(request, proxies) 10:56:36 self.add_headers( 10:56:36 request, 10:56:36 stream=stream, 10:56:36 timeout=timeout, 10:56:36 verify=verify, 10:56:36 cert=cert, 10:56:36 proxies=proxies, 10:56:36 ) 10:56:36 10:56:36 chunked = not (request.body is None or "Content-Length" in request.headers) 10:56:36 10:56:36 if isinstance(timeout, tuple): 10:56:36 try: 10:56:36 connect, read = timeout 10:56:36 resolved_timeout = TimeoutSauce(connect=connect, read=read) 10:56:36 except ValueError: 10:56:36 raise ValueError( 10:56:36 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 10:56:36 f"or a single float to set both timeouts to the same value." 10:56:36 ) 10:56:36 elif isinstance(timeout, TimeoutSauce): 10:56:36 resolved_timeout = timeout 10:56:36 else: 10:56:36 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 10:56:36 10:56:36 try: 10:56:36 > resp = conn.urlopen( 10:56:36 method=request.method, 10:56:36 url=url, 10:56:36 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 10:56:36 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 10:56:36 redirect=False, 10:56:36 assert_same_host=False, 10:56:36 preload_content=False, 10:56:36 decode_content=False, 10:56:36 retries=self.max_retries, 10:56:36 timeout=resolved_timeout, 10:56:36 chunked=chunked, 10:56:36 ) 10:56:36 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/requests/adapters.py:696: 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connectionpool.py:842: in urlopen 10:56:36 retries = retries.increment( 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/util/retry.py:498: in increment 10:56:36 raise reraise(type(error), error, _stacktrace) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/util/util.py:39: in reraise 10:56:36 raise value 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connectionpool.py:788: in urlopen 10:56:36 response = self._make_request( 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connectionpool.py:536: in _make_request 10:56:36 self._raise_timeout(err=e, url=url, timeout_value=read_timeout) 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 10:56:36 self = 10:56:36 err = TimeoutError('timed out') 10:56:36 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADM-A1' 10:56:36 timeout_value = 30 10:56:36 10:56:36 def _raise_timeout( 10:56:36 self, 10:56:36 err: BaseSSLError | OSError | SocketTimeout, 10:56:36 url: str, 10:56:36 timeout_value: _TYPE_TIMEOUT | None, 10:56:36 ) -> None: 10:56:36 """Is the error actually a timeout? Will raise a ReadTimeout or pass""" 10:56:36 10:56:36 if isinstance(err, SocketTimeout): 10:56:36 > raise ReadTimeoutError( 10:56:36 self, url, f"Read timed out. (read timeout={timeout_value})" 10:56:36 ) from err 10:56:36 E urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8183): Read timed out. (read timeout=30) 10:56:36 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/urllib3/connectionpool.py:367: ReadTimeoutError 10:56:36 10:56:36 During handling of the above exception, another exception occurred: 10:56:36 10:56:36 self = 10:56:36 10:56:36 def test_01_rdm_device_connection(self): 10:56:36 > response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION)) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 10:56:36 transportpce_tests/2.2.1/test01_portmapping.py:51: 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 transportpce_tests/common/test_utils.py:378: in mount_device 10:56:36 response = put_request(url[RESTCONF_VERSION].format('{}', node), body) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 transportpce_tests/common/test_utils.py:126: in put_request 10:56:36 return requests.request( 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/requests/api.py:71: in request 10:56:36 return session.request(method=method, url=url, **kwargs) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/requests/sessions.py:651: in request 10:56:36 resp = self.send(prep, **send_kwargs) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/requests/sessions.py:784: in send 10:56:36 r = adapter.send(request, **kwargs) 10:56:36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:36 10:56:36 self = 10:56:36 request = , stream = False, timeout = 30, verify = True 10:56:36 cert = None, proxies = OrderedDict() 10:56:36 10:56:36 def send( 10:56:36 self, 10:56:36 request: PreparedRequest, 10:56:36 stream: bool = False, 10:56:36 timeout: _t.TimeoutType = None, 10:56:36 verify: _t.VerifyType = True, 10:56:36 cert: _t.CertType = None, 10:56:36 proxies: dict[str, str] | None = None, 10:56:36 ) -> Response: 10:56:36 """Sends PreparedRequest object. Returns Response object. 10:56:36 10:56:36 :param request: The :class:`PreparedRequest ` being sent. 10:56:36 :param stream: (optional) Whether to stream the request content. 10:56:36 :param timeout: (optional) How long to wait for the server to send 10:56:36 data before giving up, as a float, or a :ref:`(connect timeout, 10:56:36 read timeout) ` tuple. 10:56:36 :type timeout: float or tuple or urllib3 Timeout object 10:56:36 :param verify: (optional) Either a boolean, in which case it controls whether 10:56:36 we verify the server's TLS certificate, or a string, in which case it 10:56:36 must be a path to a CA bundle to use 10:56:36 :param cert: (optional) Any user-provided SSL certificate to be trusted. 10:56:36 :param proxies: (optional) The proxies dictionary to apply to the request. 10:56:36 :rtype: requests.Response 10:56:36 """ 10:56:36 10:56:36 assert _is_prepared(request) 10:56:36 10:56:36 try: 10:56:36 conn = self.get_connection_with_tls_context( 10:56:36 request, verify, proxies=proxies, cert=cert 10:56:36 ) 10:56:36 except LocationValueError as e: 10:56:36 raise InvalidURL(e, request=request) 10:56:36 10:56:36 self.cert_verify(conn, request.url, verify, cert) 10:56:36 url = self.request_url(request, proxies) 10:56:36 self.add_headers( 10:56:36 request, 10:56:36 stream=stream, 10:56:36 timeout=timeout, 10:56:36 verify=verify, 10:56:36 cert=cert, 10:56:36 proxies=proxies, 10:56:36 ) 10:56:36 10:56:36 chunked = not (request.body is None or "Content-Length" in request.headers) 10:56:36 10:56:36 if isinstance(timeout, tuple): 10:56:36 try: 10:56:36 connect, read = timeout 10:56:36 resolved_timeout = TimeoutSauce(connect=connect, read=read) 10:56:36 except ValueError: 10:56:36 raise ValueError( 10:56:36 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 10:56:36 f"or a single float to set both timeouts to the same value." 10:56:36 ) 10:56:36 elif isinstance(timeout, TimeoutSauce): 10:56:36 resolved_timeout = timeout 10:56:36 else: 10:56:36 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 10:56:36 10:56:36 try: 10:56:36 resp = conn.urlopen( 10:56:36 method=request.method, 10:56:36 url=url, 10:56:36 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 10:56:36 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 10:56:36 redirect=False, 10:56:36 assert_same_host=False, 10:56:36 preload_content=False, 10:56:36 decode_content=False, 10:56:36 retries=self.max_retries, 10:56:36 timeout=resolved_timeout, 10:56:36 chunked=chunked, 10:56:36 ) 10:56:36 10:56:36 except (ProtocolError, OSError) as err: 10:56:36 raise ConnectionError(err, request=request) 10:56:36 10:56:36 except MaxRetryError as e: 10:56:36 if isinstance(e.reason, ConnectTimeoutError): 10:56:36 # TODO: Remove this in 3.0.0: see #2811 10:56:36 if not isinstance(e.reason, NewConnectionError): 10:56:36 raise ConnectTimeout(e, request=request) 10:56:36 10:56:36 if isinstance(e.reason, ResponseError): 10:56:36 raise RetryError(e, request=request) 10:56:36 10:56:36 if isinstance(e.reason, _ProxyError): 10:56:36 raise ProxyError(e, request=request) 10:56:36 10:56:36 if isinstance(e.reason, _SSLError): 10:56:36 # This branch is for urllib3 v1.22 and later. 10:56:36 raise SSLError(e, request=request) 10:56:36 10:56:36 raise ConnectionError(e, request=request) 10:56:36 10:56:36 except ClosedPoolError as e: 10:56:36 raise ConnectionError(e, request=request) 10:56:36 10:56:36 except _ProxyError as e: 10:56:36 raise ProxyError(e) 10:56:36 10:56:36 except (_SSLError, _HTTPError) as e: 10:56:36 if isinstance(e, _SSLError): 10:56:36 # This branch is for urllib3 versions earlier than v1.22 10:56:36 raise SSLError(e, request=request) 10:56:36 elif isinstance(e, ReadTimeoutError): 10:56:36 > raise ReadTimeout(e, request=request) 10:56:36 E requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8183): Read timed out. (read timeout=30) 10:56:36 10:56:36 ../.tox/tests221/lib/python3.11/site-packages/requests/adapters.py:742: ReadTimeout 10:56:36 ---------------------------- Captured stdout setup ----------------------------- 10:56:36 starting OpenDaylight... 10:56:36 starting KARAF (karaf221) TransportPCE build... 10:56:36 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 10:56:36 starting simulator xpdra in OpenROADM device version 2.2.1... 10:56:36 Searching for patterns in xpdra-221.log... Pattern found! simulator for xpdra started 10:56:36 starting simulator roadma in OpenROADM device version 2.2.1... 10:56:36 Searching for patterns in roadma-221.log... Pattern found! simulator for roadma started 10:56:36 starting simulator spdra in OpenROADM device version 2.2.1... 10:56:36 Searching for patterns in spdra-221.log... Pattern found! simulator for spdra started 10:56:36 ----------------------------- Captured stdout call ----------------------------- 10:56:36 execution of test_01_rdm_device_connection 10:56:36 ___________ TestTransportPCEPortmapping.test_02_rdm_device_connected ___________ 10:56:36 10:56:36 self = 10:56:36 10:56:36 def test_02_rdm_device_connected(self): 10:56:36 response = test_utils.check_device_connection("ROADM-A1") 10:56:36 > self.assertEqual(response['status_code'], requests.codes.ok) 10:56:36 E AssertionError: 409 != 200 10:56:36 10:56:36 transportpce_tests/2.2.1/test01_portmapping.py:56: AssertionError 10:56:36 ----------------------------- Captured stdout call ----------------------------- 10:56:36 execution of test_02_rdm_device_connected 10:56:36 ___________ TestTransportPCEPortmapping.test_03_rdm_portmapping_info ___________ 10:56:36 10:56:36 self = 10:56:36 10:56:36 def test_03_rdm_portmapping_info(self): 10:56:36 response = test_utils.get_portmapping_node_attr("ROADM-A1", "node-info", None) 10:56:36 > self.assertEqual(response['status_code'], requests.codes.ok) 10:56:36 E AssertionError: 409 != 200 10:56:36 10:56:36 transportpce_tests/2.2.1/test01_portmapping.py:61: AssertionError 10:56:36 ----------------------------- Captured stdout call ----------------------------- 10:56:36 execution of test_03_rdm_portmapping_info 10:56:36 ______ TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _______ 10:56:36 10:56:36 self = 10:56:36 10:56:36 def test_04_rdm_portmapping_DEG1_TTP_TXRX(self): 10:56:36 response = test_utils.get_portmapping_node_attr("ROADM-A1", "mapping", "DEG1-TTP-TXRX") 10:56:36 > self.assertEqual(response['status_code'], requests.codes.ok) 10:56:36 E AssertionError: 409 != 200 10:56:36 10:56:36 transportpce_tests/2.2.1/test01_portmapping.py:73: AssertionError 10:56:36 ----------------------------- Captured stdout call ----------------------------- 10:56:36 execution of test_04_rdm_portmapping_DEG1_TTP_TXRX 10:56:36 =========================== short test summary info ============================ 10:56:36 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 10:56:36 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 10:56:36 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 10:56:36 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 10:56:36 4 failed, 31 passed in 121.12s (0:02:01) 10:56:36 tests221: exit 1 (121.39 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=16563 10:56:36 tests221: FAIL ✖ in 2 minutes 8.97 seconds 10:56:36 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 10:57:03 tests_hybrid: freeze> python -m pip freeze --all 10:57:03 tests_hybrid: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 10:57:03 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 10:57:03 using environment variables from ./karaf221.env 10:57:03 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 10:57:59 ..........FFFFF.F.F...................................F [100%] 11:01:35 =================================== FAILURES =================================== 11:01:35 ___________ TestTransportPCEPortmapping.test_01_meta_data_insertion ____________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_01_meta_data_insertion(self): 11:01:35 response = test_utils_oc.metadata_input_oc200() 11:01:35 > self.assertEqual(response.status_code, requests.codes.created, 11:01:35 test_utils.CODE_SHOULD_BE_201) 11:01:35 E AssertionError: 401 != 201 : Http status code should be 201 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:48: AssertionError 11:01:35 ---------------------------- Captured stdout setup ----------------------------- 11:01:35 starting OpenDaylight... 11:01:35 starting KARAF (karafoc200) TransportPCE build... 11:01:35 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 11:01:35 starting simulator mpdra in OpenROADM device version oc200... 11:01:35 Searching for patterns in mpdra-200.log... Pattern found! simulator for mpdra started 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_01_meta_data_insertion 11:01:35 _________ TestTransportPCEPortmapping.test_02_catalog_input_insertion __________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_02_catalog_input_insertion(self): 11:01:35 response = test_utils_oc.catalog_input_oc200() 11:01:35 > self.assertEqual(response.status_code, requests.codes.ok, 11:01:35 test_utils.CODE_SHOULD_BE_200) 11:01:35 E AssertionError: 401 != 200 : Http status code should be 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:53: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_02_catalog_input_insertion 11:01:35 __________ TestTransportPCEPortmapping.test_03_xpdr_device_connection __________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_03_xpdr_device_connection(self): 11:01:35 response = test_utils.mount_device("XPDR-OC", 11:01:35 ('mpdra', self.NODE_VERSION)) 11:01:35 > self.assertEqual(response.status_code, requests.codes.created, 11:01:35 test_utils.CODE_SHOULD_BE_201) 11:01:35 E AssertionError: 401 != 201 : Http status code should be 201 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:59: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_03_xpdr_device_connection 11:01:35 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not added to tpce topology... 11:01:35 __________ TestTransportPCEPortmapping.test_04_xpdr_device_connected ___________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_04_xpdr_device_connected(self): 11:01:35 response = test_utils.check_device_connection("XPDR-OC") 11:01:35 > self.assertEqual(response['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:64: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_04_xpdr_device_connected 11:01:35 __________ TestTransportPCEPortmapping.test_05_xpdr_portmapping_info ___________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_05_xpdr_portmapping_info(self): 11:01:35 response = test_utils.get_portmapping_node_attr("XPDR-OC", "node-info", None) 11:01:35 > self.assertEqual(response['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:69: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_05_xpdr_portmapping_info 11:01:35 ________ TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_06_mpdr_portmapping_NETWORK5(self): 11:01:35 response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK9") 11:01:35 > self.assertEqual(response['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:81: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_06_mpdr_portmapping_NETWORK5 11:01:35 _________ TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_07_mpdr_portmapping_CLIENT1(self): 11:01:35 response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") 11:01:35 > self.assertEqual(response['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:104: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_07_mpdr_portmapping_CLIENT1 11:01:35 ___________ TestTransportPCEPortmapping.test_08_mpdr_switching_pool ____________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_08_mpdr_switching_pool(self): 11:01:35 response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") 11:01:35 > self.assertEqual(response['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:127: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_08_mpdr_switching_pool 11:01:35 ____________ TestTransportPCEPortmapping.test_09_check_mccapprofile ____________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_09_check_mccapprofile(self): 11:01:35 res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") 11:01:35 > self.assertEqual(res['status_code'], requests.codes.ok) 11:01:35 E AssertionError: 409 != 200 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:144: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_09_check_mccapprofile 11:01:35 ________ TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _________ 11:01:35 11:01:35 self = 11:01:35 11:01:35 def test_10_xpdr_device_disconnection(self): 11:01:35 response = test_utils.unmount_device("XPDR-OC") 11:01:35 > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) 11:01:35 E AssertionError: 409 not found in (200, 204) 11:01:35 11:01:35 transportpce_tests/oc200/test01_portmapping.py:151: AssertionError 11:01:35 ----------------------------- Captured stdout call ----------------------------- 11:01:35 execution of test_10_xpdr_device_disconnection 11:01:35 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not deleted from tpce topology... 11:01:35 --------------------------- Captured stdout teardown --------------------------- 11:01:35 all processes killed 11:01:35 ODL log file stored 11:01:35 =========================== short test summary info ============================ 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catalog_input_insertion 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile 11:01:35 FAILED transportpce_tests/oc200/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 11:01:35 10 failed in 420.48s (0:07:00) 11:01:35 tests200: exit 1 (420.74 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=16572 11:01:36 tests200: FAIL ✖ in 7 minutes 8.33 seconds 11:01:36 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 11:01:44 tests71: freeze> python -m pip freeze --all 11:01:44 tests71: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.4.9,cryptography==50.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.7.0 11:01:44 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 11:01:44 using environment variables from ./karaf71.env 11:01:44 pytest -q transportpce_tests/7.1/test01_portmapping.py 11:02:20 ............ [100%] 11:02:33 12 passed in 48.93s 11:02:33 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 11:02:41 .... [100%] 11:02:47 51 passed in 343.76s (0:05:43) 11:02:48 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 11:03:10 ..................................................EEEE.EEEEEEEEEE.EEEEEEEEEEE.EEEEEEEEE.EEEEEEEEEEEE.EEEEEEEEE.EEEEEEEEE.EEEEEEEE [ 66%] 11:05:11 EE.EEEEEEEEEE.EEEEEEEEEE.EEEEEEEEEE.EEEEE [100%] 11:05:18 ==================================== ERRORS ==================================== 11:05:18 ___ ERROR at setup of TestTransportPCEB100GEndtoend.test_001_connect_xpdra2 ____ 11:05:18 11:05:18 cls = 11:05:18 11:05:18 @classmethod 11:05:18 def setUpClass(cls): 11:05:18 cls.processes = test_utils.start_tpce() 11:05:18 > cls.processes = test_utils.start_sims([('xpdra2', cls.NODE_VERSION_71), 11:05:18 ('roadma', cls.NODE_VERSION_221), 11:05:18 ('roadmc', cls.NODE_VERSION_221), 11:05:18 ('xpdrc2', cls.NODE_VERSION_71)]) 11:05:18 11:05:18 transportpce_tests/hybrid/test02_B100G_end2end.py:143: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 sims_list = [('xpdra2', '7.1'), ('roadma', '2.2.1'), ('roadmc', '2.2.1'), ('xpdrc2', '7.1')] 11:05:18 11:05:18 def start_sims(sims_list): 11:05:18 if SIMS_TO_USE == 'None': 11:05:18 return None 11:05:18 if SIMS_TO_USE == 'honeynode': 11:05:18 start_method = start_honeynode 11:05:18 else: 11:05:18 start_method = start_lightynode 11:05:18 for sim in sims_list: 11:05:18 print('starting simulator ' + sim[0] + ' in OpenROADM device version ' + sim[1] + '...') 11:05:18 log_file = os.path.join(SIM_LOG_DIRECTORY, SIMS[sim]['logfile']) 11:05:18 process = start_method(log_file, sim) 11:05:18 if wait_until_log_contains(log_file, [HONEYNODE_OK_START_MSG, LIGHTYNODE_OK_START_MSG], 100): 11:05:18 print('simulator for ' + sim[0] + ' started') 11:05:18 else: 11:05:18 print('simulator for ' + sim[0] + ' failed to start') 11:05:18 shutdown_process(process) 11:05:18 for pid in process_list: 11:05:18 shutdown_process(pid) 11:05:18 > sys.exit(3) 11:05:18 E SystemExit: 3 11:05:18 11:05:18 transportpce_tests/common/test_utils.py:213: SystemExit 11:05:18 ---------------------------- Captured stdout setup ----------------------------- 11:05:18 starting OpenDaylight... 11:05:18 starting KARAF (karaf221) TransportPCE build... 11:05:18 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 11:05:18 starting simulator xpdra2 in OpenROADM device version 7.1... 11:05:18 Searching for patterns in xpdra2-71.log... Pattern not found after 100 seconds! simulator for xpdra2 failed to start 11:05:18 ___ ERROR at setup of TestTransportPCEB100GEndtoend.test_002_connect_xpdrc2 ____ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c42520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 ____ ERROR at setup of TestTransportPCEB100GEndtoend.test_003_connect_rdma _____ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf18ba4040> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 ____ ERROR at setup of TestTransportPCEB100GEndtoend.test_004_connect_rdmc _____ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaae80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_005_connect_xpdra2_2_N1_to_roadma_PP2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c42520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_006_connect_roadma_PP2_to_xpdra2_2_N1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aab920> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_007_connect_xpdrc2_2_N1_to_roadmc_PP2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaa5c0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_008_connect_roadmc_PP2_to_xpdrc2_2_N1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aa9b20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_009_add_omsAttributes_roadma_roadmc _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabce0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_010_add_omsAttributes_roadmc_roadma _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaa520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_011_check_otn_topology __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_012_create_OTUC4_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaad40> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_013_get_OTUC4_service1 __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabf60> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_014_check_interface_otsi_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aa9f80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_015_check_interface_OTSI_GROUP_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_016_check_interface_OTUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c42d40> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_017_check_interface_otsi_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c43100> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_018_check_interface_OTSI_GROUP_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaa520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_019_check_interface_OTUC4_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_020_check_no_interface_ODUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c43100> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_021_check_openroadm_topo_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aaa520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_022_check_otn_topo_OTUC4_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_023_create_ODUC4_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c43100> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_024_get_ODUC4_service1 __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabf60> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_025_check_interface_ODUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16c43100> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_026_check_interface_ODUC4_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_027_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20cc0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_028_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_029_create_100GE_service_1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20400> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_030_get_100GE_service_1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20cc0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_031_check_interface_100GE_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_032_check_interface_ODU4_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20b80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_033_check_interface_ODU4_NETWORK_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_034_check_ODU4_connection_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b207c0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_035_check_interface_100GE_CLIENT_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b219e0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_036_check_interface_ODU4_CLIENT_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_037_check_interface_ODU4_NETWORK_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b219e0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_038_check_ODU4_connection_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21760> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_039_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_040_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21c60> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_041_create_100GE_service_2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21f80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_042_get_100GE_service_2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_043_check_service_list __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20f40> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_044_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20c20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_045_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_046_delete_100GE_service_2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20b80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_047_delete_100GE_service_1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20c20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_048_check_service_list __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_049_check_no_ODU4_connection_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21120> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_050_check_no_interface_ODU4_NETWORK_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_051_check_no_interface_ODU4_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22700> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_052_check_no_interface_100GE_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21a80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_053_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_054_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21a80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_055_create_100GE_service_3 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b227a0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_056_get_100GE_service_3 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_057_check_service_list __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20680> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_058_check_interface_100GE_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22980> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_059_check_interface_ODU4_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_060_check_interface_ODU4_NETWORK_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b204a0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_061_check_ODU4_connection_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22ca0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_062_check_interface_100GE_CLIENT_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_063_check_interface_ODU4_CLIENT_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b228e0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_064_check_interface_ODU4_NETWORK_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22ca0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_065_check_ODU4_connection_xpdrc2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_066_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b20f40> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_067_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_068_delete_100GE_service_3 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b204a0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_069_delete_ODUC4_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22e80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_070_check_service_list __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_071_check_no_interface_ODU4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22e80> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_072_check_otn_topo_links _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b21440> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_073_check_otn_topo_tp __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_074_delete_OTUC4_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23100> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 ___ ERROR at setup of TestTransportPCEB100GEndtoend.test_075_get_no_service ____ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b234c0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_076_check_no_interface_OTUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_077_check_no_interface_OTSI_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22ca0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_078_check_no_interface_OTSIG_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_079_getLinks_OtnTopology _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_080_check_openroadm_topo_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22c00> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_081_check_openroadm_topology _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22520> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_082_connect_xpdra2_1_N1_to_roadma_PP2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_083_connect_roadma_PP2_to_xpdra2_1_N1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b213a0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_084_connect_xpdrc2_1_N1_to_roadmc_PP2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_085_connect_roadmc_PP2_to_xpdrc2_1_N1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b214e0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_086_create_400GE_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22660> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_087_get_400GE_service __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_088_check_xc1_roadma ___ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22660> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_089_check_topo_xpdra2 __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23ce0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_090_check_topo_roadma_SRG1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_091_check_topo_roadma_DEG1 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23a60> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_092_check_interface_400GE_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22f20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_093_check_interface_OTSI_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_094_check_interface_OTSI_GROUP_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22480> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_095_check_interface_OTUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b239c0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_096_check_interface_ODUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_097_check_interface_ODUFLEX_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b22c00> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_098_delete_400GE_service _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23060> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 ___ ERROR at setup of TestTransportPCEB100GEndtoend.test_099_get_no_service ____ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_100_check_no_interface_ODUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23e20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_101_check_no_interface_OTUC4_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_102_check_no_interface_OTSI_GROUP_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b204a0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_103_check_no_interface_OTSI_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23e20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_104_check_no_interface_400GE_CLIENT_xpdra2 _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 _ ERROR at setup of TestTransportPCEB100GEndtoend.test_105_disconnect_xponders_from_roadm _ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b214e0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_106_disconnect_xpdra2 __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23ce0> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_107_disconnect_xpdrc2 __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23380> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_108_disconnect_roadmA __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16aabe20> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 __ ERROR at setup of TestTransportPCEB100GEndtoend.test_109_disconnect_roadmC __ 11:05:18 11:05:18 cls = 11:05:18 func = . at 0x7fbf16b23600> 11:05:18 when = 'setup' 11:05:18 reraise = (, ) 11:05:18 11:05:18 @classmethod 11:05:18 def from_call( 11:05:18 cls, 11:05:18 func: Callable[[], TResult], 11:05:18 when: Literal["collect", "setup", "call", "teardown"], 11:05:18 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:05:18 ) -> CallInfo[TResult]: 11:05:18 """Call func, wrapping the result in a CallInfo. 11:05:18 11:05:18 :param func: 11:05:18 The function to call. Called without arguments. 11:05:18 :type func: Callable[[], _pytest.runner.TResult] 11:05:18 :param when: 11:05:18 The phase in which the function is called. 11:05:18 :param reraise: 11:05:18 Exception or exceptions that shall propagate if raised by the 11:05:18 function, instead of being wrapped in the CallInfo. 11:05:18 """ 11:05:18 excinfo = None 11:05:18 instant = timing.Instant() 11:05:18 try: 11:05:18 > result: TResult | None = func() 11:05:18 ^^^^^^ 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:05:18 lambda: runtest_hook(item=item, **kwds), 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:05:18 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:05:18 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:05:18 yield 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:05:18 return (yield) 11:05:18 ^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:05:18 item.session._setupstate.setup(item) 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:05:18 col.setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:05:18 super().setup() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:05:18 self._request._fillfixtures() 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 11:05:18 item.funcargs[argname] = self.getfixturevalue(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 11:05:18 fixturedef = self._get_active_fixturedef(argname) 11:05:18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 11:05:18 fixturedef.execute(request=subrequest) 11:05:18 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:05:18 11:05:18 self = 11:05:18 request = > 11:05:18 11:05:18 def execute(self, request: SubRequest) -> FixtureValue: 11:05:18 """Return the value of this fixture, executing it if not cached.""" 11:05:18 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:05:18 # This needs to be done before checking if we have a cached value, since 11:05:18 # if a dependent fixture has their cache invalidated, e.g. due to 11:05:18 # parametrization, they finalize themselves and fixtures depending on it 11:05:18 # (which will likely include this fixture) setting `self.cached_result = None`. 11:05:18 # See #4871 11:05:18 requested_fixtures_that_should_finalize_us = [] 11:05:18 for argname in self.argnames: 11:05:18 fixturedef = request._get_active_fixturedef(argname) 11:05:18 # Saves requested fixtures in a list so we later can add our finalizer 11:05:18 # to them, ensuring that if a requested fixture gets torn down we get torn 11:05:18 # down first. This is generally handled by SetupState, but still currently 11:05:18 # needed when this fixture is not parametrized but depends on a parametrized 11:05:18 # fixture. 11:05:18 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:05:18 11:05:18 # Check for (and return) cached value/exception. 11:05:18 if self.cached_result is not None: 11:05:18 request_cache_key = self.cache_key(request) 11:05:18 cache_key = self.cached_result[1] 11:05:18 try: 11:05:18 # Attempt to make a normal == check: this might fail for objects 11:05:18 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:05:18 cache_hit = bool(request_cache_key == cache_key) 11:05:18 except (ValueError, RuntimeError): 11:05:18 # If the comparison raises, use 'is' as fallback. 11:05:18 cache_hit = request_cache_key is cache_key 11:05:18 11:05:18 if cache_hit: 11:05:18 if self.cached_result[2] is not None: 11:05:18 exc, exc_tb = self.cached_result[2] 11:05:18 raise exc.with_traceback(exc_tb) 11:05:18 else: 11:05:18 return self.cached_result[0] 11:05:18 # We have a previous but differently parametrized fixture instance 11:05:18 # so we need to tear it down before creating a new one. 11:05:18 self.finish(request) 11:05:18 assert self.cached_result is None 11:05:18 11:05:18 # Add finalizer to requested fixtures we saved previously. 11:05:18 # We make sure to do this after checking for cached value to avoid 11:05:18 # adding our finalizer multiple times. (#12135) 11:05:18 finalizer = functools.partial(self.finish, request=request) 11:05:18 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:05:18 parent_fixture.addfinalizer(finalizer) 11:05:18 11:05:18 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:05:18 # which is executed last. 11:05:18 > assert not self._finalizers 11:05:18 ^^^^^^^^^^^^^^^^^^^^ 11:05:18 E AssertionError 11:05:18 11:05:18 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 11:05:18 =========================== short test summary info ============================ 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_001_connect_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_002_connect_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_003_connect_rdma 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_004_connect_rdmc 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_005_connect_xpdra2_2_N1_to_roadma_PP2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_006_connect_roadma_PP2_to_xpdra2_2_N1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_007_connect_xpdrc2_2_N1_to_roadmc_PP2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_008_connect_roadmc_PP2_to_xpdrc2_2_N1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_009_add_omsAttributes_roadma_roadmc 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_010_add_omsAttributes_roadmc_roadma 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_011_check_otn_topology 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_012_create_OTUC4_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_013_get_OTUC4_service1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_014_check_interface_otsi_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_015_check_interface_OTSI_GROUP_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_016_check_interface_OTUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_017_check_interface_otsi_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_018_check_interface_OTSI_GROUP_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_019_check_interface_OTUC4_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_020_check_no_interface_ODUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_021_check_openroadm_topo_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_022_check_otn_topo_OTUC4_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_023_create_ODUC4_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_024_get_ODUC4_service1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_025_check_interface_ODUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_026_check_interface_ODUC4_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_027_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_028_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_029_create_100GE_service_1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_030_get_100GE_service_1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_031_check_interface_100GE_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_032_check_interface_ODU4_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_033_check_interface_ODU4_NETWORK_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_034_check_ODU4_connection_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_035_check_interface_100GE_CLIENT_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_036_check_interface_ODU4_CLIENT_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_037_check_interface_ODU4_NETWORK_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_038_check_ODU4_connection_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_039_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_040_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_041_create_100GE_service_2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_042_get_100GE_service_2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_043_check_service_list 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_044_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_045_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_046_delete_100GE_service_2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_047_delete_100GE_service_1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_048_check_service_list 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_049_check_no_ODU4_connection_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_050_check_no_interface_ODU4_NETWORK_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_051_check_no_interface_ODU4_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_052_check_no_interface_100GE_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_053_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_054_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_055_create_100GE_service_3 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_056_get_100GE_service_3 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_057_check_service_list 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_058_check_interface_100GE_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_059_check_interface_ODU4_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_060_check_interface_ODU4_NETWORK_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_061_check_ODU4_connection_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_062_check_interface_100GE_CLIENT_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_063_check_interface_ODU4_CLIENT_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_064_check_interface_ODU4_NETWORK_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_065_check_ODU4_connection_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_066_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_067_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_068_delete_100GE_service_3 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_069_delete_ODUC4_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_070_check_service_list 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_071_check_no_interface_ODU4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_072_check_otn_topo_links 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_073_check_otn_topo_tp 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_074_delete_OTUC4_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_075_get_no_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_076_check_no_interface_OTUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_077_check_no_interface_OTSI_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_078_check_no_interface_OTSIG_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_079_getLinks_OtnTopology 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_080_check_openroadm_topo_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_081_check_openroadm_topology 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_082_connect_xpdra2_1_N1_to_roadma_PP2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_083_connect_roadma_PP2_to_xpdra2_1_N1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_084_connect_xpdrc2_1_N1_to_roadmc_PP2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_085_connect_roadmc_PP2_to_xpdrc2_1_N1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_086_create_400GE_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_087_get_400GE_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_088_check_xc1_roadma 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_089_check_topo_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_090_check_topo_roadma_SRG1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_091_check_topo_roadma_DEG1 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_092_check_interface_400GE_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_093_check_interface_OTSI_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_094_check_interface_OTSI_GROUP_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_095_check_interface_OTUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_096_check_interface_ODUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_097_check_interface_ODUFLEX_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_098_delete_400GE_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_099_get_no_service 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_100_check_no_interface_ODUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_101_check_no_interface_OTUC4_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_102_check_no_interface_OTSI_GROUP_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_103_check_no_interface_OTSI_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_104_check_no_interface_400GE_CLIENT_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_105_disconnect_xponders_from_roadm 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_106_disconnect_xpdra2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_107_disconnect_xpdrc2 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_108_disconnect_roadmA 11:05:18 ERROR transportpce_tests/hybrid/test02_B100G_end2end.py::TestTransportPCEB100GEndtoend::test_109_disconnect_roadmC 11:05:18 109 errors in 150.44s (0:02:30) 11:05:18 tests_hybrid: exit 1 (494.88 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=18141 11:05:19 . [100%] 11:05:21 62 passed in 167.73s (0:02:47) 11:05:21 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 11:05:57 ................................................ [100%] 11:07:42 48 passed in 140.67s (0:02:20) 11:07:42 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 11:08:10 ...................... [100%] 11:08:59 22 passed in 76.20s (0:01:16) 11:08:59 tests_hybrid: FAIL ✖ in 8 minutes 42.17 seconds 11:08:59 buildcontroller: OK (116.27=setup[8.19]+cmd[108.07] seconds) 11:08:59 sims: OK (64.26=setup[61.95]+cmd[2.31] seconds) 11:08:59 testsPCE: OK (287.96=setup[52.77]+cmd[235.19] seconds) 11:08:59 build_karaf_tests221: OK (95.74=setup[7.93]+cmd[87.81] seconds) 11:08:59 tests_tapi: OK (1537.98=setup[7.80]+cmd[1530.18] seconds) 11:08:59 tests221: FAIL code 1 (128.97=setup[7.59]+cmd[121.39] seconds) 11:08:59 build_karaf_tests71: OK (86.88=setup[7.97]+cmd[78.91] seconds) 11:08:59 tests71: OK (443.15=setup[8.45]+cmd[434.71] seconds) 11:08:59 build_karaf_tests200: OK (96.63=setup[7.85]+cmd[88.78] seconds) 11:08:59 tests200: FAIL code 1 (428.33=setup[7.59]+cmd[420.74] seconds) 11:08:59 tests_hybrid: FAIL code 1 (522.16=setup[27.28]+cmd[494.88] seconds) 11:08:59 buildlighty: OK (47.89=setup[7.89]+cmd[40.01] seconds) 11:08:59 docs: OK (20.78=setup[17.07]+cmd[3.71] seconds) 11:08:59 docs-linkcheck: OK (20.90=setup[16.68]+cmd[4.21] seconds) 11:08:59 checkbashisms: OK (3.17=setup[1.80]+cmd[0.01,0.05,1.31] seconds) 11:08:59 pre-commit: OK (70.75=setup[3.16]+cmd[0.01,0.00,58.75,8.83] seconds) 11:08:59 pylint: OK (28.86=setup[3.52]+cmd[25.34] seconds) 11:08:59 evaluation failed :( (2910.38 seconds) 11:08:59 + tox_status=1 11:08:59 + echo '---> Completed tox runs' 11:08:59 ---> Completed tox runs 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/build_karaf_tests200/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=build_karaf_tests200 11:08:59 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/build_karaf_tests221/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=build_karaf_tests221 11:08:59 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/build_karaf_tests71/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=build_karaf_tests71 11:08:59 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/buildcontroller/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=buildcontroller 11:08:59 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/buildlighty/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=buildlighty 11:08:59 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/checkbashisms/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=checkbashisms 11:08:59 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/docs-linkcheck/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=docs-linkcheck 11:08:59 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/docs/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=docs 11:08:59 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/pre-commit/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=pre-commit 11:08:59 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 11:08:59 + for i in .tox/*/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 ++ echo .tox/pylint/log 11:08:59 + tox_env=pylint 11:08:59 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/sims/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=sims 11:08:59 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/tests200/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=tests200 11:08:59 + cp -r .tox/tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests200 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/tests221/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=tests221 11:08:59 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/tests71/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=tests71 11:08:59 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/testsPCE/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=testsPCE 11:08:59 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/tests_hybrid/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=tests_hybrid 11:08:59 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 11:08:59 + for i in .tox/*/log 11:08:59 ++ echo .tox/tests_tapi/log 11:08:59 ++ awk -F/ '{print $2}' 11:08:59 + tox_env=tests_tapi 11:08:59 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 11:08:59 + DOC_DIR=docs/_build/html 11:08:59 + [[ -d docs/_build/html ]] 11:08:59 + echo '---> Archiving generated docs' 11:08:59 ---> Archiving generated docs 11:08:59 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 11:08:59 + echo '---> tox-run.sh ends' 11:08:59 ---> tox-run.sh ends 11:08:59 + test 1 -eq 0 11:08:59 + exit 1 11:08:59 ++ '[' 1 = 1 ']' 11:08:59 ++ '[' -x /usr/bin/clear_console ']' 11:08:59 ++ /usr/bin/clear_console -q 11:08:59 Build step 'Execute shell' marked build as failure 11:08:59 $ ssh-agent -k 11:08:59 unset SSH_AUTH_SOCK; 11:08:59 unset SSH_AGENT_PID; 11:08:59 echo Agent pid 1554 killed; 11:08:59 [ssh-agent] Stopped. 11:08:59 [PostBuildScript] - [INFO] Executing post build scripts. 11:08:59 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5220418247928124477.sh 11:08:59 ---> sysstat.sh 11:09:00 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5003449410767711813.sh 11:09:00 ---> package-listing.sh 11:09:00 ++ facter osfamily 11:09:00 ++ tr '[:upper:]' '[:lower:]' 11:09:00 + OS_FAMILY=debian 11:09:00 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 11:09:00 + START_PACKAGES=/tmp/packages_start.txt 11:09:00 + END_PACKAGES=/tmp/packages_end.txt 11:09:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:09:00 + PACKAGES=/tmp/packages_start.txt 11:09:00 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 11:09:00 + PACKAGES=/tmp/packages_end.txt 11:09:00 + case "${OS_FAMILY}" in 11:09:00 + dpkg -l 11:09:00 + grep '^ii' 11:09:00 + '[' -f /tmp/packages_start.txt ']' 11:09:00 + '[' -f /tmp/packages_end.txt ']' 11:09:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:09:00 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 11:09:00 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 11:09:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 11:09:00 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15189924582787237597.sh 11:09:00 ---> capture-instance-metadata.sh 11:09:00 Setup pyenv: 11:09:00 system 11:09:00 3.8.20 11:09:00 3.9.20 11:09:00 3.10.15 11:09:00 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:09:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5bTp from file:/tmp/.os_lf_venv 11:09:00 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:09:00 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:09:02 lf-activate-venv(): INFO: Base packages installed successfully 11:09:02 lf-activate-venv(): INFO: Installing additional packages: lftools 11:09:15 lf-activate-venv(): INFO: Adding /tmp/venv-5bTp/bin to PATH 11:09:15 INFO: Running in OpenStack, capturing instance metadata 11:09:16 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13788175945784401811.sh 11:09:16 provisioning config files... 11:09:16 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #5937 11:09:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config3284280572658075925tmp 11:09:16 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 11:09:16 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 11:09:16 provisioning config files... 11:09:16 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 11:09:16 [EnvInject] - Injecting environment variables from a build step. 11:09:16 [EnvInject] - Injecting as environment variables the properties content 11:09:16 SERVER_ID=logs 11:09:16 11:09:16 [EnvInject] - Variables injected successfully. 11:09:16 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13195925720408892333.sh 11:09:16 ---> create-netrc.sh 11:09:16 WARN: Log server credential not found. 11:09:16 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3013612936427537442.sh 11:09:16 ---> python-tools-install.sh 11:09:16 Setup pyenv: 11:09:16 system 11:09:17 3.8.20 11:09:17 3.9.20 11:09:17 3.10.15 11:09:17 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:09:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5bTp from file:/tmp/.os_lf_venv 11:09:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:09:17 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:09:19 lf-activate-venv(): INFO: Base packages installed successfully 11:09:19 lf-activate-venv(): INFO: Installing additional packages: lftools 11:09:28 lf-activate-venv(): INFO: Adding /tmp/venv-5bTp/bin to PATH 11:09:28 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins16157805126102713487.sh 11:09:28 ---> uv-install.sh 11:09:28 uv 0.12.3 is already installed 11:09:28 uvx 0.12.3 (x86_64-unknown-linux-gnu) 11:09:28 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins18292457101458698879.sh 11:09:28 ---> sudo-logs.sh 11:09:28 Archiving 'sudo' log.. 11:09:29 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12341205065318532942.sh 11:09:29 ---> job-cost.sh 11:09:29 INFO: Activating Python virtual environment... 11:09:29 Setup pyenv: 11:09:29 system 11:09:29 3.8.20 11:09:29 3.9.20 11:09:29 3.10.15 11:09:29 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:09:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5bTp from file:/tmp/.os_lf_venv 11:09:29 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:09:29 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:09:31 lf-activate-venv(): INFO: Base packages installed successfully 11:09:31 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:09:38 lf-activate-venv(): INFO: Adding /tmp/venv-5bTp/bin to PATH 11:09:38 INFO: No stack-cost file found 11:09:38 INFO: Instance uptime: 3102s 11:09:38 INFO: Fetching instance metadata (attempt 1 of 3)... 11:09:38 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 11:09:38 INFO: Successfully fetched instance metadata 11:09:38 INFO: Instance type: v3-standard-4 11:09:38 INFO: Retrieving pricing info for: v3-standard-4 11:09:38 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 11:09:38 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=3102 11:09:38 INFO: Successfully fetched Vexxhost pricing API 11:09:38 INFO: Retrieved cost: 0.11 11:09:38 INFO: Retrieved resource: v3-standard-4 11:09:38 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 11:09:38 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 11:09:38 INFO: Successfully archived job cost data 11:09:38 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,5937,2026-08-12 11:09:38,v3-standard-4,3102,0.11,0.00,FAILURE 11:09:38 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11694524150669266190.sh 11:09:38 ---> logs-deploy.sh 11:09:38 Setup pyenv: 11:09:38 system 11:09:38 3.8.20 11:09:38 3.9.20 11:09:38 3.10.15 11:09:38 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:09:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5bTp from file:/tmp/.os_lf_venv 11:09:38 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:09:38 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:09:40 lf-activate-venv(): INFO: Base packages installed successfully 11:09:40 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 11:09:50 lf-activate-venv(): INFO: Adding /tmp/venv-5bTp/bin to PATH 11:09:50 WARNING: Nexus logging server not set 11:09:50 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/5937/ 11:09:50 INFO: archiving logs to S3 11:09:52 ---> uname -a: 11:09:52 Linux prd-ubuntu2204-docker-4c-16g-36182 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 11:09:52 11:09:52 11:09:52 ---> lscpu: 11:09:52 Architecture: x86_64 11:09:52 CPU op-mode(s): 32-bit, 64-bit 11:09:52 Address sizes: 40 bits physical, 48 bits virtual 11:09:52 Byte Order: Little Endian 11:09:52 CPU(s): 4 11:09:52 On-line CPU(s) list: 0-3 11:09:52 Vendor ID: AuthenticAMD 11:09:52 Model name: AMD EPYC-Rome Processor 11:09:52 CPU family: 23 11:09:52 Model: 49 11:09:52 Thread(s) per core: 1 11:09:52 Core(s) per socket: 1 11:09:52 Socket(s): 4 11:09:52 Stepping: 0 11:09:52 BogoMIPS: 5599.99 11:09:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 11:09:52 Virtualization: AMD-V 11:09:52 Hypervisor vendor: KVM 11:09:52 Virtualization type: full 11:09:52 L1d cache: 128 KiB (4 instances) 11:09:52 L1i cache: 128 KiB (4 instances) 11:09:52 L2 cache: 2 MiB (4 instances) 11:09:52 L3 cache: 64 MiB (4 instances) 11:09:52 NUMA node(s): 1 11:09:52 NUMA node0 CPU(s): 0-3 11:09:52 Vulnerability Gather data sampling: Not affected 11:09:52 Vulnerability Indirect target selection: Not affected 11:09:52 Vulnerability Itlb multihit: Not affected 11:09:52 Vulnerability L1tf: Not affected 11:09:52 Vulnerability Mds: Not affected 11:09:52 Vulnerability Meltdown: Not affected 11:09:52 Vulnerability Mmio stale data: Not affected 11:09:52 Vulnerability Reg file data sampling: Not affected 11:09:52 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 11:09:52 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 11:09:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:09:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:09:52 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 11:09:52 Vulnerability Srbds: Not affected 11:09:52 Vulnerability Tsa: Not affected 11:09:52 Vulnerability Tsx async abort: Not affected 11:09:52 Vulnerability Vmscape: Not affected 11:09:52 11:09:52 11:09:52 ---> nproc: 11:09:52 4 11:09:52 11:09:52 11:09:52 ---> df -h: 11:09:52 Filesystem Size Used Avail Use% Mounted on 11:09:52 tmpfs 1.6G 1.1M 1.6G 1% /run 11:09:52 /dev/vda1 78G 16G 62G 21% / 11:09:52 tmpfs 7.9G 0 7.9G 0% /dev/shm 11:09:52 tmpfs 5.0M 0 5.0M 0% /run/lock 11:09:52 /dev/vda15 105M 6.1M 99M 6% /boot/efi 11:09:52 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 11:09:52 11:09:52 11:09:52 ---> free -m: 11:09:52 total used free shared buff/cache available 11:09:52 Mem: 15989 737 5999 3 9252 14909 11:09:52 Swap: 1023 0 1023 11:09:52 11:09:52 11:09:52 ---> ip addr: 11:09:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:09:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:09:52 inet 127.0.0.1/8 scope host lo 11:09:52 valid_lft forever preferred_lft forever 11:09:52 inet6 ::1/128 scope host 11:09:52 valid_lft forever preferred_lft forever 11:09:52 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:09:52 link/ether fa:16:3e:41:58:34 brd ff:ff:ff:ff:ff:ff 11:09:52 altname enp0s3 11:09:52 inet 10.30.171.99/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 11:09:52 valid_lft 83292sec preferred_lft 83292sec 11:09:52 inet6 fe80::f816:3eff:fe41:5834/64 scope link 11:09:52 valid_lft forever preferred_lft forever 11:09:52 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 11:09:52 link/ether 9a:d0:3a:76:56:12 brd ff:ff:ff:ff:ff:ff 11:09:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:09:52 valid_lft forever preferred_lft forever 11:09:52 inet6 fe80::98d0:3aff:fe76:5612/64 scope link 11:09:52 valid_lft forever preferred_lft forever 11:09:52 11:09:52 11:09:52 ---> sar -b -r -n DEV: 11:09:52 Linux 5.15.0-186-generic (prd-ubuntu2204-docker-4c-16g-36182) 08/12/26 _x86_64_ (4 CPU) 11:09:52 11:09:52 10:18:07 LINUX RESTART (4 CPU) 11:09:52 11:09:52 10:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:09:52 10:30:01 106.54 8.73 93.15 4.66 1016.89 31075.61 9699.83 11:09:52 10:40:12 9.19 0.49 8.23 0.46 27.50 293.91 902.65 11:09:52 10:50:01 8.20 0.01 7.73 0.47 0.04 280.66 741.89 11:09:52 11:00:01 15.82 0.74 14.11 0.96 9.03 1874.17 589.38 11:09:52 Average: 34.91 2.49 30.79 1.64 263.24 8373.16 2981.90 11:09:52 11:09:52 10:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:09:52 10:30:01 171076 9150904 6776668 41.39 231024 8573624 8838980 50.74 1960200 13514412 760 11:09:52 10:40:12 1869160 10053012 5875604 35.89 231968 7788008 6920252 39.72 2024244 11757636 468 11:09:52 10:50:01 1460832 9661796 6265804 38.27 233692 7803420 7006196 40.22 2030844 12152296 52 11:09:52 11:00:01 999596 9662476 6263052 38.25 248024 8230020 6900808 39.61 2098788 12528744 368 11:09:52 Average: 1125166 9632047 6295282 38.45 236177 8098768 7416559 42.57 2028519 12488272 412 11:09:52 11:09:52 10:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:09:52 10:30:01 lo 3.28 3.28 2.36 2.36 0.00 0.00 0.00 0.00 11:09:52 10:30:01 ens3 120.50 94.38 1809.35 10.39 0.00 0.00 0.00 0.00 11:09:52 10:30:01 docker0 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 11:09:52 10:40:12 lo 17.73 17.73 10.74 10.74 0.00 0.00 0.00 0.00 11:09:52 10:40:12 ens3 0.93 0.53 0.25 0.17 0.00 0.00 0.00 0.00 11:09:52 10:40:12 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:52 10:50:01 lo 10.95 10.95 7.19 7.19 0.00 0.00 0.00 0.00 11:09:52 10:50:01 ens3 1.43 0.71 0.45 0.30 0.00 0.00 0.00 0.00 11:09:52 10:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:52 11:00:01 lo 14.05 14.05 7.16 7.16 0.00 0.00 0.00 0.00 11:09:52 11:00:01 ens3 1.46 1.20 0.48 1.72 0.00 0.00 0.00 0.00 11:09:52 11:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:52 Average: lo 11.54 11.54 6.88 6.88 0.00 0.00 0.00 0.00 11:09:52 Average: ens3 31.05 24.18 452.16 3.14 0.00 0.00 0.00 0.00 11:09:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:52 11:09:52 11:09:52 ---> sar -P ALL: 11:09:52 Linux 5.15.0-186-generic (prd-ubuntu2204-docker-4c-16g-36182) 08/12/26 _x86_64_ (4 CPU) 11:09:52 11:09:52 10:18:07 LINUX RESTART (4 CPU) 11:09:52 11:09:52 10:20:01 CPU %user %nice %system %iowait %steal %idle 11:09:52 10:30:01 all 42.35 0.00 2.42 4.74 0.12 50.37 11:09:52 10:30:01 0 39.02 0.00 2.45 4.96 0.12 53.46 11:09:52 10:30:01 1 45.17 0.00 2.45 5.02 0.11 47.25 11:09:52 10:30:01 2 45.57 0.00 2.56 5.76 0.12 45.99 11:09:52 10:30:01 3 39.63 0.00 2.24 3.20 0.13 54.81 11:09:52 10:40:12 all 18.37 0.00 0.71 0.05 0.12 80.75 11:09:52 10:40:12 0 18.25 0.00 0.71 0.03 0.11 80.90 11:09:52 10:40:12 1 18.85 0.00 0.75 0.12 0.12 80.16 11:09:52 10:40:12 2 18.10 0.00 0.80 0.05 0.12 80.94 11:09:52 10:40:12 3 18.29 0.00 0.58 0.02 0.11 80.99 11:09:52 10:50:01 all 17.59 0.00 0.76 0.05 0.11 81.50 11:09:52 10:50:01 0 18.14 0.00 0.75 0.04 0.11 80.97 11:09:52 10:50:01 1 16.75 0.00 0.79 0.04 0.12 82.30 11:09:52 10:50:01 2 17.32 0.00 0.67 0.05 0.11 81.85 11:09:52 10:50:01 3 18.13 0.00 0.83 0.06 0.11 80.87 11:09:52 11:00:01 all 17.76 0.00 0.82 4.16 0.12 77.14 11:09:52 11:00:01 0 18.17 0.00 0.87 3.53 0.11 77.32 11:09:52 11:00:01 1 17.72 0.00 0.81 3.01 0.12 78.34 11:09:52 11:00:01 2 18.46 0.00 0.81 6.21 0.12 74.40 11:09:52 11:00:01 3 16.69 0.00 0.79 3.90 0.12 78.51 11:09:52 Average: all 24.02 0.00 1.18 2.25 0.12 72.44 11:09:52 Average: 0 23.39 0.00 1.19 2.14 0.11 73.17 11:09:52 Average: 1 24.63 0.00 1.20 2.05 0.12 72.00 11:09:52 Average: 2 24.86 0.00 1.21 3.01 0.12 70.79 11:09:52 Average: 3 23.18 0.00 1.11 1.79 0.12 73.80 11:09:52 11:09:52 11:09:52