08:15:22 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/122176 08:15:22 Running as SYSTEM 08:15:22 [EnvInject] - Loading node environment variables. 08:15:22 Building remotely on prd-ubuntu2204-docker-4c-16g-30427 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 08:15:22 [ssh-agent] Looking for ssh-agent implementation... 08:15:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:22 $ ssh-agent 08:15:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXyU94GH/agent.1545 08:15:22 SSH_AGENT_PID=1547 08:15:22 [ssh-agent] Started. 08:15:22 Running ssh-add (command line suppressed) 08:15:22 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_8815116947286146015.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_8815116947286146015.key) 08:15:22 [ssh-agent] Using credentials jenkins (jenkins-ssh) 08:15:22 The recommended git tool is: NONE 08:15:24 using credential jenkins-ssh 08:15:24 Wiping out workspace first. 08:15:24 Cloning the remote Git repository 08:15:24 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 08:15:24 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 08:15:24 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 08:15:24 > git --version # timeout=10 08:15:24 > git --version # 'git version 2.34.1' 08:15:24 using GIT_SSH to set credentials jenkins-ssh 08:15:24 Verifying host key using known hosts file, will automatically accept unseen keys 08:15:24 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:28 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 08:15:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:29 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 08:15:29 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 08:15:29 using GIT_SSH to set credentials jenkins-ssh 08:15:29 Verifying host key using known hosts file, will automatically accept unseen keys 08:15:29 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/76/122176/6 # timeout=10 08:15:29 > git rev-parse 26e05a802a2768f235ed879dcbc52e0accc182a9^{commit} # timeout=10 08:15:29 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 08:15:29 Checking out Revision 26e05a802a2768f235ed879dcbc52e0accc182a9 (refs/changes/76/122176/6) 08:15:29 > git config core.sparsecheckout # timeout=10 08:15:29 > git checkout -f 26e05a802a2768f235ed879dcbc52e0accc182a9 # timeout=10 08:15:29 Commit message: "Functional tests for oc200" 08:15:29 > git rev-parse FETCH_HEAD^{commit} # timeout=10 08:15:29 > git rev-list --no-walk 458052d9029bcefdc3020128cba735daca4dc330 # timeout=10 08:15:29 > git remote # timeout=10 08:15:29 > git submodule init # timeout=10 08:15:29 > git submodule sync # timeout=10 08:15:29 > git config --get remote.origin.url # timeout=10 08:15:29 > git submodule init # timeout=10 08:15:29 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 08:15:29 ERROR: No submodules found. 08:15:33 provisioning config files... 08:15:33 copy managed file [npmrc] to file:/home/jenkins/.npmrc 08:15:33 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 08:15:33 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins354451267916470157.sh 08:15:33 ---> python-tools-install.sh 08:15:33 Setup pyenv: 08:15:33 * system (set by /opt/pyenv/version) 08:15:33 * 3.8.20 (set by /opt/pyenv/version) 08:15:33 * 3.9.20 (set by /opt/pyenv/version) 08:15:33 3.10.15 08:15:33 3.11.10 08:15:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cqri 08:15:37 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 08:15:37 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:15:37 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:15:42 lf-activate-venv(): INFO: Base packages installed successfully 08:15:42 lf-activate-venv(): INFO: Installing additional packages: lftools 08:16:06 lf-activate-venv(): INFO: Adding /tmp/venv-cqri/bin to PATH 08:16:06 Generating Requirements File 08:16:33 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. 08:16:33 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 08:16:33 Python 3.11.10 08:16:33 pip 26.1.2 from /tmp/venv-cqri/lib/python3.11/site-packages/pip (python 3.11) 08:16:34 aiohappyeyeballs==2.6.2 08:16:34 aiohttp==3.14.1 08:16:34 aiosignal==1.4.0 08:16:34 appdirs==1.4.4 08:16:34 argcomplete==3.6.3 08:16:34 aspy.yaml==1.3.0 08:16:34 attrs==26.1.0 08:16:34 autopage==0.6.0 08:16:34 beautifulsoup4==4.15.0 08:16:34 boto3==1.43.36 08:16:34 botocore==1.43.36 08:16:34 bs4==0.0.2 08:16:34 certifi==2026.6.17 08:16:34 cffi==2.0.0 08:16:34 cfgv==3.5.0 08:16:34 chardet==7.4.3 08:16:34 charset-normalizer==3.4.7 08:16:34 click==8.4.2 08:16:34 cliff==4.14.0 08:16:34 cmd2==4.0.0 08:16:34 cryptography==3.3.2 08:16:34 debtcollector==3.1.0 08:16:34 decorator==5.3.1 08:16:34 defusedxml==0.7.1 08:16:34 Deprecated==1.3.1 08:16:34 distlib==0.4.3 08:16:34 dnspython==2.8.0 08:16:34 docker==7.1.0 08:16:34 dogpile.cache==1.5.0 08:16:34 durationpy==0.10 08:16:34 email-validator==2.3.0 08:16:34 filelock==3.29.4 08:16:34 frozenlist==1.8.0 08:16:34 future==1.0.0 08:16:34 gitdb==4.0.12 08:16:34 GitPython==3.1.50 08:16:34 httplib2==0.30.2 08:16:34 identify==2.6.19 08:16:34 idna==3.18 08:16:34 importlib-resources==1.5.0 08:16:34 iso8601==2.1.0 08:16:34 Jinja2==3.1.6 08:16:34 jmespath==1.1.0 08:16:34 jsonpatch==1.33 08:16:34 jsonpointer==3.1.1 08:16:34 jsonschema==4.26.0 08:16:34 jsonschema-specifications==2025.9.1 08:16:34 keystoneauth1==5.14.0 08:16:34 kubernetes==36.0.2 08:16:34 lftools==0.37.22 08:16:34 lxml==6.1.1 08:16:34 markdown-it-py==4.2.0 08:16:34 MarkupSafe==3.0.3 08:16:34 mdurl==0.1.2 08:16:34 msgpack==1.2.1 08:16:34 multi_key_dict==2.0.3 08:16:34 multidict==6.7.1 08:16:34 munch==4.0.0 08:16:34 netaddr==1.3.0 08:16:34 niet==1.4.2 08:16:34 nodeenv==1.10.0 08:16:34 oauth2client==4.1.3 08:16:34 oauthlib==3.3.1 08:16:34 openstacksdk==4.17.0 08:16:34 os-service-types==1.8.2 08:16:34 osc-lib==4.6.0 08:16:34 oslo.config==10.5.0 08:16:34 oslo.context==6.4.0 08:16:34 oslo.i18n==6.8.0 08:16:34 oslo.log==8.2.0 08:16:34 oslo.serialization==5.10.0 08:16:34 oslo.utils==10.1.1 08:16:34 packaging==26.2 08:16:34 pbr==7.0.3 08:16:34 platformdirs==4.10.0 08:16:34 prettytable==3.18.0 08:16:34 prompt_toolkit==3.0.52 08:16:34 propcache==0.5.2 08:16:34 psutil==7.2.2 08:16:34 pyasn1==0.6.3 08:16:34 pyasn1_modules==0.4.2 08:16:34 pycparser==3.0 08:16:34 pygerrit2==2.0.15 08:16:34 PyGithub==2.9.1 08:16:34 Pygments==2.20.0 08:16:34 PyJWT==2.13.0 08:16:34 PyNaCl==1.6.2 08:16:34 pyparsing==2.4.7 08:16:34 pyperclip==1.11.0 08:16:34 pyrsistent==0.20.0 08:16:34 python-cinderclient==9.9.0 08:16:34 python-dateutil==2.9.0.post0 08:16:34 python-discovery==1.4.2 08:16:34 python-heatclient==5.2.0 08:16:34 python-jenkins==1.8.3 08:16:34 python-keystoneclient==5.8.0 08:16:34 python-magnumclient==4.10.0 08:16:34 python-openstackclient==10.1.0 08:16:34 python-swiftclient==4.10.0 08:16:34 PyYAML==6.0.3 08:16:34 referencing==0.37.0 08:16:34 requests==2.34.2 08:16:34 requests-oauthlib==2.0.0 08:16:34 rfc3986==2.0.0 08:16:34 rich==15.0.0 08:16:34 rich-argparse==1.8.0 08:16:34 rpds-py==2026.5.1 08:16:34 rsa==4.9.1 08:16:34 ruamel.yaml==0.19.1 08:16:34 ruamel.yaml.clib==0.2.15 08:16:34 s3transfer==0.19.0 08:16:34 simplejson==4.1.1 08:16:34 six==1.17.0 08:16:34 smmap==5.0.3 08:16:34 soupsieve==2.8.4 08:16:34 stevedore==5.8.0 08:16:34 tabulate==0.10.0 08:16:34 toml==0.10.2 08:16:34 tomlkit==0.15.0 08:16:34 tqdm==4.68.3 08:16:34 typing_extensions==4.15.0 08:16:34 urllib3==1.26.20 08:16:34 virtualenv==21.5.1 08:16:34 wcwidth==0.8.1 08:16:34 websocket-client==1.9.0 08:16:34 wrapt==2.2.2 08:16:34 xdg==6.0.0 08:16:34 xmltodict==1.0.4 08:16:34 yarl==1.24.2 08:16:34 yq==3.4.3 08:16:34 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins17795423964190645296.sh 08:16:34 ---> uv-install.sh 08:16:34 Installing uv/uvx (latest) using shell installer 08:16:34 2026-06-25 08:16:34 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71233/71233] -> "/tmp/uv-install-9V9Fqz.sh" [1] 08:16:34 downloading uv 0.11.24 x86_64-unknown-linux-gnu 08:16:35 installing to /home/jenkins/.local/bin 08:16:35 uv 08:16:35 uvx 08:16:35 everything's installed! 08:16:35 08:16:35 To add $HOME/.local/bin to your PATH, either restart your shell or run: 08:16:35 08:16:35 source $HOME/.local/bin/env (sh, bash, zsh) 08:16:35 source $HOME/.local/bin/env.fish (fish) 08:16:35 Adding install location to PATH 08:16:35 ---> Validating uv/uvx install 08:16:35 uvx 0.11.24 (x86_64-unknown-linux-gnu) 08:16:35 [EnvInject] - Injecting environment variables from a build step. 08:16:35 [EnvInject] - Injecting as environment variables the properties content 08:16:35 PYTHON=python3 08:16:35 08:16:35 [EnvInject] - Variables injected successfully. 08:16:35 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11238055688265186748.sh 08:16:35 ---> tox-install.sh 08:16:35 + source /home/jenkins/lf-env.sh 08:16:35 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 08:16:35 ++ mktemp -d /tmp/venv-XXXX 08:16:35 + lf_venv=/tmp/venv-mSEp 08:16:35 + local venv_file=/tmp/.os_lf_venv 08:16:35 + local python=python3 08:16:35 + local options 08:16:35 + local set_path=true 08:16:35 + local install_args= 08:16:35 ++ 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 08:16:35 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 08:16:35 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 08:16:35 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 08:16:35 + true 08:16:35 + case $1 in 08:16:35 + venv_file=/tmp/.toxenv 08:16:35 + shift 2 08:16:35 + true 08:16:35 + case $1 in 08:16:35 + shift 08:16:35 + break 08:16:35 + case $python in 08:16:35 + local pkg_list= 08:16:35 + [[ -d /opt/pyenv ]] 08:16:35 + echo 'Setup pyenv:' 08:16:35 Setup pyenv: 08:16:35 + export PYENV_ROOT=/opt/pyenv 08:16:35 + PYENV_ROOT=/opt/pyenv 08:16:35 + 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 08:16:35 + 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 08:16:35 + pyenv versions 08:16:35 system 08:16:35 3.8.20 08:16:35 3.9.20 08:16:35 3.10.15 08:16:35 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:16:35 + command -v pyenv 08:16:35 ++ pyenv init - --no-rehash 08:16:35 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 08:16:35 for i in ${!paths[@]}; do 08:16:35 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 08:16:35 fi; done; 08:16:35 echo "${paths[*]}"'\'')" 08:16:35 export PATH="/opt/pyenv/shims:${PATH}" 08:16:35 export PYENV_SHELL=bash 08:16:35 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 08:16:35 pyenv() { 08:16:35 local command 08:16:35 command="${1:-}" 08:16:35 if [ "$#" -gt 0 ]; then 08:16:35 shift 08:16:35 fi 08:16:35 08:16:35 case "$command" in 08:16:35 rehash|shell) 08:16:35 eval "$(pyenv "sh-$command" "$@")" 08:16:35 ;; 08:16:35 *) 08:16:35 command pyenv "$command" "$@" 08:16:35 ;; 08:16:35 esac 08:16:35 }' 08:16:35 +++ bash --norc -ec 'IFS=:; paths=($PATH); 08:16:35 for i in ${!paths[@]}; do 08:16:35 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 08:16:35 fi; done; 08:16:35 echo "${paths[*]}"' 08:16:35 ++ 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 08:16:35 ++ 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 08:16:35 ++ 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 08:16:35 ++ export PYENV_SHELL=bash 08:16:35 ++ PYENV_SHELL=bash 08:16:35 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 08:16:35 +++ complete -F _pyenv pyenv 08:16:35 ++ lf-pyver python3 08:16:35 ++ local py_version_xy=python3 08:16:35 ++ local py_version_xyz= 08:16:35 ++ pyenv versions 08:16:35 ++ local command 08:16:35 ++ sed 's/^[ *]* //' 08:16:35 ++ command=versions 08:16:35 ++ '[' 1 -gt 0 ']' 08:16:35 ++ shift 08:16:35 ++ case "$command" in 08:16:35 ++ command pyenv versions 08:16:35 ++ grep -E '^[0-9.]*[0-9]$' 08:16:35 ++ awk '{ print $1 }' 08:16:35 ++ [[ ! -s /tmp/.pyenv_versions ]] 08:16:35 +++ grep '^3' /tmp/.pyenv_versions 08:16:35 +++ tail -n 1 08:16:35 +++ sort -V 08:16:35 ++ py_version_xyz=3.11.10 08:16:35 ++ [[ -z 3.11.10 ]] 08:16:35 ++ echo 3.11.10 08:16:35 ++ return 0 08:16:35 + pyenv local 3.11.10 08:16:35 + local command 08:16:35 + command=local 08:16:35 + '[' 2 -gt 0 ']' 08:16:35 + shift 08:16:35 + case "$command" in 08:16:35 + command pyenv local 3.11.10 08:16:35 + for arg in "$@" 08:16:35 + case $arg in 08:16:35 + pkg_list+='tox ' 08:16:35 + for arg in "$@" 08:16:35 + case $arg in 08:16:35 + pkg_list+='virtualenv ' 08:16:35 + for arg in "$@" 08:16:35 + case $arg in 08:16:35 + pkg_list+='urllib3~=1.26.15 ' 08:16:35 + [[ -f /tmp/.toxenv ]] 08:16:35 + [[ ! -f /tmp/.toxenv ]] 08:16:35 + [[ -n '' ]] 08:16:35 + python3 -m venv /tmp/venv-mSEp 08:16:39 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mSEp' 08:16:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mSEp 08:16:39 + echo /tmp/venv-mSEp 08:16:39 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 08:16:39 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 08:16:39 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 08:16:39 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:16:39 + local 'pip_opts=--upgrade --quiet' 08:16:39 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 08:16:39 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 08:16:39 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 08:16:39 + [[ -n '' ]] 08:16:39 + [[ -n '' ]] 08:16:39 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 08:16:39 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:16:39 + /tmp/venv-mSEp/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 08:16:44 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 08:16:44 lf-activate-venv(): INFO: Base packages installed successfully 08:16:44 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 08:16:44 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 08:16:44 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 08:16:44 + /tmp/venv-mSEp/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 08:16:46 + type python3 08:16:46 + true 08:16:46 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mSEp/bin to PATH' 08:16:46 lf-activate-venv(): INFO: Adding /tmp/venv-mSEp/bin to PATH 08:16:46 + PATH=/tmp/venv-mSEp/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 08:16:46 + return 0 08:16:46 + python3 --version 08:16:46 Python 3.11.10 08:16:46 + python3 -m pip --version 08:16:46 pip 26.1.2 from /tmp/venv-mSEp/lib/python3.11/site-packages/pip (python 3.11) 08:16:46 + python3 -m pip freeze 08:16:46 cachetools==7.1.4 08:16:46 colorama==0.4.6 08:16:46 distlib==0.4.3 08:16:46 filelock==3.29.4 08:16:46 packaging==26.2 08:16:46 platformdirs==4.10.0 08:16:46 pluggy==1.6.0 08:16:46 pyproject-api==1.10.1 08:16:46 python-discovery==1.4.2 08:16:46 tomli_w==1.2.0 08:16:46 tox==4.56.1 08:16:46 urllib3==1.26.20 08:16:46 virtualenv==21.5.1 08:16:46 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins18290498831060544110.sh 08:16:46 [EnvInject] - Injecting environment variables from a build step. 08:16:46 [EnvInject] - Injecting as environment variables the properties content 08:16:46 PARALLEL=True 08:16:46 08:16:46 [EnvInject] - Variables injected successfully. 08:16:46 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins18323898312851260419.sh 08:16:46 ---> tox-run.sh 08:16:46 + 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 08:16:46 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 08:16:46 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 08:16:46 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 08:16:46 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 08:16:46 + source /home/jenkins/lf-env.sh 08:16:46 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 08:16:46 ++ mktemp -d /tmp/venv-XXXX 08:16:46 + lf_venv=/tmp/venv-vwbA 08:16:46 + local venv_file=/tmp/.os_lf_venv 08:16:46 + local python=python3 08:16:46 + local options 08:16:46 + local set_path=true 08:16:46 + local install_args= 08:16:46 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 08:16:46 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 08:16:46 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 08:16:46 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 08:16:46 + true 08:16:46 + case $1 in 08:16:46 + venv_file=/tmp/.toxenv 08:16:46 + shift 2 08:16:46 + true 08:16:46 + case $1 in 08:16:46 + shift 08:16:46 + break 08:16:46 + case $python in 08:16:46 + local pkg_list= 08:16:46 + [[ -d /opt/pyenv ]] 08:16:46 + echo 'Setup pyenv:' 08:16:46 Setup pyenv: 08:16:46 + export PYENV_ROOT=/opt/pyenv 08:16:46 + PYENV_ROOT=/opt/pyenv 08:16:46 + 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 08:16:46 + 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 08:16:46 + pyenv versions 08:16:46 system 08:16:46 3.8.20 08:16:46 3.9.20 08:16:46 3.10.15 08:16:46 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 08:16:46 + command -v pyenv 08:16:46 ++ pyenv init - --no-rehash 08:16:46 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 08:16:46 for i in ${!paths[@]}; do 08:16:46 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 08:16:46 fi; done; 08:16:46 echo "${paths[*]}"'\'')" 08:16:46 export PATH="/opt/pyenv/shims:${PATH}" 08:16:46 export PYENV_SHELL=bash 08:16:46 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 08:16:46 pyenv() { 08:16:46 local command 08:16:46 command="${1:-}" 08:16:46 if [ "$#" -gt 0 ]; then 08:16:46 shift 08:16:46 fi 08:16:46 08:16:46 case "$command" in 08:16:46 rehash|shell) 08:16:46 eval "$(pyenv "sh-$command" "$@")" 08:16:46 ;; 08:16:46 *) 08:16:46 command pyenv "$command" "$@" 08:16:46 ;; 08:16:46 esac 08:16:46 }' 08:16:46 +++ bash --norc -ec 'IFS=:; paths=($PATH); 08:16:46 for i in ${!paths[@]}; do 08:16:46 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 08:16:46 fi; done; 08:16:46 echo "${paths[*]}"' 08:16:46 ++ 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 08:16:46 ++ 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 08:16:46 ++ 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 08:16:46 ++ export PYENV_SHELL=bash 08:16:46 ++ PYENV_SHELL=bash 08:16:46 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 08:16:46 +++ complete -F _pyenv pyenv 08:16:46 ++ lf-pyver python3 08:16:46 ++ local py_version_xy=python3 08:16:46 ++ local py_version_xyz= 08:16:46 ++ pyenv versions 08:16:46 ++ local command 08:16:46 ++ command=versions 08:16:46 ++ '[' 1 -gt 0 ']' 08:16:46 ++ shift 08:16:46 ++ case "$command" in 08:16:46 ++ command pyenv versions 08:16:46 ++ sed 's/^[ *]* //' 08:16:46 ++ grep -E '^[0-9.]*[0-9]$' 08:16:46 ++ awk '{ print $1 }' 08:16:46 ++ [[ ! -s /tmp/.pyenv_versions ]] 08:16:46 +++ grep '^3' /tmp/.pyenv_versions 08:16:46 +++ sort -V 08:16:46 +++ tail -n 1 08:16:46 ++ py_version_xyz=3.11.10 08:16:46 ++ [[ -z 3.11.10 ]] 08:16:46 ++ echo 3.11.10 08:16:46 ++ return 0 08:16:46 + pyenv local 3.11.10 08:16:46 + local command 08:16:46 + command=local 08:16:46 + '[' 2 -gt 0 ']' 08:16:46 + shift 08:16:46 + case "$command" in 08:16:46 + command pyenv local 3.11.10 08:16:46 + for arg in "$@" 08:16:46 + case $arg in 08:16:46 + pkg_list+='tox ' 08:16:46 + for arg in "$@" 08:16:46 + case $arg in 08:16:46 + pkg_list+='virtualenv ' 08:16:46 + for arg in "$@" 08:16:46 + case $arg in 08:16:46 + pkg_list+='urllib3~=1.26.15 ' 08:16:46 + [[ -f /tmp/.toxenv ]] 08:16:46 ++ cat /tmp/.toxenv 08:16:46 + lf_venv=/tmp/venv-mSEp 08:16:46 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mSEp from' file:/tmp/.toxenv 08:16:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mSEp from file:/tmp/.toxenv 08:16:46 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 08:16:46 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 08:16:46 + local 'pip_opts=--upgrade --quiet' 08:16:46 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 08:16:46 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 08:16:46 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 08:16:46 + [[ -n '' ]] 08:16:46 + [[ -n '' ]] 08:16:46 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 08:16:46 lf-activate-venv(): INFO: Attempting to install with network-safe options... 08:16:46 + /tmp/venv-mSEp/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 08:16:47 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 08:16:47 lf-activate-venv(): INFO: Base packages installed successfully 08:16:47 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 08:16:47 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 08:16:47 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 08:16:47 + /tmp/venv-mSEp/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 08:16:48 + type python3 08:16:48 + true 08:16:48 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-mSEp/bin to PATH' 08:16:48 lf-activate-venv(): INFO: Adding /tmp/venv-mSEp/bin to PATH 08:16:48 + PATH=/tmp/venv-mSEp/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 08:16:48 + return 0 08:16:48 + [[ -d /opt/pyenv ]] 08:16:48 + echo '---> Setting up pyenv' 08:16:48 ---> Setting up pyenv 08:16:48 + export PYENV_ROOT=/opt/pyenv 08:16:48 + PYENV_ROOT=/opt/pyenv 08:16:48 + export PATH=/opt/pyenv/bin:/tmp/venv-mSEp/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 08:16:48 + PATH=/opt/pyenv/bin:/tmp/venv-mSEp/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 08:16:48 ++ pwd 08:16:48 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 08:16:48 + export PYTHONPATH 08:16:48 + export TOX_TESTENV_PASSENV=PYTHONPATH 08:16:48 + TOX_TESTENV_PASSENV=PYTHONPATH 08:16:48 + tox --version 08:16:49 4.56.1 from /tmp/venv-mSEp/lib/python3.11/site-packages/tox/__init__.py 08:16:49 + PARALLEL=True 08:16:49 + TOX_OPTIONS_LIST= 08:16:49 + [[ -n '' ]] 08:16:49 + case ${PARALLEL,,} in 08:16:49 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 08:16:49 + tox --parallel auto --parallel-live 08:16:49 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 08:16:50 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 08:16:50 docs: install_deps> python -I -m pip install -r docs/requirements.txt 08:16:50 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 08:16:50 checkbashisms: freeze> python -m pip freeze --all 08:16:51 checkbashisms: pip==26.1.2,setuptools==82.0.1 08:16:51 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 08:16:51 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)' 08:16:51 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 08:16:52 checkbashisms: OK ✔ in 3.28 seconds 08:16:52 pre-commit: install_deps> python -I -m pip install pre-commit 08:16:55 pre-commit: freeze> python -m pip freeze --all 08:16:55 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==3.29.4,identify==2.6.19,nodeenv==1.10.0,pip==26.1.2,platformdirs==4.10.0,pre_commit==4.6.0,python-discovery==1.4.2,PyYAML==6.0.3,setuptools==82.0.1,virtualenv==21.5.1 08:16:55 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 08:16:55 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)' 08:16:55 /usr/bin/cpan 08:16:55 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 08:16:56 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 08:16:56 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 08:16:56 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 08:16:57 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 08:16:57 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 08:16:58 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 08:16:58 buildcontroller: freeze> python -m pip freeze --all 08:16:58 buildcontroller: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:16:58 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 08:16:58 + update-java-alternatives -l 08:16:58 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 08:16:58 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 08:16:58 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 08:16:58 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 08:16:58 update-alternatives: error: no alternatives for jaotc 08:16:58 update-alternatives: error: no alternatives for rmic 08:16:58 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 08:16:58 + java -version 08:16:58 + JAVA_VER=21 08:16:58 + echo 21 08:16:58 21 08:16:58 + javac -version 08:16:58 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 08:16:58 + JAVAC_VER=21 08:16:58 + echo 21 08:16:58 + [ 21 -ge 21 ] 08:16:58 21 08:16:58 ok, java is 21 or newer 08:16:58 + [ 21 -ge 21 ] 08:16:58 + echo ok, java is 21 or newer 08:16:58 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 08:16:59 2026-06-25 08:16:59 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] 08:16:59 + sudo mkdir -p /opt 08:16:59 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 08:16:59 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 08:16:59 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 08:16:59 + mvn --version 08:16:59 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 08:16:59 Maven home: /opt/maven 08:16:59 Java version: 21.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 08:16:59 Default locale: en, platform encoding: UTF-8 08:16:59 OS name: "linux", version: "5.15.0-174-generic", arch: "amd64", family: "unix" 08:16:59 NOTE: Picked up JDK_JAVA_OPTIONS: 08:16:59 --add-opens=java.base/java.io=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.lang=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.net=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.nio=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.nio.file=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.util=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.util.jar=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.util.stream=ALL-UNNAMED 08:16:59 --add-opens=java.base/java.util.zip=ALL-UNNAMED 08:16:59 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 08:16:59 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 08:16:59 -Xlog:disable 08:17:00 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 08:17:00 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 08:17:01 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 08:17:01 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 08:17:01 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 08:17:01 [INFO] Once installed this environment will be reused. 08:17:01 [INFO] This may take a few minutes... 08:17:09 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 08:17:09 [INFO] Once installed this environment will be reused. 08:17:09 [INFO] This may take a few minutes... 08:17:16 [INFO] Installing environment for https://github.com/hhatto/autopep8. 08:17:16 [INFO] Once installed this environment will be reused. 08:17:16 [INFO] This may take a few minutes... 08:17:18 docs-linkcheck: freeze> python -m pip freeze --all 08:17:19 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.6.17,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 08:17:19 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 08:17:19 docs: freeze> python -m pip freeze --all 08:17:20 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.6.17,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 08:17:20 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 08:17:22 [INFO] Installing environment for https://github.com/perltidy/perltidy. 08:17:22 [INFO] Once installed this environment will be reused. 08:17:22 [INFO] This may take a few minutes... 08:17:23 docs: OK ✔ in 33.61 seconds 08:17:23 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 08:17:27 docs-linkcheck: OK ✔ in 35.4 seconds 08:17:27 pylint: freeze> python -m pip freeze --all 08:17:28 pylint: astroid==4.0.4,dill==0.4.1,isort==8.0.1,mccabe==0.7.0,pip==26.1.2,platformdirs==4.10.0,pylint==4.0.6,setuptools==82.0.1,tomlkit==0.15.0 08:17:28 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}$' '{}' + 08:17:35 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 08:17:35 [INFO] Once installed this environment will be reused. 08:17:35 [INFO] This may take a few minutes... 08:17:39 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 08:17:39 [INFO] Once installed this environment will be reused. 08:17:39 [INFO] This may take a few minutes... 08:17:44 trim trailing whitespace.................................................Passed 08:17:45 fix end of files.........................................................Passed 08:17:45 check for added large files..............................................Passed 08:17:45 check for merge conflicts................................................Passed 08:17:45 check for case conflicts.................................................Passed 08:17:46 check json...............................................................Passed 08:17:46 mixed line ending........................................................Passed 08:17:46 Tabs remover.............................................................Passed 08:17:47 autopep8.................................................................Passed 08:17:51 perltidy.................................................................Passed 08:17:52 ShellCheck v0.11.0....................................................... 08:17:56 ------------------------------------ 08:17:56 Your code has been rated at 10.00/10 08:17:56 08:17:56 Passed 08:17:56 prettier.................................................................Passed 08:17:58 yamllint.................................................................Passed 08:17:59 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 08:17:59 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 08:17:59 [INFO] Once installed this environment will be reused. 08:17:59 [INFO] This may take a few minutes... 08:18:08 gitlint..................................................................Passed 08:18:55 pylint: OK ✔ in 36.86 seconds 08:18:55 pre-commit: OK ✔ in 1 minute 15.55 seconds 08:18:55 buildcontroller: OK ✔ in 2 minutes 4.78 seconds 08:18:55 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 08:18:55 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 08:18:55 build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 08:18:55 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 08:19:02 build_karaf_tests71: freeze> python -m pip freeze --all 08:19:02 build_karaf_tests200: freeze> python -m pip freeze --all 08:19:02 build_karaf_tests221: freeze> python -m pip freeze --all 08:19:02 build_karaf_tests121: freeze> python -m pip freeze --all 08:19:02 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:19:02 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 08:19:02 build karaf in karaf71 with ./karaf71.env 08:19:02 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:19:02 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 08:19:02 build karaf in karaf221 with ./karaf221.env 08:19:02 NOTE: Picked up JDK_JAVA_OPTIONS: 08:19:02 --add-opens=java.base/java.io=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.net=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.file=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.jar=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.stream=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.zip=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 08:19:02 -Xlog:disable 08:19:02 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:19:02 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 08:19:02 build karaf in karafoc200 with ./karafoc200.env 08:19:02 build_karaf_tests121: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:19:02 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 08:19:02 build karaf in karaf121 with ./karaf121.env 08:19:02 NOTE: Picked up JDK_JAVA_OPTIONS: 08:19:02 --add-opens=java.base/java.io=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.net=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.file=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.jar=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.stream=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.zip=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 08:19:02 -Xlog:disable 08:19:02 NOTE: Picked up JDK_JAVA_OPTIONS: 08:19:02 --add-opens=java.base/java.io=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.net=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.file=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.jar=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.stream=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.zip=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 08:19:02 -Xlog:disable 08:19:02 NOTE: Picked up JDK_JAVA_OPTIONS: 08:19:02 --add-opens=java.base/java.io=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.net=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.nio.file=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.jar=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.stream=ALL-UNNAMED 08:19:02 --add-opens=java.base/java.util.zip=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 08:19:02 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 08:19:02 -Xlog:disable 08:20:12 build_karaf_tests200: OK ✔ in 1 minute 17.86 seconds 08:20:12 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 08:20:16 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.4:install (default-install) on project transportpce-karaf: Failed to install metadata org.opendaylight.transportpce:transportpce-karaf:13.0.0-SNAPSHOT/maven-metadata.xml: Could not read metadata /home/jenkins/.m2/repository/org/opendaylight/transportpce/transportpce-karaf/13.0.0-SNAPSHOT/maven-metadata-local.xml: input contained no data -> [Help 1] 08:20:16 [ERROR] 08:20:16 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 08:20:16 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 08:20:16 [ERROR] 08:20:16 [ERROR] For more information about the errors and possible solutions, please read the following articles: 08:20:16 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 08:20:16 build_karaf_tests121: OK ✔ in 1 minute 21.99 seconds 08:20:16 build_karaf_tests71: OK ✔ in 1 minute 22 seconds 08:20:16 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 08:20:16 build_karaf_tests221: OK ✔ in 1 minute 22.28 seconds 08:20:16 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 08:20:22 buildlighty: freeze> python -m pip freeze --all 08:20:22 buildlighty: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:20:22 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 08:20:22 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 08:20:23 sims: freeze> python -m pip freeze --all 08:20:23 sims: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:20:23 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 08:20:23 Using lighynode version 22.1.0.7 08:20:23 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 08:21:06 sims: OK ✔ in 11.29 seconds 08:21:06 buildlighty: OK ✔ in 33.66 seconds 08:21:06 testsPCE: freeze> python -m pip freeze --all 08:21:06 testsPCE: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,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.0,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.2,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.2.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pyparsing==3.3.2,pytest==9.1.1,python-dateutil==2.9.0.post0,pytz==2026.2,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.7.0,Werkzeug==2.0.3,xlrd==1.2.0 08:21:06 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 08:21:06 pytest -q transportpce_tests/pce/test01_pce.py 08:21:55 .................... [100%] 08:22:59 20 passed in 112.87s (0:01:52) 08:22:59 pytest -q transportpce_tests/pce/test02_pce_400G.py 08:23:17 ............ [100%] 08:23:47 12 passed in 47.89s 08:23:47 pytest -q transportpce_tests/pce/test03_gnpy.py 08:24:05 ........ [100%] 08:24:26 8 passed in 38.67s 08:24:26 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 08:25:00 ... [100%] 08:25:05 3 passed in 38.04s 08:25:05 testsPCE: OK ✔ in 4 minutes 48.7 seconds 08:25:05 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 08:25:06 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 08:25:06 tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 08:25:12 tests_tapi: freeze> python -m pip freeze --all 08:25:12 tests121: freeze> python -m pip freeze --all 08:25:13 tests200: freeze> python -m pip freeze --all 08:25:13 tests_tapi: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:25:13 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 08:25:13 using environment variables from ./karaf221.env 08:25:13 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 08:25:13 tests121: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:25:13 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 08:25:13 using environment variables from ./karaf121.env 08:25:13 pytest -q transportpce_tests/1.2.1/test01_portmapping.py 08:25:13 tests200: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:25:13 tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 08:25:13 using environment variables from ./karafoc200.env 08:25:13 pytest -q transportpce_tests/oc200/test01_portmapping.py 08:26:24 ........... [100%] 08:26:43 10 passed in 89.71s (0:01:29) 08:26:43 pytest -q transportpce_tests/oc200/test02_topology.py 08:26:50 ............................. [100%] 08:27:32 21 passed in 138.53s (0:02:18) 08:27:32 pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py 08:27:35 ............................... [100%] 08:28:01 14 passed in 77.84s (0:01:17) 08:28:01 ....pytest -q transportpce_tests/oc200/test03_renderer.py 08:28:21 ............... [100%] 08:28:53 6 passed in 80.63s (0:01:20) 08:28:53 pytest -q transportpce_tests/1.2.1/test03_topology.py 08:28:54 ............... [100%] 08:29:12 16 passed in 69.99s (0:01:09) 08:29:12 pytest -q transportpce_tests/oc200/test04_end2end.py 08:29:27 ............EEEEEEEEEEEEEEEEEEEFEEEEE.EEEEEEEEEEEEEEEEEEEE [100%] 08:30:47 ==================================== ERRORS ==================================== 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_01_connect_ROADMA _______ 08:30:47 08:30:47 cls = 08:30:47 08:30:47 @classmethod 08:30:47 def setUpClass(cls): 08:30:47 > cls.processes = test_utils.start_tpce() 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 08:30:47 transportpce_tests/1.2.1/test03_topology.py:101: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 def start_tpce(): 08:30:47 if 'NO_ODL_STARTUP' in os.environ: 08:30:47 print('No OpenDaylight instance to start!') 08:30:47 return [] 08:30:47 print('starting OpenDaylight...') 08:30:47 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 08:30:47 process = start_lighty() 08:30:47 else: 08:30:47 process = start_karaf() 08:30:47 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 08:30:47 print('OpenDaylight started !') 08:30:47 else: 08:30:47 print('OpenDaylight failed to start !') 08:30:47 shutdown_process(process) 08:30:47 for pid in process_list: 08:30:47 shutdown_process(pid) 08:30:47 > sys.exit(1) 08:30:47 E SystemExit: 1 08:30:47 08:30:47 transportpce_tests/common/test_utils.py:233: SystemExit 08:30:47 ---------------------------- Captured stdout setup ----------------------------- 08:30:47 starting OpenDaylight... 08:30:47 starting KARAF (karaf121) TransportPCE build... 08:30:47 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_02_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735947420> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_03_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737cdfd80> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_04_getLinks_OpenroadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735963c40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_05_getNodes_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737cdfd80> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _______ ERROR at setup of TestTransportPCETopology.test_06_connect_XPDRA _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735947420> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_07_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735963c40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_08_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f28e0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_09_getNodes_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1800> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ___ ERROR at setup of TestTransportPCETopology.test_10_connect_tail_xpdr_rdm ___ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735963c40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ___ ERROR at setup of TestTransportPCETopology.test_11_connect_tail_rdm_xpdr ___ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_12_getLinks_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2520> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_13_connect_ROADMC _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_14_omsAttributes_ROADMA_ROADMC _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2fc0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_15_omsAttributes_ROADMC_ROADMA _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f31a0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_16_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ebe5c0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_17_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_18_getROADMLinkOpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1b20> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_19_getLinkOmsAttributesOpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7735947380> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_20_getNodes_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1d00> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_21_connect_ROADMB _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2de0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_22_omsAttributes_ROADMA_ROADMB _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_23_omsAttributes_ROADMB_ROADMA _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2660> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_24_omsAttributes_ROADMB_ROADMC _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_25_omsAttributes_ROADMC_ROADMB _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2520> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_26_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f3060> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _______ ERROR at setup of TestTransportPCETopology.test_27_verifyDegree ________ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_28_verifyOppositeLinkTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f20c0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_29_getLinkOmsAttributesOpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2d40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _____ ERROR at setup of TestTransportPCETopology.test_30_disconnect_ROADMB _____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _____ ERROR at setup of TestTransportPCETopology.test_31_disconnect_ROADMC _____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f20c0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_32_getNodes_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2ca0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_33_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_34_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1ee0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _____ ERROR at setup of TestTransportPCETopology.test_35_disconnect_XPDRA ______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f3380> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_36_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_37_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f2160> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_38_getNodes_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1c60> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_39_disconnect_ROADM_XPDRA_link _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_40_getLinks_OpenRoadmTopology _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f3600> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _____ ERROR at setup of TestTransportPCETopology.test_41_disconnect_ROADMA _____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ______ ERROR at setup of TestTransportPCETopology.test_42_getClliNetwork _______ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f1d00> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 ____ ERROR at setup of TestTransportPCETopology.test_43_getOpenRoadmNetwork ____ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f77359f3ec0> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 _ ERROR at setup of TestTransportPCETopology.test_44_check_roadm2roadm_link_persistence _ 08:30:47 08:30:47 cls = 08:30:47 func = . at 0x7f7737ca8a40> 08:30:47 when = 'setup' 08:30:47 reraise = (, ) 08:30:47 08:30:47 @classmethod 08:30:47 def from_call( 08:30:47 cls, 08:30:47 func: Callable[[], TResult], 08:30:47 when: Literal["collect", "setup", "call", "teardown"], 08:30:47 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 08:30:47 ) -> CallInfo[TResult]: 08:30:47 """Call func, wrapping the result in a CallInfo. 08:30:47 08:30:47 :param func: 08:30:47 The function to call. Called without arguments. 08:30:47 :type func: Callable[[], _pytest.runner.TResult] 08:30:47 :param when: 08:30:47 The phase in which the function is called. 08:30:47 :param reraise: 08:30:47 Exception or exceptions that shall propagate if raised by the 08:30:47 function, instead of being wrapped in the CallInfo. 08:30:47 """ 08:30:47 excinfo = None 08:30:47 instant = timing.Instant() 08:30:47 try: 08:30:47 > result: TResult | None = func() 08:30:47 ^^^^^^ 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:361: 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:250: in 08:30:47 lambda: runtest_hook(item=item, **kwds), 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 08:30:47 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 08:30:47 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 08:30:47 yield 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 08:30:47 return (yield) 08:30:47 ^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 08:30:47 item.session._setupstate.setup(item) 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 08:30:47 col.setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 08:30:47 super().setup() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 08:30:47 self._request._fillfixtures() 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 08:30:47 item.funcargs[argname] = self.getfixturevalue(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 08:30:47 fixturedef = self._get_active_fixturedef(argname) 08:30:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 08:30:47 fixturedef.execute(request=subrequest) 08:30:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:30:47 08:30:47 self = 08:30:47 request = > 08:30:47 08:30:47 def execute(self, request: SubRequest) -> FixtureValue: 08:30:47 """Return the value of this fixture, executing it if not cached.""" 08:30:47 # Ensure that the dependent fixtures requested by this fixture are loaded. 08:30:47 # This needs to be done before checking if we have a cached value, since 08:30:47 # if a dependent fixture has their cache invalidated, e.g. due to 08:30:47 # parametrization, they finalize themselves and fixtures depending on it 08:30:47 # (which will likely include this fixture) setting `self.cached_result = None`. 08:30:47 # See #4871 08:30:47 requested_fixtures_that_should_finalize_us = [] 08:30:47 for argname in self.argnames: 08:30:47 fixturedef = request._get_active_fixturedef(argname) 08:30:47 # Saves requested fixtures in a list so we later can add our finalizer 08:30:47 # to them, ensuring that if a requested fixture gets torn down we get torn 08:30:47 # down first. This is generally handled by SetupState, but still currently 08:30:47 # needed when this fixture is not parametrized but depends on a parametrized 08:30:47 # fixture. 08:30:47 requested_fixtures_that_should_finalize_us.append(fixturedef) 08:30:47 08:30:47 # Check for (and return) cached value/exception. 08:30:47 if self.cached_result is not None: 08:30:47 request_cache_key = self.cache_key(request) 08:30:47 cache_key = self.cached_result[1] 08:30:47 try: 08:30:47 # Attempt to make a normal == check: this might fail for objects 08:30:47 # which do not implement the standard comparison (like numpy arrays -- #6497). 08:30:47 cache_hit = bool(request_cache_key == cache_key) 08:30:47 except (ValueError, RuntimeError): 08:30:47 # If the comparison raises, use 'is' as fallback. 08:30:47 cache_hit = request_cache_key is cache_key 08:30:47 08:30:47 if cache_hit: 08:30:47 if self.cached_result[2] is not None: 08:30:47 exc, exc_tb = self.cached_result[2] 08:30:47 raise exc.with_traceback(exc_tb) 08:30:47 else: 08:30:47 return self.cached_result[0] 08:30:47 # We have a previous but differently parametrized fixture instance 08:30:47 # so we need to tear it down before creating a new one. 08:30:47 self.finish(request) 08:30:47 assert self.cached_result is None 08:30:47 08:30:47 # Add finalizer to requested fixtures we saved previously. 08:30:47 # We make sure to do this after checking for cached value to avoid 08:30:47 # adding our finalizer multiple times. (#12135) 08:30:47 finalizer = functools.partial(self.finish, request=request) 08:30:47 for parent_fixture in requested_fixtures_that_should_finalize_us: 08:30:47 parent_fixture.addfinalizer(finalizer) 08:30:47 08:30:47 # Register the pytest_fixture_post_finalizer as the first finalizer, 08:30:47 # which is executed last. 08:30:47 > assert not self._finalizers 08:30:47 ^^^^^^^^^^^^^^^^^^^^ 08:30:47 E AssertionError 08:30:47 08:30:47 ../.tox/tests121/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 08:30:47 =========================== short test summary info ============================ 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_01_connect_ROADMA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_02_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_03_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_04_getLinks_OpenroadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_05_getNodes_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_06_connect_XPDRA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_07_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_08_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_09_getNodes_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_10_connect_tail_xpdr_rdm 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_11_connect_tail_rdm_xpdr 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_12_getLinks_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_13_connect_ROADMC 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_14_omsAttributes_ROADMA_ROADMC 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_15_omsAttributes_ROADMC_ROADMA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_16_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_17_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_18_getROADMLinkOpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_19_getLinkOmsAttributesOpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_20_getNodes_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_21_connect_ROADMB 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_22_omsAttributes_ROADMA_ROADMB 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_23_omsAttributes_ROADMB_ROADMA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_24_omsAttributes_ROADMB_ROADMC 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_25_omsAttributes_ROADMC_ROADMB 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_26_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_27_verifyDegree 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_28_verifyOppositeLinkTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_29_getLinkOmsAttributesOpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_30_disconnect_ROADMB 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_31_disconnect_ROADMC 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_32_getNodes_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_33_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_34_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_35_disconnect_XPDRA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_36_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_37_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_38_getNodes_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_39_disconnect_ROADM_XPDRA_link 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_40_getLinks_OpenRoadmTopology 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_41_disconnect_ROADMA 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_42_getClliNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_43_getOpenRoadmNetwork 08:30:47 ERROR transportpce_tests/1.2.1/test03_topology.py::TestTransportPCETopology::test_44_check_roadm2roadm_link_persistence 08:30:47 44 errors in 113.03s (0:01:53) 08:30:47 tests121: exit 1 (334.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 pid=7501 08:30:48 .................... [100%] 08:31:22 51 passed in 368.75s (0:06:08) 08:31:22 pytest -q transportpce_tests/tapi/test02_full_topology.py 08:31:22 ............................. [100%] 08:33:07 =================================== FAILURES =================================== 08:33:07 _________ TransportPCEOC200End2EndTesting.test_01_meta_data_insertion __________ 08:33:07 08:33:07 self = 08:33:07 conn = 08:33:07 method = 'PUT' 08:33:07 url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data' 08:33:07 body = '{"open-terminal-meta-data:open-terminal-meta-data": {"transceiver-info": {"transceiver": [{"part-no": "OD-PPAC48D1000...id": 8, "interconnect-bandwidth-unit": 1000000000, "interconnect-bandwidth": 100, "connectable-port": [10, 8]}]}]}]}}}' 08:33:07 headers = {'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '3147', 'Authorization': 'Basic YWRtaW46YWRtaW4='} 08:33:07 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 08:33:07 timeout = Timeout(connect=30, read=30, total=None), chunked = False 08:33:07 response_conn = 08:33:07 preload_content = False, decode_content = False, enforce_content_length = True 08:33:07 08:33:07 def _make_request( 08:33:07 self, 08:33:07 conn: BaseHTTPConnection, 08:33:07 method: str, 08:33:07 url: str, 08:33:07 body: _TYPE_BODY | None = None, 08:33:07 headers: typing.Mapping[str, str] | None = None, 08:33:07 retries: Retry | None = None, 08:33:07 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 08:33:07 chunked: bool = False, 08:33:07 response_conn: BaseHTTPConnection | None = None, 08:33:07 preload_content: bool = True, 08:33:07 decode_content: bool = True, 08:33:07 enforce_content_length: bool = True, 08:33:07 ) -> BaseHTTPResponse: 08:33:07 """ 08:33:07 Perform a request on a given urllib connection object taken from our 08:33:07 pool. 08:33:07 08:33:07 :param conn: 08:33:07 a connection from one of our connection pools 08:33:07 08:33:07 :param method: 08:33:07 HTTP request method (such as GET, POST, PUT, etc.) 08:33:07 08:33:07 :param url: 08:33:07 The URL to perform the request on. 08:33:07 08:33:07 :param body: 08:33:07 Data to send in the request body, either :class:`str`, :class:`bytes`, 08:33:07 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 08:33:07 08:33:07 :param headers: 08:33:07 Dictionary of custom headers to send, such as User-Agent, 08:33:07 If-None-Match, etc. If None, pool headers are used. If provided, 08:33:07 these headers completely replace any pool-specific headers. 08:33:07 08:33:07 :param retries: 08:33:07 Configure the number of retries to allow before raising a 08:33:07 :class:`~urllib3.exceptions.MaxRetryError` exception. 08:33:07 08:33:07 Pass ``None`` to retry until you receive a response. Pass a 08:33:07 :class:`~urllib3.util.retry.Retry` object for fine-grained control 08:33:07 over different types of retries. 08:33:07 Pass an integer number to retry connection errors that many times, 08:33:07 but no other types of errors. Pass zero to never retry. 08:33:07 08:33:07 If ``False``, then retries are disabled and any exception is raised 08:33:07 immediately. Also, instead of raising a MaxRetryError on redirects, 08:33:07 the redirect response will be returned. 08:33:07 08:33:07 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 08:33:07 08:33:07 :param timeout: 08:33:07 If specified, overrides the default timeout for this one 08:33:07 request. It may be a float (in seconds) or an instance of 08:33:07 :class:`urllib3.util.Timeout`. 08:33:07 08:33:07 :param chunked: 08:33:07 If True, urllib3 will send the body using chunked transfer 08:33:07 encoding. Otherwise, urllib3 will send the body using the standard 08:33:07 content-length form. Defaults to False. 08:33:07 08:33:07 :param response_conn: 08:33:07 Set this to ``None`` if you will handle releasing the connection or 08:33:07 set the connection to have the response release it. 08:33:07 08:33:07 :param preload_content: 08:33:07 If True, the response's body will be preloaded during construction. 08:33:07 08:33:07 :param decode_content: 08:33:07 If True, will attempt to decode the body based on the 08:33:07 'content-encoding' header. 08:33:07 08:33:07 :param enforce_content_length: 08:33:07 Enforce content length checking. Body returned by server must match 08:33:07 value of Content-Length header, if present. Otherwise, raise error. 08:33:07 """ 08:33:07 self.num_requests += 1 08:33:07 08:33:07 timeout_obj = self._get_timeout(timeout) 08:33:07 timeout_obj.start_connect() 08:33:07 conn.timeout = Timeout.resolve_default_timeout(timeout_obj.connect_timeout) 08:33:07 08:33:07 try: 08:33:07 # Trigger any extra validation we need to do. 08:33:07 try: 08:33:07 self._validate_conn(conn) 08:33:07 except (SocketTimeout, BaseSSLError) as e: 08:33:07 self._raise_timeout(err=e, url=url, timeout_value=conn.timeout) 08:33:07 raise 08:33:07 08:33:07 # _validate_conn() starts the connection to an HTTPS proxy 08:33:07 # so we need to wrap errors with 'ProxyError' here too. 08:33:07 except ( 08:33:07 OSError, 08:33:07 NewConnectionError, 08:33:07 TimeoutError, 08:33:07 BaseSSLError, 08:33:07 CertificateError, 08:33:07 SSLError, 08:33:07 ) as e: 08:33:07 new_e: Exception = e 08:33:07 if isinstance(e, (BaseSSLError, CertificateError)): 08:33:07 new_e = SSLError(e) 08:33:07 # If the connection didn't successfully connect to it's proxy 08:33:07 # then there 08:33:07 if isinstance( 08:33:07 new_e, (OSError, NewConnectionError, TimeoutError, SSLError) 08:33:07 ) and (conn and conn.proxy and not conn.has_connected_to_proxy): 08:33:07 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme) 08:33:07 raise new_e 08:33:07 08:33:07 # conn.request() calls http.client.*.request, not the method in 08:33:07 # urllib3.request. It also calls makefile (recv) on the socket. 08:33:07 try: 08:33:07 conn.request( 08:33:07 method, 08:33:07 url, 08:33:07 body=body, 08:33:07 headers=headers, 08:33:07 chunked=chunked, 08:33:07 preload_content=preload_content, 08:33:07 decode_content=decode_content, 08:33:07 enforce_content_length=enforce_content_length, 08:33:07 ) 08:33:07 08:33:07 # We are swallowing BrokenPipeError (errno.EPIPE) since the server is 08:33:07 # legitimately able to close the connection after sending a valid response. 08:33:07 # With this behaviour, the received response is still readable. 08:33:07 except BrokenPipeError: 08:33:07 pass 08:33:07 except OSError as e: 08:33:07 # MacOS/Linux 08:33:07 # EPROTOTYPE and ECONNRESET are needed on macOS 08:33:07 # https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ 08:33:07 # Condition changed later to emit ECONNRESET instead of only EPROTOTYPE. 08:33:07 if e.errno != errno.EPROTOTYPE and e.errno != errno.ECONNRESET: 08:33:07 raise 08:33:07 08:33:07 # Reset the timeout for the recv() on the socket 08:33:07 read_timeout = timeout_obj.read_timeout 08:33:07 08:33:07 if not conn.is_closed: 08:33:07 # In Python 3 socket.py will catch EAGAIN and return None when you 08:33:07 # try and read into the file pointer created by http.client, which 08:33:07 # instead raises a BadStatusLine exception. Instead of catching 08:33:07 # the exception and assuming all BadStatusLine exceptions are read 08:33:07 # timeouts, check for a zero timeout before making the request. 08:33:07 if read_timeout == 0: 08:33:07 raise ReadTimeoutError( 08:33:07 self, url, f"Read timed out. (read timeout={read_timeout})" 08:33:07 ) 08:33:07 conn.timeout = read_timeout 08:33:07 08:33:07 # Receive the response from the server 08:33:07 try: 08:33:07 > response = conn.getresponse() 08:33:07 ^^^^^^^^^^^^^^^^^^ 08:33:07 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connectionpool.py:534: 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connection.py:571: in getresponse 08:33:07 httplib_response = super().getresponse() 08:33:07 ^^^^^^^^^^^^^^^^^^^^^ 08:33:07 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1395: in getresponse 08:33:07 response.begin() 08:33:07 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:325: in begin 08:33:07 version, status, reason = self._read_status() 08:33:07 ^^^^^^^^^^^^^^^^^^^ 08:33:07 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:286: in _read_status 08:33:07 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 08:33:07 self = 08:33:07 b = 08:33:07 08:33:07 def readinto(self, b): 08:33:07 """Read up to len(b) bytes into the writable buffer *b* and return 08:33:07 the number of bytes read. If the socket is non-blocking and no bytes 08:33:07 are available, None is returned. 08:33:07 08:33:07 If *b* is non-empty, a 0 return value indicates that the connection 08:33:07 was shutdown at the other end. 08:33:07 """ 08:33:07 self._checkClosed() 08:33:07 self._checkReadable() 08:33:07 if self._timeout_occurred: 08:33:07 raise OSError("cannot read from timed out object") 08:33:07 while True: 08:33:07 try: 08:33:07 > return self._sock.recv_into(b) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 E TimeoutError: timed out 08:33:07 08:33:07 /opt/pyenv/versions/3.11.10/lib/python3.11/socket.py:718: TimeoutError 08:33:07 08:33:07 The above exception was the direct cause of the following exception: 08:33:07 08:33:07 self = 08:33:07 request = , stream = False, timeout = 30, verify = True 08:33:07 cert = None, proxies = OrderedDict() 08:33:07 08:33:07 def send( 08:33:07 self, 08:33:07 request: PreparedRequest, 08:33:07 stream: bool = False, 08:33:07 timeout: _t.TimeoutType = None, 08:33:07 verify: _t.VerifyType = True, 08:33:07 cert: _t.CertType = None, 08:33:07 proxies: dict[str, str] | None = None, 08:33:07 ) -> Response: 08:33:07 """Sends PreparedRequest object. Returns Response object. 08:33:07 08:33:07 :param request: The :class:`PreparedRequest ` being sent. 08:33:07 :param stream: (optional) Whether to stream the request content. 08:33:07 :param timeout: (optional) How long to wait for the server to send 08:33:07 data before giving up, as a float, or a :ref:`(connect timeout, 08:33:07 read timeout) ` tuple. 08:33:07 :type timeout: float or tuple or urllib3 Timeout object 08:33:07 :param verify: (optional) Either a boolean, in which case it controls whether 08:33:07 we verify the server's TLS certificate, or a string, in which case it 08:33:07 must be a path to a CA bundle to use 08:33:07 :param cert: (optional) Any user-provided SSL certificate to be trusted. 08:33:07 :param proxies: (optional) The proxies dictionary to apply to the request. 08:33:07 :rtype: requests.Response 08:33:07 """ 08:33:07 08:33:07 assert _is_prepared(request) 08:33:07 08:33:07 try: 08:33:07 conn = self.get_connection_with_tls_context( 08:33:07 request, verify, proxies=proxies, cert=cert 08:33:07 ) 08:33:07 except LocationValueError as e: 08:33:07 raise InvalidURL(e, request=request) 08:33:07 08:33:07 self.cert_verify(conn, request.url, verify, cert) 08:33:07 url = self.request_url(request, proxies) 08:33:07 self.add_headers( 08:33:07 request, 08:33:07 stream=stream, 08:33:07 timeout=timeout, 08:33:07 verify=verify, 08:33:07 cert=cert, 08:33:07 proxies=proxies, 08:33:07 ) 08:33:07 08:33:07 chunked = not (request.body is None or "Content-Length" in request.headers) 08:33:07 08:33:07 if isinstance(timeout, tuple): 08:33:07 try: 08:33:07 connect, read = timeout 08:33:07 resolved_timeout = TimeoutSauce(connect=connect, read=read) 08:33:07 except ValueError: 08:33:07 raise ValueError( 08:33:07 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 08:33:07 f"or a single float to set both timeouts to the same value." 08:33:07 ) 08:33:07 elif isinstance(timeout, TimeoutSauce): 08:33:07 resolved_timeout = timeout 08:33:07 else: 08:33:07 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 08:33:07 08:33:07 try: 08:33:07 > resp = conn.urlopen( 08:33:07 method=request.method, 08:33:07 url=url, 08:33:07 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 08:33:07 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 08:33:07 redirect=False, 08:33:07 assert_same_host=False, 08:33:07 preload_content=False, 08:33:07 decode_content=False, 08:33:07 retries=self.max_retries, 08:33:07 timeout=resolved_timeout, 08:33:07 chunked=chunked, 08:33:07 ) 08:33:07 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/requests/adapters.py:696: 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connectionpool.py:842: in urlopen 08:33:07 retries = retries.increment( 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/util/retry.py:498: in increment 08:33:07 raise reraise(type(error), error, _stacktrace) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/util/util.py:39: in reraise 08:33:07 raise value 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connectionpool.py:788: in urlopen 08:33:07 response = self._make_request( 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connectionpool.py:536: in _make_request 08:33:07 self._raise_timeout(err=e, url=url, timeout_value=read_timeout) 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 08:33:07 self = 08:33:07 err = TimeoutError('timed out') 08:33:07 url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data' 08:33:07 timeout_value = 30 08:33:07 08:33:07 def _raise_timeout( 08:33:07 self, 08:33:07 err: BaseSSLError | OSError | SocketTimeout, 08:33:07 url: str, 08:33:07 timeout_value: _TYPE_TIMEOUT | None, 08:33:07 ) -> None: 08:33:07 """Is the error actually a timeout? Will raise a ReadTimeout or pass""" 08:33:07 08:33:07 if isinstance(err, SocketTimeout): 08:33:07 > raise ReadTimeoutError( 08:33:07 self, url, f"Read timed out. (read timeout={timeout_value})" 08:33:07 ) from err 08:33:07 E urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8190): Read timed out. (read timeout=30) 08:33:07 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/urllib3/connectionpool.py:367: ReadTimeoutError 08:33:07 08:33:07 During handling of the above exception, another exception occurred: 08:33:07 08:33:07 self = 08:33:07 08:33:07 def test_01_meta_data_insertion(self): 08:33:07 > response = test_utils_oc.metadata_input_oc200() 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 08:33:07 transportpce_tests/oc200/test04_end2end.py:284: 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 transportpce_tests/common/test_utils_oc.py:259: in metadata_input_oc200 08:33:07 response = test_utils.put_request(url[test_utils.RESTCONF_VERSION], body) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 transportpce_tests/common/test_utils.py:125: in put_request 08:33:07 return requests.request( 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/requests/api.py:71: in request 08:33:07 return session.request(method=method, url=url, **kwargs) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/requests/sessions.py:651: in request 08:33:07 resp = self.send(prep, **send_kwargs) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 ../.tox/tests200/lib/python3.11/site-packages/requests/sessions.py:784: in send 08:33:07 r = adapter.send(request, **kwargs) 08:33:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 08:33:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 08:33:07 08:33:07 self = 08:33:07 request = , stream = False, timeout = 30, verify = True 08:33:07 cert = None, proxies = OrderedDict() 08:33:07 08:33:07 def send( 08:33:07 self, 08:33:07 request: PreparedRequest, 08:33:07 stream: bool = False, 08:33:07 timeout: _t.TimeoutType = None, 08:33:07 verify: _t.VerifyType = True, 08:33:07 cert: _t.CertType = None, 08:33:08 proxies: dict[str, str] | None = None, 08:33:08 ) -> Response: 08:33:08 """Sends PreparedRequest object. Returns Response object. 08:33:08 08:33:08 :param request: The :class:`PreparedRequest ` being sent. 08:33:08 :param stream: (optional) Whether to stream the request content. 08:33:08 :param timeout: (optional) How long to wait for the server to send 08:33:08 data before giving up, as a float, or a :ref:`(connect timeout, 08:33:08 read timeout) ` tuple. 08:33:08 :type timeout: float or tuple or urllib3 Timeout object 08:33:08 :param verify: (optional) Either a boolean, in which case it controls whether 08:33:08 we verify the server's TLS certificate, or a string, in which case it 08:33:08 must be a path to a CA bundle to use 08:33:08 :param cert: (optional) Any user-provided SSL certificate to be trusted. 08:33:08 :param proxies: (optional) The proxies dictionary to apply to the request. 08:33:08 :rtype: requests.Response 08:33:08 """ 08:33:08 08:33:08 assert _is_prepared(request) 08:33:08 08:33:08 try: 08:33:08 conn = self.get_connection_with_tls_context( 08:33:08 request, verify, proxies=proxies, cert=cert 08:33:08 ) 08:33:08 except LocationValueError as e: 08:33:08 raise InvalidURL(e, request=request) 08:33:08 08:33:08 self.cert_verify(conn, request.url, verify, cert) 08:33:08 url = self.request_url(request, proxies) 08:33:08 self.add_headers( 08:33:08 request, 08:33:08 stream=stream, 08:33:08 timeout=timeout, 08:33:08 verify=verify, 08:33:08 cert=cert, 08:33:08 proxies=proxies, 08:33:08 ) 08:33:08 08:33:08 chunked = not (request.body is None or "Content-Length" in request.headers) 08:33:08 08:33:08 if isinstance(timeout, tuple): 08:33:08 try: 08:33:08 connect, read = timeout 08:33:08 resolved_timeout = TimeoutSauce(connect=connect, read=read) 08:33:08 except ValueError: 08:33:08 raise ValueError( 08:33:08 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 08:33:08 f"or a single float to set both timeouts to the same value." 08:33:08 ) 08:33:08 elif isinstance(timeout, TimeoutSauce): 08:33:08 resolved_timeout = timeout 08:33:08 else: 08:33:08 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 08:33:08 08:33:08 try: 08:33:08 resp = conn.urlopen( 08:33:08 method=request.method, 08:33:08 url=url, 08:33:08 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 08:33:08 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 08:33:08 redirect=False, 08:33:08 assert_same_host=False, 08:33:08 preload_content=False, 08:33:08 decode_content=False, 08:33:08 retries=self.max_retries, 08:33:08 timeout=resolved_timeout, 08:33:08 chunked=chunked, 08:33:08 ) 08:33:08 08:33:08 except (ProtocolError, OSError) as err: 08:33:08 raise ConnectionError(err, request=request) 08:33:08 08:33:08 except MaxRetryError as e: 08:33:08 if isinstance(e.reason, ConnectTimeoutError): 08:33:08 # TODO: Remove this in 3.0.0: see #2811 08:33:08 if not isinstance(e.reason, NewConnectionError): 08:33:08 raise ConnectTimeout(e, request=request) 08:33:08 08:33:08 if isinstance(e.reason, ResponseError): 08:33:08 raise RetryError(e, request=request) 08:33:08 08:33:08 if isinstance(e.reason, _ProxyError): 08:33:08 raise ProxyError(e, request=request) 08:33:08 08:33:08 if isinstance(e.reason, _SSLError): 08:33:08 # This branch is for urllib3 v1.22 and later. 08:33:08 raise SSLError(e, request=request) 08:33:08 08:33:08 raise ConnectionError(e, request=request) 08:33:08 08:33:08 except ClosedPoolError as e: 08:33:08 raise ConnectionError(e, request=request) 08:33:08 08:33:08 except _ProxyError as e: 08:33:08 raise ProxyError(e) 08:33:08 08:33:08 except (_SSLError, _HTTPError) as e: 08:33:08 if isinstance(e, _SSLError): 08:33:08 # This branch is for urllib3 versions earlier than v1.22 08:33:08 raise SSLError(e, request=request) 08:33:08 elif isinstance(e, ReadTimeoutError): 08:33:08 > raise ReadTimeout(e, request=request) 08:33:08 E requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8190): Read timed out. (read timeout=30) 08:33:08 08:33:08 ../.tox/tests200/lib/python3.11/site-packages/requests/adapters.py:742: ReadTimeout 08:33:08 ---------------------------- Captured stdout setup ----------------------------- 08:33:08 starting OpenDaylight... 08:33:08 starting KARAF (karafoc200) TransportPCE build... 08:33:08 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 08:33:08 starting simulator oc200-mpdra in OpenROADM device version oc200... 08:33:08 Searching for patterns in mpdra-oc200.log... Pattern found! simulator for oc200-mpdra started 08:33:08 starting simulator oc200-mpdrc in OpenROADM device version oc200... 08:33:08 Searching for patterns in mpdrc-oc200.log... Pattern found! simulator for oc200-mpdrc started 08:33:08 starting simulator roadma in OpenROADM device version 7.1... 08:33:08 Searching for patterns in roadma-71.log... Pattern found! simulator for roadma started 08:33:08 starting simulator roadmc in OpenROADM device version 7.1... 08:33:08 Searching for patterns in roadmc-71.log... Pattern found! simulator for roadmc started 08:33:08 ----------------------------- Captured stdout call ----------------------------- 08:33:08 execution of test_01_meta_data_insertion 08:33:08 =========================== short test summary info ============================ 08:33:08 FAILED transportpce_tests/oc200/test04_end2end.py::TransportPCEOC200End2EndTesting::test_01_meta_data_insertion 08:33:08 1 failed, 42 passed in 235.68s (0:03:55) 08:33:08 tests121: FAIL ✖ in 5 minutes 42 seconds 08:33:08 tests200: exit 1 (474.78 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc200 pid=7512 08:33:08 tests200: FAIL ✖ in 8 minutes 2.83 seconds 08:33:08 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 08:33:11 ...tests71: freeze> python -m pip freeze --all 08:33:16 tests71: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:33:16 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 08:33:16 using environment variables from ./karaf71.env 08:33:16 pytest -q transportpce_tests/7.1/test01_portmapping.py 08:33:18 .........................FFFFFFFFF. [100%] 08:37:16 36 passed in 354.30s (0:05:54) 08:37:16 pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py 08:38:09 ...................................F... [100%] 08:40:16 =================================== FAILURES =================================== 08:40:16 __________ TestTransportPCEPortmapping.test_01_xpdr_device_connection __________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_01_xpdr_device_connection(self): 08:40:16 response = test_utils.mount_device("XPDR-A2", 08:40:16 ('xpdra2', self.NODE_VERSION)) 08:40:16 > self.assertEqual(response.status_code, requests.codes.created, 08:40:16 test_utils.CODE_SHOULD_BE_201) 08:40:16 E AssertionError: 401 != 201 : Http status code should be 201 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:51: AssertionError 08:40:16 ---------------------------- Captured stdout setup ----------------------------- 08:40:16 starting OpenDaylight... 08:40:16 starting KARAF (karaf71) TransportPCE build... 08:40:16 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 08:40:16 starting simulator xpdra2 in OpenROADM device version 7.1... 08:40:16 Searching for patterns in xpdra2-71.log... Pattern found! simulator for xpdra2 started 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_01_xpdr_device_connection 08:40:16 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not added to tpce topology... 08:40:16 __________ TestTransportPCEPortmapping.test_02_xpdr_device_connected ___________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_02_xpdr_device_connected(self): 08:40:16 response = test_utils.check_device_connection("XPDR-A2") 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:57: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_02_xpdr_device_connected 08:40:16 __________ TestTransportPCEPortmapping.test_03_xpdr_portmapping_info ___________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_03_xpdr_portmapping_info(self): 08:40:16 response = test_utils.get_portmapping_node_attr("XPDR-A2", "node-info", None) 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:63: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_03_xpdr_portmapping_info 08:40:16 ________ TestTransportPCEPortmapping.test_04_tpdr_portmapping_NETWORK1 _________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_04_tpdr_portmapping_NETWORK1(self): 08:40:16 response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-NETWORK1") 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:76: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_04_tpdr_portmapping_NETWORK1 08:40:16 _________ TestTransportPCEPortmapping.test_05_tpdr_portmapping_CLIENT1 _________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_05_tpdr_portmapping_CLIENT1(self): 08:40:16 response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-CLIENT1") 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:100: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_05_tpdr_portmapping_CLIENT1 08:40:16 ________ TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK1 _________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_06_mpdr_portmapping_NETWORK1(self): 08:40:16 response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:120: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_06_mpdr_portmapping_NETWORK1 08:40:16 _________ TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_07_mpdr_portmapping_CLIENT1(self): 08:40:16 res = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-CLIENT1") 08:40:16 > self.assertEqual(res['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:143: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_07_mpdr_portmapping_CLIENT1 08:40:16 ____________ TestTransportPCEPortmapping.test_08_check_mccapprofile ____________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_08_check_mccapprofile(self): 08:40:16 res = test_utils.get_portmapping_node_attr("XPDR-A2", "mc-capabilities", "XPDR-mcprofile") 08:40:16 > self.assertEqual(res['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:163: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_08_check_mccapprofile 08:40:16 ___________ TestTransportPCEPortmapping.test_09_mpdr_switching_pool ____________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_09_mpdr_switching_pool(self): 08:40:16 response = test_utils.get_portmapping_node_attr("XPDR-A2", "switching-pool-lcp", "1") 08:40:16 > self.assertEqual(response['status_code'], requests.codes.ok) 08:40:16 E AssertionError: 409 != 200 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:170: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_09_mpdr_switching_pool 08:40:16 ________ TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _________ 08:40:16 08:40:16 self = 08:40:16 08:40:16 def test_10_xpdr_device_disconnection(self): 08:40:16 response = test_utils.unmount_device("XPDR-A2") 08:40:16 > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) 08:40:16 E AssertionError: 409 not found in (200, 204) 08:40:16 08:40:16 transportpce_tests/7.1/test01_portmapping.py:186: AssertionError 08:40:16 ----------------------------- Captured stdout call ----------------------------- 08:40:16 execution of test_10_xpdr_device_disconnection 08:40:16 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not deleted from tpce topology... 08:40:16 =========================== short test summary info ============================ 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_xpdr_device_connection 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_xpdr_device_connected 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_portmapping_info 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_tpdr_portmapping_NETWORK1 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_tpdr_portmapping_CLIENT1 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK1 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_check_mccapprofile 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_mpdr_switching_pool 08:40:16 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 08:40:16 10 failed, 2 passed in 419.37s (0:06:59) 08:40:16 .tests71: exit 1 (419.68 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=15247 08:40:18 .................................. [100%] 08:42:41 71 passed in 324.18s (0:05:24) 08:42:41 pytest -q transportpce_tests/tapi/test04_topo_extension.py 08:43:39 ................... [100%] 08:45:12 19 passed in 150.44s (0:02:30) 08:45:12 pytest -q transportpce_tests/tapi/test05_pce_tapi.py 08:47:24 ...................... [100%] 08:53:01 22 passed in 468.73s (0:07:48) 08:53:01 tests71: FAIL ✖ in 7 minutes 8.05 seconds 08:53:01 tests_tapi: OK ✔ in 27 minutes 55.91 seconds 08:53:01 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 08:53:13 tests221: freeze> python -m pip freeze --all 08:53:14 tests221: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 08:53:14 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 08:53:14 using environment variables from ./karaf221.env 08:53:14 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 08:53:55 ................................... [100%] 08:54:35 35 passed in 80.91s (0:01:20) 08:54:35 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 08:55:11 ...... [100%] 08:55:25 6 passed in 49.57s 08:55:25 pytest -q transportpce_tests/2.2.1/test03_topology.py 08:56:15 ............................................ [100%] 09:00:50 44 passed in 324.76s (0:05:24) 09:00:50 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 09:01:28 ............ [100%] 09:01:52 12 passed in 62.13s (0:01:02) 09:01:52 pytest -q transportpce_tests/2.2.1/test05_flex_grid.py 09:02:21 ................ [100%] 09:03:50 16 passed in 117.98s (0:01:57) 09:03:50 pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py 09:04:25 ............................... [100%] 09:04:32 31 passed in 41.07s 09:04:32 pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py 09:05:11 .......................... [100%] 09:06:07 26 passed in 94.84s (0:01:34) 09:06:07 pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py 09:06:47 ...................... [100%] 09:07:51 22 passed in 104.06s (0:01:44) 09:07:51 pytest -q transportpce_tests/2.2.1/test09_olm.py 09:08:36 ........................................ [100%] 09:11:00 40 passed in 187.96s (0:03:07) 09:11:00 pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py 09:11:47 ........................................................................ [ 74%] 09:17:24 ......................... [100%] 09:19:16 97 passed in 496.45s (0:08:16) 09:19:16 pytest -q transportpce_tests/2.2.1/test12_end2end.py 09:20:01 ...................................................... [100%] 09:26:49 54 passed in 452.55s (0:07:32) 09:26:49 pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py 09:27:48 ........................................................................ [ 71%] 09:32:58 ............................. [100%] 09:35:07 101 passed in 497.84s (0:08:17) 09:35:07 pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py 09:36:07 ........................................................................ [ 67%] 09:41:55 ................................... [100%] 09:45:16 107 passed in 607.90s (0:10:07) 09:45:16 pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py 09:46:01 ............................................. [100%] 09:48:39 45 passed in 203.46s (0:03:23) 09:48:40 tests221: OK ✔ in 55 minutes 38.67 seconds 09:48:40 tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 09:48:47 tests_hybrid: freeze> python -m pip freeze --all 09:48:47 tests_hybrid: bcrypt==5.0.0,certifi==2026.6.17,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 09:48:47 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 09:48:47 using environment variables from ./karaf221.env 09:48:47 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 09:49:31 ................................................... [100%] 09:51:18 51 passed in 150.83s (0:02:30) 09:51:18 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 09:52:04 ..............................................$ ssh-agent -k 09:54:40 unset SSH_AUTH_SOCK; 09:54:40 unset SSH_AGENT_PID; 09:54:40 echo Agent pid 1547 killed; 09:54:40 [ssh-agent] Stopped. 09:54:40 Build was aborted 09:54:40 Aborted by new patch set. 09:54:40 [PostBuildScript] - [INFO] Executing post build scripts. 09:54:40 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16751292402225744945.sh 09:54:40 ---> sysstat.sh 09:54:41 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins4343135357421722800.sh 09:54:41 ---> package-listing.sh 09:54:41 ++ facter osfamily 09:54:41 ++ tr '[:upper:]' '[:lower:]' 09:54:41 + OS_FAMILY=debian 09:54:41 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 09:54:41 + START_PACKAGES=/tmp/packages_start.txt 09:54:41 + END_PACKAGES=/tmp/packages_end.txt 09:54:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:41 + PACKAGES=/tmp/packages_start.txt 09:54:41 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 09:54:41 + PACKAGES=/tmp/packages_end.txt 09:54:41 + case "${OS_FAMILY}" in 09:54:41 + dpkg -l 09:54:41 + grep '^ii' 09:54:41 + '[' -f /tmp/packages_start.txt ']' 09:54:41 + '[' -f /tmp/packages_end.txt ']' 09:54:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:41 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 09:54:41 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 09:54:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 09:54:41 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins18195545939591276014.sh 09:54:41 ---> capture-instance-metadata.sh 09:54:41 Setup pyenv: 09:54:41 system 09:54:41 3.8.20 09:54:41 3.9.20 09:54:41 3.10.15 09:54:41 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:54:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cqri from file:/tmp/.os_lf_venv 09:54:41 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:54:41 lf-activate-venv(): INFO: Attempting to install with network-safe options... 09:54:44 lf-activate-venv(): INFO: Base packages installed successfully 09:54:44 lf-activate-venv(): INFO: Installing additional packages: lftools 09:54:46 Terminated 09:54:46 tests_hybrid: exit 1 (358.65 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=40307 09:54:46 buildcontroller: OK (124.78=setup[8.94]+cmd[115.83] seconds) 09:54:46 sims: OK (11.29=setup[7.28]+cmd[4.01] seconds) 09:54:46 build_karaf_tests121: OK (81.99=setup[8.51]+cmd[73.48] seconds) 09:54:46 testsPCE: OK (288.70=setup[50.00]+cmd[238.70] seconds) 09:54:46 tests121: FAIL code 1 (342.00=setup[7.99]+cmd[334.01] seconds) 09:54:46 build_karaf_tests221: OK (82.28=setup[8.42]+cmd[73.87] seconds) 09:54:46 tests_tapi: OK (1675.91=setup[7.97]+cmd[1667.94] seconds) 09:54:46 tests221: OK (3338.67=setup[12.92]+cmd[3325.75] seconds) 09:54:46 build_karaf_tests71: OK (82.00=setup[8.37]+cmd[73.63] seconds) 09:54:46 tests71: FAIL code 1 (428.05=setup[8.37]+cmd[419.68] seconds) 09:54:46 build_karaf_tests200: OK (77.86=setup[8.47]+cmd[69.39] seconds) 09:54:46 tests200: FAIL code 1 (482.83=setup[8.06]+cmd[474.78] seconds) 09:54:46 tests_hybrid: FAIL code 1 (366.59=setup[7.94]+cmd[358.65] seconds) 09:54:46 buildlighty: OK (33.66=setup[10.39]+cmd[23.27] seconds) 09:54:46 docs: OK (33.61=setup[30.53]+cmd[3.08] seconds) 09:54:46 docs-linkcheck: OK (35.40=setup[29.77]+cmd[5.63] seconds) 09:54:46 checkbashisms: OK (3.28=setup[2.00]+cmd[0.00,0.04,1.24] seconds) 09:54:46 pre-commit: OK (75.55=setup[3.13]+cmd[0.01,0.00,63.06,9.35] seconds) 09:54:46 pylint: OK (36.86=setup[4.93]+cmd[31.93] seconds) 09:54:46 evaluation failed :( (5876.99 seconds) 09:54:46 + tox_status=143 09:54:46 + echo '---> Completed tox runs' 09:54:46 ---> Completed tox runs 09:54:46 + for i in .tox/*/log 09:54:46 ++ awk -F/ '{print $2}' 09:54:46 ++ echo .tox/build_karaf_tests121/log 09:54:46 + tox_env=build_karaf_tests121 09:54:46 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 09:54:56 lf-activate-venv(): INFO: Adding /tmp/venv-cqri/bin to PATH 09:54:56 INFO: Running in OpenStack, capturing instance metadata 09:54:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9710332424817982188.sh 09:54:57 provisioning config files... 09:54:57 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #5759 09:54:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config7660303821891961675tmp 09:54:57 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 09:54:57 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 09:54:57 provisioning config files... 09:54:57 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 09:54:57 [EnvInject] - Injecting environment variables from a build step. 09:54:57 [EnvInject] - Injecting as environment variables the properties content 09:54:57 SERVER_ID=logs 09:54:57 09:54:57 [EnvInject] - Variables injected successfully. 09:54:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins11660425953810969504.sh 09:54:57 ---> create-netrc.sh 09:54:57 WARN: Log server credential not found. 09:54:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12956575316714096697.sh 09:54:57 ---> python-tools-install.sh 09:54:57 Setup pyenv: 09:54:58 system 09:54:58 3.8.20 09:54:58 3.9.20 09:54:58 3.10.15 09:54:58 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:54:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cqri from file:/tmp/.os_lf_venv 09:54:58 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:54:58 lf-activate-venv(): INFO: Attempting to install with network-safe options... 09:55:00 lf-activate-venv(): INFO: Base packages installed successfully 09:55:00 lf-activate-venv(): INFO: Installing additional packages: lftools 09:55:09 lf-activate-venv(): INFO: Adding /tmp/venv-cqri/bin to PATH 09:55:09 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins12048611212101565958.sh 09:55:09 ---> uv-install.sh 09:55:09 uv 0.11.24 is already installed 09:55:09 uvx 0.11.24 (x86_64-unknown-linux-gnu) 09:55:09 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13137143045270259772.sh 09:55:09 ---> sudo-logs.sh 09:55:09 Archiving 'sudo' log.. 09:55:09 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7212424704729428852.sh 09:55:09 ---> job-cost.sh 09:55:09 INFO: Activating Python virtual environment... 09:55:09 Setup pyenv: 09:55:09 system 09:55:09 3.8.20 09:55:09 3.9.20 09:55:09 3.10.15 09:55:09 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:55:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cqri from file:/tmp/.os_lf_venv 09:55:10 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:55:10 lf-activate-venv(): INFO: Attempting to install with network-safe options... 09:55:11 lf-activate-venv(): INFO: Base packages installed successfully 09:55:11 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 09:55:18 lf-activate-venv(): INFO: Adding /tmp/venv-cqri/bin to PATH 09:55:18 INFO: No stack-cost file found 09:55:18 INFO: Instance uptime: 6038s 09:55:18 INFO: Fetching instance metadata (attempt 1 of 3)... 09:55:18 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 09:55:18 INFO: Successfully fetched instance metadata 09:55:18 INFO: Instance type: v3-standard-4 09:55:18 INFO: Retrieving pricing info for: v3-standard-4 09:55:18 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 09:55:18 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=6038 09:55:18 INFO: Successfully fetched Vexxhost pricing API 09:55:18 INFO: Retrieved cost: 0.22 09:55:19 INFO: Retrieved resource: v3-standard-4 09:55:19 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 09:55:19 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 09:55:19 INFO: Successfully archived job cost data 09:55:19 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,5759,2026-06-25 09:55:19,v3-standard-4,6038,0.22,0.00,ABORTED 09:55:19 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins17022390200123873902.sh 09:55:19 ---> logs-deploy.sh 09:55:19 Setup pyenv: 09:55:19 system 09:55:19 3.8.20 09:55:19 3.9.20 09:55:19 3.10.15 09:55:19 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 09:55:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cqri from file:/tmp/.os_lf_venv 09:55:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 09:55:19 lf-activate-venv(): INFO: Attempting to install with network-safe options... 09:55:21 lf-activate-venv(): INFO: Base packages installed successfully 09:55:21 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 09:55:30 lf-activate-venv(): INFO: Adding /tmp/venv-cqri/bin to PATH 09:55:30 WARNING: Nexus logging server not set 09:55:30 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/5759/ 09:55:30 INFO: archiving logs to S3 09:55:32 ---> uname -a: 09:55:32 Linux prd-ubuntu2204-docker-4c-16g-30427 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 09:55:32 09:55:32 09:55:32 ---> lscpu: 09:55:32 Architecture: x86_64 09:55:32 CPU op-mode(s): 32-bit, 64-bit 09:55:32 Address sizes: 40 bits physical, 48 bits virtual 09:55:32 Byte Order: Little Endian 09:55:32 CPU(s): 4 09:55:32 On-line CPU(s) list: 0-3 09:55:32 Vendor ID: AuthenticAMD 09:55:32 Model name: AMD EPYC-Rome Processor 09:55:32 CPU family: 23 09:55:32 Model: 49 09:55:32 Thread(s) per core: 1 09:55:32 Core(s) per socket: 1 09:55:32 Socket(s): 4 09:55:32 Stepping: 0 09:55:32 BogoMIPS: 5600.00 09:55:32 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 09:55:32 Virtualization: AMD-V 09:55:32 Hypervisor vendor: KVM 09:55:32 Virtualization type: full 09:55:32 L1d cache: 128 KiB (4 instances) 09:55:32 L1i cache: 128 KiB (4 instances) 09:55:32 L2 cache: 2 MiB (4 instances) 09:55:32 L3 cache: 64 MiB (4 instances) 09:55:32 NUMA node(s): 1 09:55:32 NUMA node0 CPU(s): 0-3 09:55:32 Vulnerability Gather data sampling: Not affected 09:55:32 Vulnerability Indirect target selection: Not affected 09:55:32 Vulnerability Itlb multihit: Not affected 09:55:32 Vulnerability L1tf: Not affected 09:55:32 Vulnerability Mds: Not affected 09:55:32 Vulnerability Meltdown: Not affected 09:55:32 Vulnerability Mmio stale data: Not affected 09:55:32 Vulnerability Reg file data sampling: Not affected 09:55:32 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 09:55:32 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 09:55:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:55:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:55:32 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 09:55:32 Vulnerability Srbds: Not affected 09:55:32 Vulnerability Tsa: Not affected 09:55:32 Vulnerability Tsx async abort: Not affected 09:55:32 Vulnerability Vmscape: Not affected 09:55:32 09:55:32 09:55:32 ---> nproc: 09:55:32 4 09:55:32 09:55:32 09:55:32 ---> df -h: 09:55:32 Filesystem Size Used Avail Use% Mounted on 09:55:32 tmpfs 1.6G 1.1M 1.6G 1% /run 09:55:32 /dev/vda1 78G 18G 61G 23% / 09:55:32 tmpfs 7.9G 0 7.9G 0% /dev/shm 09:55:32 tmpfs 5.0M 0 5.0M 0% /run/lock 09:55:32 /dev/vda15 105M 6.1M 99M 6% /boot/efi 09:55:32 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 09:55:32 09:55:32 09:55:32 ---> free -m: 09:55:32 total used free shared buff/cache available 09:55:32 Mem: 15989 732 10329 3 4927 14914 09:55:32 Swap: 1023 0 1023 09:55:32 09:55:32 09:55:32 ---> ip addr: 09:55:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 09:55:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:55:32 inet 127.0.0.1/8 scope host lo 09:55:32 valid_lft forever preferred_lft forever 09:55:32 inet6 ::1/128 scope host 09:55:32 valid_lft forever preferred_lft forever 09:55:32 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 09:55:32 link/ether fa:16:3e:11:6d:a6 brd ff:ff:ff:ff:ff:ff 09:55:32 altname enp0s3 09:55:32 inet 10.30.171.4/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 09:55:32 valid_lft 80356sec preferred_lft 80356sec 09:55:32 inet6 fe80::f816:3eff:fe11:6da6/64 scope link 09:55:32 valid_lft forever preferred_lft forever 09:55:32 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 09:55:32 link/ether 72:2f:05:6c:22:35 brd ff:ff:ff:ff:ff:ff 09:55:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:55:32 valid_lft forever preferred_lft forever 09:55:32 inet6 fe80::702f:5ff:fe6c:2235/64 scope link 09:55:32 valid_lft forever preferred_lft forever 09:55:32 09:55:32 09:55:32 ---> sar -b -r -n DEV: 09:55:32 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-30427) 06/25/26 _x86_64_ (4 CPU) 09:55:32 09:55:32 08:14:51 LINUX RESTART (4 CPU) 09:55:32 09:55:32 08:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:55:32 08:30:02 85.11 4.21 77.32 3.58 147.46 18920.63 13833.09 09:55:32 08:40:01 35.23 20.23 14.03 0.96 223.54 1334.80 490.92 09:55:32 08:50:01 7.87 0.02 7.47 0.38 0.97 232.79 1360.76 09:55:32 09:00:01 10.81 0.01 10.37 0.43 0.53 551.59 1246.29 09:55:32 09:10:01 16.19 0.01 15.52 0.66 0.56 498.69 499.93 09:55:32 09:20:01 7.31 0.01 7.00 0.29 0.56 217.37 123.25 09:55:32 09:30:01 5.06 0.01 4.86 0.19 1.05 158.01 222.43 09:55:32 09:40:01 6.00 0.00 5.82 0.17 0.32 168.04 99.95 09:55:32 09:50:01 9.61 0.04 9.20 0.36 1.28 565.03 122.43 09:55:32 Average: 20.36 2.73 16.85 0.78 41.80 2518.02 2001.17 09:55:32 09:55:32 08:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:55:32 08:30:02 1460572 5268684 10661100 65.11 261732 3476892 11863776 68.10 1990152 12284384 1884 09:55:32 08:40:01 4233316 8390256 7542028 46.06 271360 3813248 8772296 50.35 2150560 9363876 248 09:55:32 08:50:01 5449708 9623356 6309680 38.54 272556 3828772 7008272 40.23 2156464 8143060 432 09:55:32 09:00:01 7121296 11407476 4526244 27.64 276864 3931436 5212836 29.92 2192620 6438152 64 09:55:32 09:10:01 7078820 11438960 4494848 27.45 279584 4002500 5193064 29.81 2199912 6472616 352 09:55:32 09:20:01 7292944 11684300 4249868 25.96 280856 4032316 5189852 29.79 2202384 6245764 412 09:55:32 09:30:01 5596832 10011260 5921804 36.17 281756 4054456 6657012 38.21 2204880 7945100 304 09:55:32 09:40:01 5468848 9906064 6026864 36.81 282340 4076640 6770592 38.86 2208292 8065792 264 09:55:32 09:50:01 6776148 11341912 4591660 28.04 286060 4195840 5297020 30.40 2217256 6733928 1244 09:55:32 Average: 5608720 9896919 6036011 36.87 277012 3934678 6884969 39.52 2169169 7965852 578 09:55:32 09:55:32 08:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:55:32 08:30:02 lo 15.01 15.01 14.54 14.54 0.00 0.00 0.00 0.00 09:55:32 08:30:02 ens3 39.86 28.81 662.16 3.12 0.00 0.00 0.00 0.00 09:55:32 08:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 08:40:01 lo 17.07 17.07 10.10 10.10 0.00 0.00 0.00 0.00 09:55:32 08:40:01 ens3 1.63 1.69 0.44 2.03 0.00 0.00 0.00 0.00 09:55:32 08:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 08:50:01 lo 11.72 11.72 7.18 7.18 0.00 0.00 0.00 0.00 09:55:32 08:50:01 ens3 0.68 0.57 0.16 0.13 0.00 0.00 0.00 0.00 09:55:32 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:00:01 lo 9.82 9.82 4.52 4.52 0.00 0.00 0.00 0.00 09:55:32 09:00:01 ens3 0.74 0.76 0.22 0.19 0.00 0.00 0.00 0.00 09:55:32 09:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:10:01 lo 15.14 15.14 7.80 7.80 0.00 0.00 0.00 0.00 09:55:32 09:10:01 ens3 0.71 0.61 0.16 0.12 0.00 0.00 0.00 0.00 09:55:32 09:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:20:01 lo 15.86 15.86 8.07 8.07 0.00 0.00 0.00 0.00 09:55:32 09:20:01 ens3 0.70 0.61 0.16 0.14 0.00 0.00 0.00 0.00 09:55:32 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:30:01 lo 30.58 30.58 12.22 12.22 0.00 0.00 0.00 0.00 09:55:32 09:30:01 ens3 0.52 0.51 0.13 0.09 0.00 0.00 0.00 0.00 09:55:32 09:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:40:01 lo 19.28 19.28 10.12 10.12 0.00 0.00 0.00 0.00 09:55:32 09:40:01 ens3 5.84 3.52 3.76 2.52 0.00 0.00 0.00 0.00 09:55:32 09:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:50:01 lo 16.36 16.36 9.76 9.76 0.00 0.00 0.00 0.00 09:55:32 09:50:01 ens3 0.82 0.76 0.25 0.20 0.00 0.00 0.00 0.00 09:55:32 09:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 Average: lo 16.76 16.76 9.37 9.37 0.00 0.00 0.00 0.00 09:55:32 Average: ens3 5.73 4.21 74.22 0.95 0.00 0.00 0.00 0.00 09:55:32 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:55:32 09:55:32 09:55:32 ---> sar -P ALL: 09:55:32 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-30427) 06/25/26 _x86_64_ (4 CPU) 09:55:32 09:55:32 08:14:51 LINUX RESTART (4 CPU) 09:55:32 09:55:32 08:20:01 CPU %user %nice %system %iowait %steal %idle 09:55:32 08:30:02 all 52.25 0.00 2.16 5.06 0.12 40.42 09:55:32 08:30:02 0 52.95 0.00 2.02 4.38 0.12 40.53 09:55:32 08:30:02 1 51.06 0.00 2.22 5.93 0.11 40.67 09:55:32 08:30:02 2 52.63 0.00 2.04 4.18 0.12 41.02 09:55:32 08:30:02 3 52.33 0.00 2.35 5.74 0.12 39.47 09:55:32 08:40:01 all 25.85 0.00 1.03 6.77 0.10 66.25 09:55:32 08:40:01 0 25.70 0.00 1.05 4.05 0.10 69.11 09:55:32 08:40:01 1 26.02 0.00 0.97 11.99 0.10 60.93 09:55:32 08:40:01 2 25.83 0.00 1.05 5.88 0.10 67.13 09:55:32 08:40:01 3 25.85 0.00 1.05 5.19 0.09 67.83 09:55:32 08:50:01 all 18.81 0.00 0.74 0.31 0.08 80.06 09:55:32 08:50:01 0 19.45 0.00 0.74 0.45 0.08 79.28 09:55:32 08:50:01 1 18.23 0.00 0.71 0.17 0.08 80.80 09:55:32 08:50:01 2 18.90 0.00 0.81 0.53 0.09 79.67 09:55:32 08:50:01 3 18.64 0.00 0.70 0.10 0.08 80.48 09:55:32 09:00:01 all 17.35 0.00 0.67 0.46 0.07 81.44 09:55:32 09:00:01 0 16.76 0.00 0.61 0.23 0.07 82.33 09:55:32 09:00:01 1 16.88 0.00 0.67 0.08 0.07 82.30 09:55:32 09:00:01 2 18.62 0.00 0.70 1.46 0.07 79.15 09:55:32 09:00:01 3 17.16 0.00 0.71 0.08 0.07 81.98 09:55:32 09:10:01 all 27.71 0.00 0.89 0.05 0.08 71.26 09:55:32 09:10:01 0 26.88 0.00 0.90 0.04 0.08 72.10 09:55:32 09:10:01 1 27.85 0.00 0.83 0.02 0.08 71.22 09:55:32 09:10:01 2 28.23 0.00 0.79 0.06 0.08 70.83 09:55:32 09:10:01 3 27.89 0.00 1.04 0.10 0.08 70.89 09:55:32 09:20:01 all 13.55 0.00 0.53 0.03 0.06 85.84 09:55:32 09:20:01 0 12.85 0.00 0.47 0.02 0.06 86.59 09:55:32 09:20:01 1 13.87 0.00 0.45 0.04 0.06 85.58 09:55:32 09:20:01 2 14.40 0.00 0.70 0.02 0.06 84.81 09:55:32 09:20:01 3 13.09 0.00 0.48 0.02 0.06 86.35 09:55:32 09:30:01 all 12.73 0.00 0.49 0.02 0.06 86.70 09:55:32 09:30:01 0 12.74 0.00 0.48 0.03 0.06 86.70 09:55:32 09:30:01 1 13.06 0.00 0.48 0.01 0.07 86.38 09:55:32 09:30:01 2 12.75 0.00 0.49 0.05 0.06 86.65 09:55:32 09:30:01 3 12.34 0.00 0.50 0.00 0.06 87.09 09:55:32 09:40:01 all 10.99 0.00 0.47 0.29 0.06 88.20 09:55:32 09:40:01 0 11.07 0.00 0.52 0.27 0.06 88.08 09:55:32 09:40:01 1 10.65 0.00 0.39 0.26 0.06 88.65 09:55:32 09:40:01 2 11.22 0.00 0.45 0.36 0.06 87.92 09:55:32 09:40:01 3 11.01 0.00 0.51 0.26 0.06 88.17 09:55:32 09:50:01 all 14.12 0.00 0.61 0.25 0.06 84.96 09:55:32 09:50:01 0 13.57 0.00 0.60 0.17 0.06 85.61 09:55:32 09:50:01 1 14.27 0.00 0.68 0.21 0.06 84.79 09:55:32 09:50:01 2 13.94 0.00 0.55 0.56 0.06 84.90 09:55:32 09:50:01 3 14.71 0.00 0.62 0.08 0.06 84.53 09:55:32 Average: all 21.49 0.00 0.84 1.47 0.08 76.12 09:55:32 Average: 0 21.34 0.00 0.82 1.07 0.07 76.69 09:55:32 Average: 1 21.32 0.00 0.82 2.08 0.08 75.70 09:55:32 Average: 2 21.84 0.00 0.84 1.45 0.08 75.79 09:55:32 Average: 3 21.45 0.00 0.89 1.28 0.07 76.31 09:55:32 09:55:32 09:55:32