01:44:36 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/126737 01:44:36 Running as SYSTEM 01:44:36 [EnvInject] - Loading node environment variables. 01:44:36 Building remotely on prd-ubuntu2204-docker-4c-16g-62846 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 01:44:36 [ssh-agent] Looking for ssh-agent implementation... 01:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:36 $ ssh-agent 01:44:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlwOfBo/agent.1567 01:44:36 SSH_AGENT_PID=1569 01:44:36 [ssh-agent] Started. 01:44:36 Running ssh-add (command line suppressed) 01:44:37 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_13564582060820841557.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_13564582060820841557.key) 01:44:37 [ssh-agent] Using credentials jenkins (jenkins-ssh) 01:44:37 The recommended git tool is: NONE 01:44:39 using credential jenkins-ssh 01:44:39 Wiping out workspace first. 01:44:39 Cloning the remote Git repository 01:44:39 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 01:44:39 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 01:44:39 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 01:44:39 > git --version # timeout=10 01:44:39 > git --version # 'git version 2.34.1' 01:44:39 using GIT_SSH to set credentials jenkins-ssh 01:44:39 Verifying host key using known hosts file, will automatically accept unseen keys 01:44:39 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:42 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 01:44:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:43 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 01:44:43 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 01:44:43 using GIT_SSH to set credentials jenkins-ssh 01:44:43 Verifying host key using known hosts file, will automatically accept unseen keys 01:44:43 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/37/126737/2 # timeout=10 01:44:43 > git rev-parse 7b8b04e0571fd61cb3d92816954fcf586d28ed59^{commit} # timeout=10 01:44:43 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 01:44:43 Checking out Revision 7b8b04e0571fd61cb3d92816954fcf586d28ed59 (refs/changes/37/126737/2) 01:44:43 > git config core.sparsecheckout # timeout=10 01:44:43 > git checkout -f 7b8b04e0571fd61cb3d92816954fcf586d28ed59 # timeout=10 01:44:47 Commit message: "fix: replace accidental substring tests with ==" 01:44:47 > git rev-parse FETCH_HEAD^{commit} # timeout=10 01:44:47 > git rev-list --no-walk 778c4831b98f585a845bf3baa723efd596bd713c # timeout=10 01:44:47 > git remote # timeout=10 01:44:47 > git submodule init # timeout=10 01:44:47 > git submodule sync # timeout=10 01:44:47 > git config --get remote.origin.url # timeout=10 01:44:47 > git submodule init # timeout=10 01:44:47 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 01:44:47 ERROR: No submodules found. 01:44:47 provisioning config files... 01:44:47 copy managed file [npmrc] to file:/home/jenkins/.npmrc 01:44:47 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 01:44:47 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12543689157861918048.sh 01:44:47 ---> python-tools-install.sh 01:44:47 Setup pyenv: 01:44:47 * system (set by /opt/pyenv/version) 01:44:47 * 3.8.20 (set by /opt/pyenv/version) 01:44:47 * 3.9.20 (set by /opt/pyenv/version) 01:44:47 3.10.15 01:44:47 3.11.10 01:44:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-94YF 01:44:52 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 01:44:52 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:44:57 lf-activate-venv(): INFO: Installing additional packages: lftools 01:45:21 lf-activate-venv(): INFO: Adding /tmp/venv-94YF/bin to PATH 01:45:21 Generating Requirements File 01:45:45 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. 01:45:45 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 01:45:46 Python 3.11.10 01:45:46 pip 26.2.1 from /tmp/venv-94YF/lib/python3.11/site-packages/pip (python 3.11) 01:45:46 aiohappyeyeballs==2.7.1 01:45:46 aiohttp==3.14.4 01:45:46 aiosignal==1.4.0 01:45:46 appdirs==1.4.4 01:45:46 argcomplete==3.7.2 01:45:46 aspy.yaml==1.3.0 01:45:46 attrs==26.1.0 01:45:46 autopage==0.6.0 01:45:46 beautifulsoup4==4.15.0 01:45:46 boto3==1.43.109 01:45:46 botocore==1.43.109 01:45:46 bs4==0.0.2 01:45:46 certifi==2026.7.22 01:45:46 cffi==2.1.1 01:45:46 cfgv==3.5.0 01:45:46 chardet==7.6.0 01:45:46 charset-normalizer==3.5.2 01:45:46 click==8.5.0 01:45:46 cliff==4.16.0 01:45:46 cmd2==4.2.4 01:45:46 cryptography==3.3.2 01:45:46 debtcollector==3.1.0 01:45:46 decorator==5.3.1 01:45:46 defusedxml==0.7.1 01:45:46 Deprecated==1.3.1 01:45:46 distlib==0.4.3 01:45:46 dnspython==2.8.0 01:45:46 docker==7.2.0 01:45:46 dogpile.cache==1.5.0 01:45:46 durationpy==0.11 01:45:46 email-validator==2.3.0 01:45:46 filelock==4.0.12 01:45:46 frozenlist==1.8.0 01:45:46 future==1.0.0 01:45:46 gitdb==4.0.12 01:45:46 GitPython==3.2.0 01:45:46 httplib2==0.30.2 01:45:46 identify==2.6.20 01:45:46 idna==3.20 01:45:46 importlib-resources==1.5.0 01:45:46 iso8601==2.1.0 01:45:46 Jinja2==3.1.6 01:45:46 jmespath==1.1.0 01:45:46 jsonpatch==1.33 01:45:46 jsonpointer==3.2.0 01:45:46 jsonschema==4.26.0 01:45:46 jsonschema-specifications==2025.9.1 01:45:46 keystoneauth1==5.18.0 01:45:46 kubernetes==36.0.3 01:45:46 lftools==0.37.23 01:45:46 lxml==6.1.3 01:45:46 markdown-it-py==4.2.0 01:45:46 MarkupSafe==3.0.4 01:45:46 mdurl==0.1.2 01:45:46 msgpack==1.2.3 01:45:46 multi_key_dict==2.0.3 01:45:46 multidict==6.9.1 01:45:46 munch==4.0.0 01:45:46 netaddr==1.3.0 01:45:46 niet==1.4.2 01:45:46 nodeenv==1.11.0 01:45:46 oauth2client==4.1.3 01:45:46 oauthlib==4.0.0 01:45:46 openstacksdk==4.21.0 01:45:46 os-service-types==1.9.0 01:45:46 osc-lib==4.7.0 01:45:46 oslo.config==10.7.0 01:45:46 oslo.context==6.5.0 01:45:46 oslo.i18n==6.9.0 01:45:46 oslo.log==8.3.2 01:45:46 oslo.serialization==5.11.0 01:45:46 oslo.utils==10.2.0 01:45:46 packaging==26.3 01:45:46 pbr==7.1.3 01:45:46 platformdirs==4.12.4 01:45:46 prettytable==3.18.0 01:45:46 prompt_toolkit==3.0.53 01:45:46 propcache==0.5.4 01:45:46 psutil==7.2.2 01:45:46 pyasn1==0.6.4 01:45:46 pyasn1_modules==0.4.2 01:45:46 pycparser==3.0 01:45:46 pygerrit2==2.0.15 01:45:46 PyGithub==2.10.0 01:45:46 Pygments==2.21.0 01:45:46 PyJWT==2.15.1 01:45:46 PyNaCl==1.6.2 01:45:46 pyparsing==2.4.7 01:45:46 pyperclip==1.11.0 01:45:46 pyrsistent==0.20.0 01:45:46 python-dateutil==2.9.0.post0 01:45:46 python-discovery==1.6.1 01:45:46 python-heatclient==5.3.0 01:45:46 python-jenkins==1.8.3 01:45:46 python-keystoneclient==6.0.0 01:45:46 python-magnumclient==5.0.0 01:45:46 python-manilaclient==6.3.0 01:45:46 python-openstackclient==10.3.0 01:45:46 python-swiftclient==4.11.0 01:45:46 PyYAML==6.0.3 01:45:46 referencing==0.37.0 01:45:46 requests==2.34.2 01:45:46 requests-oauthlib==2.0.0 01:45:46 rfc3986==2.0.0 01:45:46 rich==15.0.0 01:45:46 rich-argparse==1.8.0 01:45:46 rpds-py==2026.9.1 01:45:46 rsa==4.9.1 01:45:46 ruamel.yaml==0.19.1 01:45:46 ruamel.yaml.clib==0.2.15 01:45:46 s3transfer==0.19.2 01:45:46 simplejson==4.2.0 01:45:46 six==1.17.0 01:45:46 smmap==5.0.3 01:45:46 soupsieve==2.10 01:45:46 stevedore==5.9.1 01:45:46 tabulate==0.10.0 01:45:46 toml==0.10.2 01:45:46 tomlkit==0.15.1 01:45:46 tqdm==4.70.1 01:45:46 typing_extensions==4.16.0 01:45:46 urllib3==1.26.20 01:45:46 virtualenv==21.14.5 01:45:46 wcwidth==0.9.2 01:45:46 websocket-client==1.9.2 01:45:46 wrapt==2.5.0 01:45:46 xdg==6.0.0 01:45:46 xmltodict==1.0.4 01:45:46 yarl==1.25.1 01:45:46 yq==4.4.0 01:45:46 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins16277269292273245461.sh 01:45:46 ---> uv-install.sh 01:45:46 Installing uv/uvx (latest) using shell installer 01:45:48 2026-10-08 01:45:48 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71308/71308] -> "/tmp/uv-install-jwkZ0t.sh" [1] 01:45:48 downloading uv 0.12.23 x86_64-unknown-linux-gnu 01:45:49 installing to /home/jenkins/.local/bin 01:45:49 uv 01:45:49 uvx 01:45:49 everything's installed! 01:45:49 01:45:49 To add $HOME/.local/bin to your PATH, either restart your shell or run: 01:45:49 01:45:49 source $HOME/.local/bin/env (sh, bash, zsh) 01:45:49 source $HOME/.local/bin/env.fish (fish) 01:45:49 Adding install location to PATH 01:45:49 ---> Validating uv/uvx install 01:45:49 uvx 0.12.23 (x86_64-unknown-linux-gnu) 01:45:49 [EnvInject] - Injecting environment variables from a build step. 01:45:49 [EnvInject] - Injecting as environment variables the properties content 01:45:49 PYTHON=python3 01:45:49 01:45:49 [EnvInject] - Variables injected successfully. 01:45:49 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins13632565085678471633.sh 01:45:49 ---> tox-install.sh 01:45:49 + source /home/jenkins/lf-env.sh 01:45:49 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 01:45:49 ++ mktemp -d /tmp/venv-XXXX 01:45:49 + lf_venv=/tmp/venv-5Cof 01:45:49 + local venv_file=/tmp/.os_lf_venv 01:45:49 + local python=python3 01:45:49 + local options 01:45:49 + local set_path=true 01:45:49 + local install_args= 01:45:49 ++ 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 01:45:49 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 01:45:49 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 01:45:49 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 01:45:49 + true 01:45:49 + case $1 in 01:45:49 + venv_file=/tmp/.toxenv 01:45:49 + shift 2 01:45:49 + true 01:45:49 + case $1 in 01:45:49 + shift 01:45:49 + break 01:45:49 + case $python in 01:45:49 + local pkg_list= 01:45:49 + [[ -d /opt/pyenv ]] 01:45:49 + echo 'Setup pyenv:' 01:45:49 Setup pyenv: 01:45:49 + export PYENV_ROOT=/opt/pyenv 01:45:49 + PYENV_ROOT=/opt/pyenv 01:45:49 + 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 01:45:49 + 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 01:45:49 + pyenv versions 01:45:49 system 01:45:49 3.8.20 01:45:49 3.9.20 01:45:49 3.10.15 01:45:49 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:45:49 + command -v pyenv 01:45:49 ++ pyenv init - --no-rehash 01:45:49 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 01:45:49 for i in ${!paths[@]}; do 01:45:49 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 01:45:49 fi; done; 01:45:49 echo "${paths[*]}"'\'')" 01:45:49 export PATH="/opt/pyenv/shims:${PATH}" 01:45:49 export PYENV_SHELL=bash 01:45:49 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 01:45:49 pyenv() { 01:45:49 local command 01:45:49 command="${1:-}" 01:45:49 if [ "$#" -gt 0 ]; then 01:45:49 shift 01:45:49 fi 01:45:49 01:45:49 case "$command" in 01:45:49 rehash|shell) 01:45:49 eval "$(pyenv "sh-$command" "$@")" 01:45:49 ;; 01:45:49 *) 01:45:49 command pyenv "$command" "$@" 01:45:49 ;; 01:45:49 esac 01:45:49 }' 01:45:49 +++ bash --norc -ec 'IFS=:; paths=($PATH); 01:45:49 for i in ${!paths[@]}; do 01:45:49 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 01:45:49 fi; done; 01:45:49 echo "${paths[*]}"' 01:45:49 ++ 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 01:45:49 ++ 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 01:45:49 ++ 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 01:45:49 ++ export PYENV_SHELL=bash 01:45:49 ++ PYENV_SHELL=bash 01:45:49 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 01:45:49 +++ complete -F _pyenv pyenv 01:45:49 ++ lf-pyver python3 01:45:49 ++ local py_version_xy=python3 01:45:49 ++ local py_version_xyz= 01:45:49 ++ pyenv versions 01:45:49 ++ local command 01:45:49 ++ command=versions 01:45:49 ++ sed 's/^[ *]* //' 01:45:49 ++ '[' 1 -gt 0 ']' 01:45:49 ++ shift 01:45:49 ++ case "$command" in 01:45:49 ++ command pyenv versions 01:45:49 ++ awk '{ print $1 }' 01:45:49 ++ grep -E '^[0-9.]*[0-9]$' 01:45:50 ++ [[ ! -s /tmp/.pyenv_versions ]] 01:45:50 +++ grep '^3' /tmp/.pyenv_versions 01:45:50 +++ sort -V 01:45:50 +++ tail -n 1 01:45:50 ++ py_version_xyz=3.11.10 01:45:50 ++ [[ -z 3.11.10 ]] 01:45:50 ++ echo 3.11.10 01:45:50 ++ return 0 01:45:50 + pyenv local 3.11.10 01:45:50 + local command 01:45:50 + command=local 01:45:50 + '[' 2 -gt 0 ']' 01:45:50 + shift 01:45:50 + case "$command" in 01:45:50 + command pyenv local 3.11.10 01:45:50 + for arg in "$@" 01:45:50 + case $arg in 01:45:50 + pkg_list+='tox ' 01:45:50 + for arg in "$@" 01:45:50 + case $arg in 01:45:50 + pkg_list+='virtualenv ' 01:45:50 + for arg in "$@" 01:45:50 + case $arg in 01:45:50 + pkg_list+='urllib3~=1.26.15 ' 01:45:50 + [[ -f /tmp/.toxenv ]] 01:45:50 + [[ ! -f /tmp/.toxenv ]] 01:45:50 + [[ -n '' ]] 01:45:50 + python3 -m venv /tmp/venv-5Cof 01:45:54 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5Cof' 01:45:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5Cof 01:45:54 + echo /tmp/venv-5Cof 01:45:54 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 01:45:54 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 01:45:54 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 01:45:54 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:45:54 + local 'pip_opts=--upgrade --quiet' 01:45:54 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 01:45:54 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 01:45:54 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 01:45:54 + [[ -n '' ]] 01:45:54 + [[ -n '' ]] 01:45:54 + lf-venv-pip-install /tmp/venv-5Cof/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 01:45:54 + local venv_python=/tmp/venv-5Cof/bin/python3 01:45:54 + shift 01:45:54 + local upstream=https://pypi.org/simple 01:45:54 + /tmp/venv-5Cof/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 01:45:58 + return 0 01:45:58 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 01:45:58 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 01:45:58 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 01:45:58 + lf-venv-pip-install /tmp/venv-5Cof/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 01:45:58 + local venv_python=/tmp/venv-5Cof/bin/python3 01:45:58 + shift 01:45:58 + local upstream=https://pypi.org/simple 01:45:58 + /tmp/venv-5Cof/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 01:46:00 + return 0 01:46:00 + type python3 01:46:00 + true 01:46:00 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-5Cof/bin to PATH' 01:46:00 lf-activate-venv(): INFO: Adding /tmp/venv-5Cof/bin to PATH 01:46:00 + PATH=/tmp/venv-5Cof/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 01:46:00 + return 0 01:46:00 + python3 --version 01:46:00 Python 3.11.10 01:46:00 + python3 -m pip --version 01:46:00 pip 26.2.1 from /tmp/venv-5Cof/lib/python3.11/site-packages/pip (python 3.11) 01:46:00 + python3 -m pip freeze 01:46:00 cachetools==7.2.1 01:46:00 colorama==0.4.6 01:46:00 distlib==0.4.3 01:46:00 filelock==4.0.12 01:46:00 packaging==26.3 01:46:00 platformdirs==4.12.4 01:46:00 pluggy==1.6.0 01:46:00 pyproject-api==1.11.4 01:46:00 python-discovery==1.6.1 01:46:00 tomli_w==1.2.0 01:46:00 tox==4.64.9 01:46:00 typing_extensions==4.16.0 01:46:00 urllib3==1.26.20 01:46:00 virtualenv==21.14.5 01:46:00 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins16929374646195201146.sh 01:46:00 [EnvInject] - Injecting environment variables from a build step. 01:46:00 [EnvInject] - Injecting as environment variables the properties content 01:46:00 PARALLEL=True 01:46:00 01:46:00 [EnvInject] - Variables injected successfully. 01:46:01 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins10072811757069070059.sh 01:46:01 ---> tox-run.sh 01:46:01 + 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 01:46:01 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 01:46:01 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 01:46:01 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 01:46:01 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 01:46:01 + source /home/jenkins/lf-env.sh 01:46:01 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 01:46:01 ++ mktemp -d /tmp/venv-XXXX 01:46:01 + lf_venv=/tmp/venv-FRg0 01:46:01 + local venv_file=/tmp/.os_lf_venv 01:46:01 + local python=python3 01:46:01 + local options 01:46:01 + local set_path=true 01:46:01 + local install_args= 01:46:01 ++ 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 01:46:01 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 01:46:01 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 01:46:01 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 01:46:01 + true 01:46:01 + case $1 in 01:46:01 + venv_file=/tmp/.toxenv 01:46:01 + shift 2 01:46:01 + true 01:46:01 + case $1 in 01:46:01 + shift 01:46:01 + break 01:46:01 + case $python in 01:46:01 + local pkg_list= 01:46:01 + [[ -d /opt/pyenv ]] 01:46:01 + echo 'Setup pyenv:' 01:46:01 Setup pyenv: 01:46:01 + export PYENV_ROOT=/opt/pyenv 01:46:01 + PYENV_ROOT=/opt/pyenv 01:46:01 + 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 01:46:01 + 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 01:46:01 + pyenv versions 01:46:01 system 01:46:01 3.8.20 01:46:01 3.9.20 01:46:01 3.10.15 01:46:01 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:46:01 + command -v pyenv 01:46:01 ++ pyenv init - --no-rehash 01:46:01 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 01:46:01 for i in ${!paths[@]}; do 01:46:01 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 01:46:01 fi; done; 01:46:01 echo "${paths[*]}"'\'')" 01:46:01 export PATH="/opt/pyenv/shims:${PATH}" 01:46:01 export PYENV_SHELL=bash 01:46:01 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 01:46:01 pyenv() { 01:46:01 local command 01:46:01 command="${1:-}" 01:46:01 if [ "$#" -gt 0 ]; then 01:46:01 shift 01:46:01 fi 01:46:01 01:46:01 case "$command" in 01:46:01 rehash|shell) 01:46:01 eval "$(pyenv "sh-$command" "$@")" 01:46:01 ;; 01:46:01 *) 01:46:01 command pyenv "$command" "$@" 01:46:01 ;; 01:46:01 esac 01:46:01 }' 01:46:01 +++ bash --norc -ec 'IFS=:; paths=($PATH); 01:46:01 for i in ${!paths[@]}; do 01:46:01 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 01:46:01 fi; done; 01:46:01 echo "${paths[*]}"' 01:46:01 ++ 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 01:46:01 ++ 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 01:46:01 ++ 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 01:46:01 ++ export PYENV_SHELL=bash 01:46:01 ++ PYENV_SHELL=bash 01:46:01 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 01:46:01 +++ complete -F _pyenv pyenv 01:46:01 ++ lf-pyver python3 01:46:01 ++ local py_version_xy=python3 01:46:01 ++ local py_version_xyz= 01:46:01 ++ pyenv versions 01:46:01 ++ local command 01:46:01 ++ command=versions 01:46:01 ++ '[' 1 -gt 0 ']' 01:46:01 ++ shift 01:46:01 ++ case "$command" in 01:46:01 ++ sed 's/^[ *]* //' 01:46:01 ++ command pyenv versions 01:46:01 ++ awk '{ print $1 }' 01:46:01 ++ grep -E '^[0-9.]*[0-9]$' 01:46:01 ++ [[ ! -s /tmp/.pyenv_versions ]] 01:46:01 +++ grep '^3' /tmp/.pyenv_versions 01:46:01 +++ sort -V 01:46:01 +++ tail -n 1 01:46:01 ++ py_version_xyz=3.11.10 01:46:01 ++ [[ -z 3.11.10 ]] 01:46:01 ++ echo 3.11.10 01:46:01 ++ return 0 01:46:01 + pyenv local 3.11.10 01:46:01 + local command 01:46:01 + command=local 01:46:01 + '[' 2 -gt 0 ']' 01:46:01 + shift 01:46:01 + case "$command" in 01:46:01 + command pyenv local 3.11.10 01:46:01 + for arg in "$@" 01:46:01 + case $arg in 01:46:01 + pkg_list+='tox ' 01:46:01 + for arg in "$@" 01:46:01 + case $arg in 01:46:01 + pkg_list+='virtualenv ' 01:46:01 + for arg in "$@" 01:46:01 + case $arg in 01:46:01 + pkg_list+='urllib3~=1.26.15 ' 01:46:01 + [[ -f /tmp/.toxenv ]] 01:46:01 ++ cat /tmp/.toxenv 01:46:01 + lf_venv=/tmp/venv-5Cof 01:46:01 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5Cof from' file:/tmp/.toxenv 01:46:01 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5Cof from file:/tmp/.toxenv 01:46:01 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 01:46:01 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:46:01 + local 'pip_opts=--upgrade --quiet' 01:46:01 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 01:46:01 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 01:46:01 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 01:46:01 + [[ -n '' ]] 01:46:01 + [[ -n '' ]] 01:46:01 + lf-venv-pip-install /tmp/venv-5Cof/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 01:46:01 + local venv_python=/tmp/venv-5Cof/bin/python3 01:46:01 + shift 01:46:01 + local upstream=https://pypi.org/simple 01:46:01 + /tmp/venv-5Cof/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 01:46:02 + return 0 01:46:02 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 01:46:02 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 01:46:02 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 01:46:02 + lf-venv-pip-install /tmp/venv-5Cof/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 01:46:02 + local venv_python=/tmp/venv-5Cof/bin/python3 01:46:02 + shift 01:46:02 + local upstream=https://pypi.org/simple 01:46:02 + /tmp/venv-5Cof/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 01:46:03 + return 0 01:46:03 + type python3 01:46:03 + true 01:46:03 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-5Cof/bin to PATH' 01:46:03 lf-activate-venv(): INFO: Adding /tmp/venv-5Cof/bin to PATH 01:46:03 + PATH=/tmp/venv-5Cof/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 01:46:03 + return 0 01:46:03 + [[ -d /opt/pyenv ]] 01:46:03 + echo '---> Setting up pyenv' 01:46:03 ---> Setting up pyenv 01:46:03 + export PYENV_ROOT=/opt/pyenv 01:46:03 + PYENV_ROOT=/opt/pyenv 01:46:03 + export PATH=/opt/pyenv/bin:/tmp/venv-5Cof/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 01:46:03 + PATH=/opt/pyenv/bin:/tmp/venv-5Cof/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 01:46:03 ++ pwd 01:46:03 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 01:46:03 + export PYTHONPATH 01:46:03 + export TOX_TESTENV_PASSENV=PYTHONPATH 01:46:03 + TOX_TESTENV_PASSENV=PYTHONPATH 01:46:03 + tox --version 01:46:03 4.64.9 from /tmp/venv-5Cof/lib/python3.11/site-packages/tox/__init__.py 01:46:03 + PARALLEL=True 01:46:03 + TOX_OPTIONS_LIST= 01:46:03 + [[ -n '' ]] 01:46:03 + case ${PARALLEL,,} in 01:46:03 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 01:46:03 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 01:46:03 + tox --parallel auto --parallel-live 01:46:05 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 01:46:05 docs: install_deps> python -I -m pip install -r docs/requirements.txt 01:46:05 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 01:46:05 checkbashisms: freeze> python -m pip freeze --all 01:46:06 checkbashisms: pip==26.2.1,setuptools==84.0.0 01:46:06 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 01:46:06 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)' 01:46:06 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 01:46:07 checkbashisms: OK ✔ in 3.21 seconds 01:46:07 pre-commit: install_deps> python -I -m pip install pre-commit 01:46:10 pre-commit: freeze> python -m pip freeze --all 01:46:10 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==4.0.12,identify==2.6.20,nodeenv==1.11.0,packaging==26.3,pip==26.2.1,platformdirs==4.12.4,pre_commit==4.6.2,python-discovery==1.6.1,PyYAML==6.0.3,setuptools==84.0.0,virtualenv==21.14.5 01:46:10 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 01:46:10 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)' 01:46:10 /usr/bin/cpan 01:46:10 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 01:46:10 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 01:46:11 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 01:46:11 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 01:46:12 buildcontroller: freeze> python -m pip freeze --all 01:46:12 buildcontroller: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:12 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 01:46:12 + update-java-alternatives -l 01:46:12 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 01:46:12 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 01:46:12 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 01:46:12 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 01:46:12 update-alternatives: error: no alternatives for jaotc 01:46:12 update-alternatives: error: no alternatives for rmic 01:46:12 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 01:46:12 + java -version 01:46:12 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 01:46:13 + JAVA_VER=21.0 01:46:13 + echo 21.0 01:46:13 21.0 01:46:13 + javac -version 01:46:13 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 01:46:13 21.0 01:46:13 No java21 or newer available 01:46:13 + JAVAC_VER=21.0 01:46:13 + echo 21.0 01:46:13 + [ 21.0 -ge 21 ] 01:46:13 ./installMavenUbuntu.sh: 14: [: Illegal number: 21.0 01:46:13 + echo No java21 or newer available 01:46:13 + exit 1 01:46:13 buildcontroller: exit 1 (0.65 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh pid=2692 01:46:13 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 01:46:13 buildcontroller: FAIL ✖ in 9.11 seconds 01:46:13 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 01:46:13 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 01:46:14 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 01:46:14 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 01:46:15 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 01:46:15 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 01:46:15 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 01:46:15 [INFO] Once installed this environment will be reused. 01:46:15 [INFO] This may take a few minutes... 01:46:16 pylint: freeze> python -m pip freeze --all 01:46:17 pylint: astroid==4.3.3,dill==0.4.1,isort==9.0.2,mccabe==0.7.0,mypy_extensions==1.1.0,pip==26.2.1,platformdirs==4.12.4,pylint==4.1.2,setuptools==84.0.0,tomlkit==0.15.1 01:46:17 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}$' '{}' + 01:46:20 docs-linkcheck: freeze> python -m pip freeze --all 01:46:20 docs: freeze> python -m pip freeze --all 01:46:20 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.52.1,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.5.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.8.0 01:46:20 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 01:46:20 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,certifi==2026.7.22,charset-normalizer==3.5.2,deepmerge==3.0.1,docutils==0.22.4,idna==3.20,imagesize==2.0.1,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,jsonschema_rs==0.52.1,lfdocs_conf==0.11.0,MarkupSafe==3.0.4,minijinja==2.24.0,mistune==3.3.4,packaging==26.3,picobox==4.0.0,pip==26.2.1,Pygments==2.21.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,requests-file==3.0.1,roman-numerals==4.1.0,rpds-py==2026.9.1,setuptools==84.0.0,snowballstemmer==3.1.1,Sphinx==9.0.4,sphinx-data-viewer==0.1.5,sphinx-needs==8.5.0,sphinx-tabs==3.5.0,sphinx_mdinclude==0.6.2,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-mermaid==2.1.1,sphinxcontrib-openapi==0.9.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,typing_extensions==4.16.0,urllib3==2.8.0 01:46: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 01:46:20 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 01:46:20 [INFO] Once installed this environment will be reused. 01:46:20 [INFO] This may take a few minutes... 01:46:23 docs: OK ✔ in 19.1 seconds 01:46:23 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 01:46:25 docs-linkcheck: OK ✔ in 21.26 seconds 01:46:25 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 01:46:26 [INFO] Installing environment for https://github.com/hhatto/autopep8. 01:46:26 [INFO] Once installed this environment will be reused. 01:46:26 [INFO] This may take a few minutes... 01:46:30 [INFO] Installing environment for https://github.com/perltidy/perltidy. 01:46:30 [INFO] Once installed this environment will be reused. 01:46:30 [INFO] This may take a few minutes... 01:46:31 build_karaf_tests221: freeze> python -m pip freeze --all 01:46:31 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:31 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 01:46:31 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karaf221 01:46:31 ./build_karaf_for_tests.sh: 22: mvn: not found 01:46:31 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 01:46:31 build karaf in karaf221 with ./karaf221.env 01:46:31 build_karaf_tests221: exit 127 (0.00 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=3335 01:46:31 build_karaf_tests221: FAIL ✖ in 8.48 seconds 01:46:31 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 01:46:32 build_karaf_tests71: freeze> python -m pip freeze --all 01:46:32 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:32 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 01:46:32 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karaf71 01:46:32 ./build_karaf_for_tests.sh: 22: mvn: not found 01:46:32 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 01:46:32 build karaf in karaf71 with ./karaf71.env 01:46:32 build_karaf_tests71: exit 127 (0.02 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=3359 01:46:32 build_karaf_tests71: FAIL ✖ in 7.29 seconds 01:46:32 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 01:46:34 01:46:34 ------------------------------------ 01:46:34 Your code has been rated at 10.00/10 01:46:34 01:46:37 pylint: OK ✔ in 23.64 seconds 01:46:37 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 01:46:38 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 01:46:38 [INFO] Once installed this environment will be reused. 01:46:38 [INFO] This may take a few minutes... 01:46:38 build_karaf_tests200: freeze> python -m pip freeze --all 01:46:38 build_karaf_tests200: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:38 build_karaf_tests200: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 01:46:38 build karaf in karafoc200 with ./karafoc200.env 01:46:38 ./build_karaf_for_tests.sh: 21: cd: can't cd to ../karafoc200 01:46:38 ./build_karaf_for_tests.sh: 22: mvn: not found 01:46:38 ./build_karaf_for_tests.sh: 23: ./target/assembly/ressources/post_install_for_tests.sh: not found 01:46:38 build_karaf_tests200: exit 127 (0.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=3497 01:46:38 build_karaf_tests200: FAIL ✖ in 6.91 seconds 01:46:38 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 01:46:39 buildlighty: freeze> python -m pip freeze --all 01:46:39 buildlighty: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:39 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 01:46:39 ./build.sh: 7: mvn: not found 01:46:39 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 01:46:39 buildlighty: exit 9 (0.01 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=3522 01:46:41 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 01:46:41 [INFO] Once installed this environment will be reused. 01:46:41 [INFO] This may take a few minutes... 01:46:43 buildlighty: FAIL ✖ in 6.77 seconds 01:46:43 sims: freeze> python -m pip freeze --all 01:46:43 sims: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:46:43 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 01:46:43 Using lighynode version 22.1.0.7 01:46:43 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 01:46:45 trim trailing whitespace.................................................Passed 01:46:46 fix end of files.........................................................Passed 01:46:46 check for added large files..............................................Passed 01:46:46 check for merge conflicts................................................Passed 01:46:46 check for case conflicts.................................................Passed 01:46:46 check json...............................................................Passed 01:46:46 mixed line ending........................................................Passed 01:46:47 Tabs remover.............................................................Passed 01:46:47 autopep8.................................................................Passed 01:46:49 perltidy.................................................................Passed 01:46:49 ShellCheck v0.11.0.......................................................Passed 01:46:55 prettier.................................................................Passed 01:46:56 yamllint.................................................................Passed 01:46:56 sims: OK ✔ in 15.97 seconds 01:46:56 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 01:46:57 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 01:46:57 [INFO] Once installed this environment will be reused. 01:46:57 [INFO] This may take a few minutes... 01:47:06 gitlint..................................................................Passed 01:47:27 pre-commit: OK ✔ in 58.82 seconds 01:47:27 testsPCE: freeze> python -m pip freeze --all 01:47:28 testsPCE: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,click==8.5.0,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.8,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.66.1,gnpy4tpce==2.4.7,idna==3.20,iniconfig==2.3.1,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.1,lxml==6.1.3,MarkupSafe==3.0.4,matplotlib==3.11.2,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.3,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.3.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pyparsing==3.3.3,pytest==9.1.1,python-dateutil==2.9.0.post0,pytz==2026.5,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.8.0,Werkzeug==2.0.3,xlrd==1.2.0 01:47:28 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 01:47:28 pytest -q transportpce_tests/pce/test01_pce.py 01:49:28 EEEEEEEEEEEEEEEEEEEE [100%] 01:49:32 ==================================== ERRORS ==================================== 01:49:32 _______ ERROR at setup of TestTransportPCEPce.test_01_load_port_mapping ________ 01:49:32 01:49:32 cls = 01:49:32 01:49:32 @classmethod 01:49:32 def setUpClass(cls): 01:49:32 # pylint: disable=bare-except 01:49:32 sample_files_parsed = False 01:49:32 time.sleep(20) 01:49:32 try: 01:49:32 TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 01:49:32 "..", "..", "sample_configs", "honeynode-topo.json") 01:49:32 with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir: 01:49:32 cls.simple_topo_bi_dir_data = topo_bi_dir.read() 01:49:32 01:49:32 TOPO_UNI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 01:49:32 "..", "..", "sample_configs", "NW-simple-topology.json") 01:49:32 01:49:32 with open(TOPO_UNI_DIR_FILE, 'r', encoding='utf-8') as topo_uni_dir: 01:49:32 cls.simple_topo_uni_dir_data = topo_uni_dir.read() 01:49:32 01:49:32 TOPO_UNI_DIR_COMPLEX_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 01:49:32 "..", "..", "sample_configs", "NW-for-test-5-4.json") 01:49:32 with open(TOPO_UNI_DIR_COMPLEX_FILE, 'r', encoding='utf-8') as topo_uni_dir_complex: 01:49:32 cls.complex_topo_uni_dir_data = topo_uni_dir_complex.read() 01:49:32 PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), 01:49:32 "..", "..", "sample_configs", "pce_portmapping_221.json") 01:49:32 with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: 01:49:32 cls.port_mapping_data = port_mapping.read() 01:49:32 sample_files_parsed = True 01:49:32 except PermissionError as err: 01:49:32 print("Permission Error when trying to read sample files\n", err) 01:49:32 sys.exit(2) 01:49:32 except FileNotFoundError as err: 01:49:32 print("File Not found Error when trying to read sample files\n", err) 01:49:32 sys.exit(2) 01:49:32 except: 01:49:32 print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) 01:49:32 sys.exit(2) 01:49:32 finally: 01:49:32 if sample_files_parsed: 01:49:32 print("sample files content loaded") 01:49:32 01:49:32 > cls.processes = test_utils.start_tpce() 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 01:49:32 transportpce_tests/pce/test01_pce.py:93: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 def start_tpce(): 01:49:32 if 'NO_ODL_STARTUP' in os.environ: 01:49:32 print('No OpenDaylight instance to start!') 01:49:32 return [] 01:49:32 print('starting OpenDaylight...') 01:49:32 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 01:49:32 process = start_lighty() 01:49:32 else: 01:49:32 process = start_karaf() 01:49:32 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 01:49:32 print('OpenDaylight started !') 01:49:32 else: 01:49:32 print('OpenDaylight failed to start !') 01:49:32 shutdown_process(process) 01:49:32 for pid in process_list: 01:49:32 shutdown_process(pid) 01:49:32 > sys.exit(1) 01:49:32 E SystemExit: 1 01:49:32 01:49:32 transportpce_tests/common/test_utils.py:234: SystemExit 01:49:32 ---------------------------- Captured stdout setup ----------------------------- 01:49:32 sample files content loaded 01:49:32 starting OpenDaylight... 01:49:32 starting KARAF (karaf) TransportPCE build... 01:49:32 Pattern not found after 100 seconds! OpenDaylight failed to start ! 01:49:32 ____ ERROR at setup of TestTransportPCEPce.test_02_load_simple_topology_bi _____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87380> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___________ ERROR at setup of TestTransportPCEPce.test_03_get_nodeId ___________ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9fc40> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___________ ERROR at setup of TestTransportPCEPce.test_04_get_linkId ___________ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9f420> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ____ ERROR at setup of TestTransportPCEPce.test_05_path_computation_xpdr_bi ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87380> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ____ ERROR at setup of TestTransportPCEPce.test_06_path_computation_rdm_bi _____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9f1a0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ____ ERROR at setup of TestTransportPCEPce.test_07_load_simple_topology_uni ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9f6a0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___________ ERROR at setup of TestTransportPCEPce.test_08_get_nodeId ___________ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae49f9da0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___________ ERROR at setup of TestTransportPCEPce.test_09_get_linkId ___________ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87ec0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___ ERROR at setup of TestTransportPCEPce.test_10_path_computation_xpdr_uni ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87380> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ____ ERROR at setup of TestTransportPCEPce.test_11_path_computation_rdm_uni ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87ec0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 _____ ERROR at setup of TestTransportPCEPce.test_12_load_complex_topology ______ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae49f9940> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___________ ERROR at setup of TestTransportPCEPce.test_13_get_nodeId ___________ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9f1a0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 _____ ERROR at setup of TestTransportPCEPce.test_14_fail_path_computation ______ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87380> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___ ERROR at setup of TestTransportPCEPce.test_15_success1_path_computation ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae49fa980> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___ ERROR at setup of TestTransportPCEPce.test_16_success2_path_computation ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9c540> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 ___ ERROR at setup of TestTransportPCEPce.test_17_success3_path_computation ____ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f87380> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 _ ERROR at setup of TestTransportPCEPce.test_18_path_computation_before_oms_attribute_deletion _ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae49fa2a0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 _ ERROR at setup of TestTransportPCEPce.test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link _ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9f1a0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 _ ERROR at setup of TestTransportPCEPce.test_20_path_computation_after_oms_attribute_deletion _ 01:49:32 01:49:32 cls = 01:49:32 func = . at 0x7ffae4f9c2c0> 01:49:32 when = 'setup' 01:49:32 reraise = (, ) 01:49:32 01:49:32 @classmethod 01:49:32 def from_call( 01:49:32 cls, 01:49:32 func: Callable[[], TResult], 01:49:32 when: Literal["collect", "setup", "call", "teardown"], 01:49:32 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 01:49:32 ) -> CallInfo[TResult]: 01:49:32 """Call func, wrapping the result in a CallInfo. 01:49:32 01:49:32 :param func: 01:49:32 The function to call. Called without arguments. 01:49:32 :type func: Callable[[], _pytest.runner.TResult] 01:49:32 :param when: 01:49:32 The phase in which the function is called. 01:49:32 :param reraise: 01:49:32 Exception or exceptions that shall propagate if raised by the 01:49:32 function, instead of being wrapped in the CallInfo. 01:49:32 """ 01:49:32 excinfo = None 01:49:32 instant = timing.Instant() 01:49:32 try: 01:49:32 > result: TResult | None = func() 01:49:32 ^^^^^^ 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:361: 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:250: in 01:49:32 lambda: runtest_hook(item=item, **kwds), 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 01:49:32 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 01:49:32 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 01:49:32 yield 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 01:49:32 return (yield) 01:49:32 ^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 01:49:32 item.session._setupstate.setup(item) 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 01:49:32 col.setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 01:49:32 super().setup() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 01:49:32 self._request._fillfixtures() 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:806: in _fillfixtures 01:49:32 item.funcargs[argname] = self.getfixturevalue(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:630: in getfixturevalue 01:49:32 fixturedef = self._get_active_fixturedef(argname) 01:49:32 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef 01:49:32 fixturedef.execute(request=subrequest) 01:49:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 01:49:32 01:49:32 self = 01:49:32 request = > 01:49:32 01:49:32 def execute(self, request: SubRequest) -> FixtureValue: 01:49:32 """Return the value of this fixture, executing it if not cached.""" 01:49:32 # Ensure that the dependent fixtures requested by this fixture are loaded. 01:49:32 # This needs to be done before checking if we have a cached value, since 01:49:32 # if a dependent fixture has their cache invalidated, e.g. due to 01:49:32 # parametrization, they finalize themselves and fixtures depending on it 01:49:32 # (which will likely include this fixture) setting `self.cached_result = None`. 01:49:32 # See #4871 01:49:32 requested_fixtures_that_should_finalize_us = [] 01:49:32 for argname in self.argnames: 01:49:32 fixturedef = request._get_active_fixturedef(argname) 01:49:32 # Saves requested fixtures in a list so we later can add our finalizer 01:49:32 # to them, ensuring that if a requested fixture gets torn down we get torn 01:49:32 # down first. This is generally handled by SetupState, but still currently 01:49:32 # needed when this fixture is not parametrized but depends on a parametrized 01:49:32 # fixture. 01:49:32 requested_fixtures_that_should_finalize_us.append(fixturedef) 01:49:32 01:49:32 # Check for (and return) cached value/exception. 01:49:32 if self.cached_result is not None: 01:49:32 request_cache_key = self.cache_key(request) 01:49:32 cache_key = self.cached_result[1] 01:49:32 try: 01:49:32 # Attempt to make a normal == check: this might fail for objects 01:49:32 # which do not implement the standard comparison (like numpy arrays -- #6497). 01:49:32 cache_hit = bool(request_cache_key == cache_key) 01:49:32 except (ValueError, RuntimeError): 01:49:32 # If the comparison raises, use 'is' as fallback. 01:49:32 cache_hit = request_cache_key is cache_key 01:49:32 01:49:32 if cache_hit: 01:49:32 if self.cached_result[2] is not None: 01:49:32 exc, exc_tb = self.cached_result[2] 01:49:32 raise exc.with_traceback(exc_tb) 01:49:32 else: 01:49:32 return self.cached_result[0] 01:49:32 # We have a previous but differently parametrized fixture instance 01:49:32 # so we need to tear it down before creating a new one. 01:49:32 self.finish(request) 01:49:32 assert self.cached_result is None 01:49:32 01:49:32 # Add finalizer to requested fixtures we saved previously. 01:49:32 # We make sure to do this after checking for cached value to avoid 01:49:32 # adding our finalizer multiple times. (#12135) 01:49:32 finalizer = functools.partial(self.finish, request=request) 01:49:32 for parent_fixture in requested_fixtures_that_should_finalize_us: 01:49:32 parent_fixture.addfinalizer(finalizer) 01:49:32 01:49:32 # Register the pytest_fixture_post_finalizer as the first finalizer, 01:49:32 # which is executed last. 01:49:32 > assert not self._finalizers 01:49:32 ^^^^^^^^^^^^^^^^^^^^ 01:49:32 E AssertionError 01:49:32 01:49:32 ../.tox/testsPCE/lib/python3.11/site-packages/_pytest/fixtures.py:1221: AssertionError 01:49:32 =========================== short test summary info ============================ 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_01_load_port_mapping 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_02_load_simple_topology_bi 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_03_get_nodeId 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_04_get_linkId 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_05_path_computation_xpdr_bi 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_06_path_computation_rdm_bi 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_07_load_simple_topology_uni 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_08_get_nodeId 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_09_get_linkId 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_10_path_computation_xpdr_uni 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_11_path_computation_rdm_uni 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_12_load_complex_topology 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_13_get_nodeId 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_14_fail_path_computation 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_15_success1_path_computation 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_16_success2_path_computation 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_17_success3_path_computation 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_18_path_computation_before_oms_attribute_deletion 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_19_delete_oms_attribute_in_openroadm13toopenroadm12_link 01:49:32 ERROR transportpce_tests/pce/test01_pce.py::TestTransportPCEPce::test_20_path_computation_after_oms_attribute_deletion 01:49:32 20 errors in 123.78s (0:02:03) 01:49:32 testsPCE: exit 1 (124.08 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4166 01:49:32 testsPCE: FAIL ✖ in 2 minutes 53.53 seconds 01:49:32 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 01:49:38 tests_tapi: freeze> python -m pip freeze --all 01:49:39 tests_tapi: bcrypt==5.0.0,certifi==2026.7.22,cffi==2.1.1,charset-normalizer==3.5.2,cryptography==50.0.2,dict2xml==1.7.8,idna==3.20,iniconfig==2.3.1,invoke==3.0.3,lxml==6.1.3,netconf-client==3.6.0,packaging==26.3,paramiko==5.0.0,pip==26.2.1,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.21.0,PyNaCl==1.6.2,pytest==9.1.1,requests==2.34.2,setuptools==84.0.0,urllib3==2.8.0 01:49:39 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 01:49:39 using environment variables from ./karaf221.env 01:49:39 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 01:50:57 $ ssh-agent -k 01:50:57 unset SSH_AUTH_SOCK; 01:50:57 unset SSH_AGENT_PID; 01:50:57 echo Agent pid 1569 killed; 01:50:57 [ssh-agent] Stopped. 01:50:57 Build was aborted 01:50:57 Aborted by new patch set. 01:50:57 [PostBuildScript] - [INFO] Executing post build scripts. 01:50:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1984416471745529574.sh 01:50:57 ---> sysstat.sh 01:50:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins6509811911921785320.sh 01:50:57 ---> package-listing.sh 01:50:57 + '[' -f /etc/os-release ']' 01:50:57 + . /etc/os-release 01:50:57 ++ PRETTY_NAME='Ubuntu 22.04.5 LTS' 01:50:57 ++ NAME=Ubuntu 01:50:57 ++ VERSION_ID=22.04 01:50:57 ++ VERSION='22.04.5 LTS (Jammy Jellyfish)' 01:50:57 ++ VERSION_CODENAME=jammy 01:50:57 ++ ID=ubuntu 01:50:57 ++ ID_LIKE=debian 01:50:57 ++ HOME_URL=https://www.ubuntu.com/ 01:50:57 ++ SUPPORT_URL=https://help.ubuntu.com/ 01:50:57 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 01:50:57 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 01:50:57 ++ UBUNTU_CODENAME=jammy 01:50:57 + case " ${ID:-} ${ID_LIKE:-} " in 01:50:57 + OS_FAMILY=debian 01:50:57 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 01:50:57 + START_PACKAGES=/tmp/packages_start.txt 01:50:57 + END_PACKAGES=/tmp/packages_end.txt 01:50:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:50:57 + PACKAGES=/tmp/packages_start.txt 01:50:57 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 01:50:57 + PACKAGES=/tmp/packages_end.txt 01:50:57 + case "${OS_FAMILY}" in 01:50:57 + grep '^ii' 01:50:57 + dpkg -l 01:50:57 + '[' -f /tmp/packages_start.txt ']' 01:50:57 + '[' -f /tmp/packages_end.txt ']' 01:50:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:50:57 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 01:50:57 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 01:50:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 01:50:57 + exit 0 01:50:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16588507946524106412.sh 01:50:57 ---> capture-instance-metadata.sh 01:50:57 Setup pyenv: 01:50:57 system 01:50:57 3.8.20 01:50:57 3.9.20 01:50:57 3.10.15 01:50:57 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:50:57 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-94YF from file:/tmp/.os_lf_venv 01:50:57 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:50:59 lf-activate-venv(): INFO: Installing additional packages: lftools 01:51:02 Terminated 01:51:02 tests_tapi: exit 1 (83.33 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=4240 01:51:02 + tox_status=143 01:51:02 + echo '---> Completed tox runs' 01:51:02 ---> Completed tox runs 01:51:02 + for i in .tox/*/log 01:51:02 ++ echo .tox/build_karaf_tests200/log 01:51:02 ++ awk -F/ '{print $2}' 01:51:02 + tox_env=build_karaf_tests200 01:51:02 + cp -r .tox/build_karaf_tests200/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests200 01:51:11 lf-activate-venv(): INFO: Adding /tmp/venv-94YF/bin to PATH 01:51:11 INFO: Running in OpenStack, capturing instance metadata 01:51:11 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1668569365336682002.sh 01:51:11 provisioning config files... 01:51:12 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #6142 01:51:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config11342012044721835956tmp 01:51:12 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 01:51:12 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 01:51:12 provisioning config files... 01:51:13 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 01:51:13 [EnvInject] - Injecting environment variables from a build step. 01:51:13 [EnvInject] - Injecting as environment variables the properties content 01:51:13 SERVER_ID=logs 01:51:13 01:51:13 [EnvInject] - Variables injected successfully. 01:51:13 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15500367413380772527.sh 01:51:13 ---> create-netrc.sh 01:51:13 WARN: Log server credential not found. 01:51:13 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10092617231881540942.sh 01:51:13 ---> python-tools-install.sh 01:51:13 Setup pyenv: 01:51:13 system 01:51:13 3.8.20 01:51:13 3.9.20 01:51:13 3.10.15 01:51:13 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:51:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-94YF from file:/tmp/.os_lf_venv 01:51:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:51:15 lf-activate-venv(): INFO: Installing additional packages: lftools 01:51:24 lf-activate-venv(): INFO: Adding /tmp/venv-94YF/bin to PATH 01:51:24 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins7354779073973327832.sh 01:51:24 ---> uv-install.sh 01:51:24 uv 0.12.23 is already installed 01:51:24 uvx 0.12.23 (x86_64-unknown-linux-gnu) 01:51:24 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10699757276289283326.sh 01:51:24 ---> sudo-logs.sh 01:51:24 Archiving 'sudo' log.. 01:51:24 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9504653808451237914.sh 01:51:24 ---> job-cost.sh 01:51:24 INFO: Activating Python virtual environment... 01:51:24 Setup pyenv: 01:51:24 system 01:51:24 3.8.20 01:51:24 3.9.20 01:51:24 3.10.15 01:51:24 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:51:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-94YF from file:/tmp/.os_lf_venv 01:51:24 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:51:26 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 01:51:33 lf-activate-venv(): INFO: Adding /tmp/venv-94YF/bin to PATH 01:51:33 INFO: No stack-cost file found 01:51:33 INFO: Instance uptime: 461s 01:51:33 INFO: Fetching instance metadata (attempt 1 of 3)... 01:51:33 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 01:51:33 INFO: Successfully fetched instance metadata 01:51:33 INFO: Instance type: v3-standard-4 01:51:33 INFO: Retrieving pricing info for: v3-standard-4 01:51:33 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 01:51:33 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=461 01:51:33 INFO: Successfully fetched Vexxhost pricing API 01:51:33 INFO: Retrieved cost: 0.11 01:51:33 INFO: Retrieved resource: v3-standard-4 01:51:33 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 01:51:34 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 01:51:34 INFO: Successfully archived job cost data 01:51:34 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,6142,2026-10-08 01:51:33,v3-standard-4,461,0.11,0.00,ABORTED 01:51:34 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins17133929339580226112.sh 01:51:34 ---> logs-deploy.sh 01:51:34 Setup pyenv: 01:51:34 system 01:51:34 3.8.20 01:51:34 3.9.20 01:51:34 3.10.15 01:51:34 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 01:51:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-94YF from file:/tmp/.os_lf_venv 01:51:34 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 01:51:36 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 01:51:45 lf-activate-venv(): INFO: Adding /tmp/venv-94YF/bin to PATH 01:51:45 WARNING: Nexus logging server not set 01:51:45 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/6142/ 01:51:45 INFO: archiving logs to S3 01:51:46 ---> uname -a: 01:51:46 Linux prd-ubuntu2204-docker-4c-16g-62846 5.15.0-198-generic #208-Ubuntu SMP Fri Sep 4 10:22:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 01:51:46 01:51:46 01:51:46 ---> lscpu: 01:51:46 Architecture: x86_64 01:51:46 CPU op-mode(s): 32-bit, 64-bit 01:51:46 Address sizes: 40 bits physical, 48 bits virtual 01:51:46 Byte Order: Little Endian 01:51:46 CPU(s): 4 01:51:46 On-line CPU(s) list: 0-3 01:51:46 Vendor ID: AuthenticAMD 01:51:46 Model name: AMD EPYC-Rome Processor 01:51:46 CPU family: 23 01:51:46 Model: 49 01:51:46 Thread(s) per core: 1 01:51:46 Core(s) per socket: 1 01:51:46 Socket(s): 4 01:51:46 Stepping: 0 01:51:46 BogoMIPS: 5600.00 01:51:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif umip rdpid arch_capabilities 01:51:46 Virtualization: AMD-V 01:51:46 Hypervisor vendor: KVM 01:51:46 Virtualization type: full 01:51:46 L1d cache: 128 KiB (4 instances) 01:51:46 L1i cache: 128 KiB (4 instances) 01:51:46 L2 cache: 2 MiB (4 instances) 01:51:46 L3 cache: 64 MiB (4 instances) 01:51:46 NUMA node(s): 1 01:51:46 NUMA node0 CPU(s): 0-3 01:51:46 Vulnerability Gather data sampling: Not affected 01:51:46 Vulnerability Indirect target selection: Not affected 01:51:46 Vulnerability Itlb multihit: Not affected 01:51:46 Vulnerability L1tf: Not affected 01:51:46 Vulnerability Mds: Not affected 01:51:46 Vulnerability Meltdown: Not affected 01:51:46 Vulnerability Mmio stale data: Not affected 01:51:46 Vulnerability Reg file data sampling: Not affected 01:51:46 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 01:51:46 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 01:51:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:51:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:51:46 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 01:51:46 Vulnerability Srbds: Not affected 01:51:46 Vulnerability Tsa: Not affected 01:51:46 Vulnerability Tsx async abort: Not affected 01:51:46 Vulnerability Vmscape: Not affected 01:51:46 01:51:46 01:51:46 ---> nproc: 01:51:46 4 01:51:46 01:51:46 01:51:46 ---> df -h: 01:51:46 Filesystem Size Used Avail Use% Mounted on 01:51:46 tmpfs 1.6G 1.1M 1.6G 1% /run 01:51:46 /dev/vda1 78G 11G 67G 14% / 01:51:46 tmpfs 7.9G 0 7.9G 0% /dev/shm 01:51:46 tmpfs 5.0M 0 5.0M 0% /run/lock 01:51:46 /dev/vda15 105M 6.1M 99M 6% /boot/efi 01:51:46 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 01:51:46 01:51:46 01:51:46 ---> free -m: 01:51:46 total used free shared buff/cache available 01:51:46 Mem: 15989 703 10180 4 5105 14942 01:51:46 Swap: 1023 0 1023 01:51:46 01:51:46 01:51:46 ---> ip addr: 01:51:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 01:51:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:51:46 inet 127.0.0.1/8 scope host lo 01:51:46 valid_lft forever preferred_lft forever 01:51:46 inet6 ::1/128 scope host 01:51:46 valid_lft forever preferred_lft forever 01:51:46 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 01:51:46 link/ether fa:16:3e:5d:4a:a1 brd ff:ff:ff:ff:ff:ff 01:51:46 altname enp0s3 01:51:46 inet 10.30.171.194/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 01:51:46 valid_lft 85934sec preferred_lft 85934sec 01:51:46 inet6 fe80::f816:3eff:fe5d:4aa1/64 scope link 01:51:46 valid_lft forever preferred_lft forever 01:51:46 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 01:51:46 link/ether 1e:e4:85:94:90:cb brd ff:ff:ff:ff:ff:ff 01:51:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:51:46 valid_lft forever preferred_lft forever 01:51:46 inet6 fe80::1ce4:85ff:fe94:90cb/64 scope link 01:51:46 valid_lft forever preferred_lft forever 01:51:46 01:51:46 01:51:46 ---> sar -b -r -n DEV: 01:51:46 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-62846) 10/08/26 _x86_64_ (4 CPU) 01:51:46 01:51:46 01:44:02 LINUX RESTART (4 CPU) 01:51:46 01:51:46 01:51:46 ---> sar -P ALL: 01:51:46 Linux 5.15.0-198-generic (prd-ubuntu2204-docker-4c-16g-62846) 10/08/26 _x86_64_ (4 CPU) 01:51:46 01:51:46 01:44:02 LINUX RESTART (4 CPU) 01:51:46 01:51:46 01:51:46