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 checkbashisms: freeze> python -m pip freeze --all docs: install_deps> python -I -m pip install -r docs/requirements.txt docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==25.2,setuptools==80.9.0 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 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)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 3.05 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.4.0,filelock==3.19.1,identify==2.6.13,nodeenv==1.9.1,pip==25.2,platformdirs==4.4.0,pre_commit==4.3.0,PyYAML==6.0.2,setuptools==80.9.0,virtualenv==20.34.0 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 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)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 21 21 ok, java is 21 or newer Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b) Maven home: /opt/maven Java version: 21.0.5, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-131-generic", arch: "amd64", family: "unix" [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs-linkcheck: freeze> python -m pip freeze --all docs: freeze> python -m pip freeze --all [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs-linkcheck: alabaster==1.0.0,attrs==25.3.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.8.3,charset-normalizer==3.4.3,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.59.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.4.9,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.6,numpy==2.3.2,nwdiag==3.0.0,packaging==25.0,pillow==11.3.0,pip==25.2,Pygments==2.19.2,pyparsing==3.2.3,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.5,requests-file==1.5.1,roman-numerals-py==3.1.0,seqdiag==3.0.0,setuptools==80.9.0,six==1.17.0,snowballstemmer==3.0.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.5.0,webcolors==24.11.1 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 docs: alabaster==1.0.0,attrs==25.3.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.8.3,charset-normalizer==3.4.3,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.59.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.4.9,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.6,numpy==2.3.2,nwdiag==3.0.0,packaging==25.0,pillow==11.3.0,pip==25.2,Pygments==2.19.2,pyparsing==3.2.3,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.5,requests-file==1.5.1,roman-numerals-py==3.1.0,seqdiag==3.0.0,setuptools==80.9.0,six==1.17.0,snowballstemmer==3.0.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.5.0,webcolors==24.11.1 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 docs: OK ✔ in 32.93 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' docs-linkcheck: OK ✔ in 35.09 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.11,dill==0.4.0,isort==6.0.1,mccabe==0.7.0,pip==25.2,platformdirs==4.4.0,pylint==3.3.8,setuptools==80.9.0,tomlkit==0.13.3 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}$' '{}' + trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................Passed perltidy.................................................................Passed pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Passed ------------------------------------ Your code has been rated at 10.00/10 pre-commit: OK ✔ in 57.89 seconds pylint: OK ✔ in 31.05 seconds buildcontroller: OK ✔ in 1 minute 54.63 seconds 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 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 build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests190: 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 build_karaf_tests221: freeze> python -m pip freeze --all build_karaf_tests190: freeze> python -m pip freeze --all build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build karaf in karaf221 with ./karaf221.env build_karaf_tests71: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build karaf in karaf71 with ./karaf71.env build_karaf_tests121: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build karaf in karaf121 with ./karaf121.env build_karaf_tests190: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build karaf in karafoc with ./karafoc.env build_karaf_tests121: OK ✔ in 1 minute 7.98 seconds 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 build_karaf_tests71: OK ✔ in 1 minute 11.76 seconds 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 build_karaf_tests190: OK ✔ in 1 minute 12.21 seconds build_karaf_tests221: OK ✔ in 1 minute 12.22 seconds 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 buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh sims: freeze> python -m pip freeze --all sims: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh Using lighynode version 20.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims: OK ✔ in 12.81 seconds buildlighty: OK ✔ in 39.92 seconds testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,click==8.2.1,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.7,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.59.2,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.1.0,injector==0.22.0,invoke==2.2.0,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.4.9,lxml==6.0.1,MarkupSafe==3.0.2,matplotlib==3.10.6,netconf-client==3.5.0,networkx==2.8.8,numpy==1.26.4,packaging==25.0,pandas==1.5.3,paramiko==4.0.0,pbr==5.11.1,pillow==11.3.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pyparsing==3.2.3,pytest==8.4.2,python-dateutil==2.9.0.post0,pytz==2025.2,requests==2.32.5,scipy==1.16.1,setuptools==50.3.2,six==1.17.0,urllib3==2.5.0,Werkzeug==2.0.3,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py .................... [100%] 20 passed in 110.16s (0:01:50) pytest -q transportpce_tests/pce/test02_pce_400G.py ............ [100%] 12 passed in 46.48s pytest -q transportpce_tests/pce/test03_gnpy.py FFFFFFFF [100%] =================================== FAILURES =================================== _________________ TestTransportGnpy.test_00_load_port_mapping __________________ self = def test_00_load_port_mapping(self): response = test_utils.post_portmapping(self.port_mapping_data) > self.assertIn(response['status_code'], (requests.codes.created, requests.codes.no_content)) E AssertionError: 401 not found in (201, 204) transportpce_tests/pce/test03_gnpy.py:119: AssertionError ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting GNPy REST server... starting OpenDaylight... starting KARAF (karaf) TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! ________________ TestTransportGnpy.test_01_connect_clliNetwork _________________ self = def test_01_connect_clliNetwork(self): response = test_utils.put_ietf_network('clli-network', self.topo_cllinet_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/pce/test03_gnpy.py:125: AssertionError ______________ TestTransportGnpy.test_02_connect_openroadmNetwork ______________ self = def test_02_connect_openroadmNetwork(self): response = test_utils.put_ietf_network('openroadm-network', self.topo_ordnet_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/pce/test03_gnpy.py:130: AssertionError _____________ TestTransportGnpy.test_03_connect_openroadmTopology ______________ self = def test_03_connect_openroadmTopology(self): response = test_utils.put_ietf_network('openroadm-topology', self.topo_ordtopo_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/pce/test03_gnpy.py:135: AssertionError __________ TestTransportGnpy.test_04_path_computation_FeasibleWithPCE __________ self = def test_04_path_computation_FeasibleWithPCE(self): > response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) transportpce_tests/pce/test03_gnpy.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-pce', rpc = 'path-computation-request' payload = {'pce-routing-metric': 'hop-count', 'resource-reserve': 'true', 'service-a-end': {'clli': 'Node1', 'node-id': 'XPONDER-1', 'service-format': 'Ethernet', 'service-rate': '100'}, 'service-handler-header': {'request-id': 'request-1'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'transportpce-pce:output' transportpce_tests/common/test_utils.py:761: KeyError ___ TestTransportGnpy.test_05_path_computation_FoundByPCE_NotFeasibleByGnpy ____ self = def test_05_path_computation_FoundByPCE_NotFeasibleByGnpy(self): self.path_computation_input_data["service-name"] = "service-2" self.path_computation_input_data["service-handler-header"]["request-id"] = "request-2" self.path_computation_input_data["hard-constraints"] =\ {"include": {"node-id": ["OpenROADM-2", "OpenROADM-3", "OpenROADM-4"]}} > response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) transportpce_tests/pce/test03_gnpy.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-pce', rpc = 'path-computation-request' payload = {'hard-constraints': {'include': {'node-id': ['OpenROADM-2', 'OpenROADM-3', 'OpenROADM-4']}}, 'pce-routing-metric': 'h..., 'service-a-end': {'clli': 'Node1', 'node-id': 'XPONDER-1', 'service-format': 'Ethernet', 'service-rate': '100'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'transportpce-pce:output' transportpce_tests/common/test_utils.py:761: KeyError ______ TestTransportGnpy.test_06_path_computation_FoundByPCE_FoundByGNPy _______ self = def test_06_path_computation_FoundByPCE_FoundByGNPy(self): self.path_computation_input_data["service-name"] = "service-3" self.path_computation_input_data["service-handler-header"]["request-id"] = "request-3" self.path_computation_input_data["service-z-end"]["node-id"] = "XPONDER-4" self.path_computation_input_data["hard-constraints"] =\ {"include": {"node-id": ["OpenROADM-2", "OpenROADM-3"]}} > response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) transportpce_tests/pce/test03_gnpy.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-pce', rpc = 'path-computation-request' payload = {'hard-constraints': {'include': {'node-id': ['OpenROADM-2', 'OpenROADM-3']}}, 'pce-routing-metric': 'hop-count', 'res..., 'service-a-end': {'clli': 'Node1', 'node-id': 'XPONDER-1', 'service-format': 'Ethernet', 'service-rate': '100'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'transportpce-pce:output' transportpce_tests/common/test_utils.py:761: KeyError ___ TestTransportGnpy.test_07_path_computation_FoundByPCE_NotFeasibleByGnpy ____ self = def test_07_path_computation_FoundByPCE_NotFeasibleByGnpy(self): self.path_computation_input_data["service-name"] = "service-4" self.path_computation_input_data["service-handler-header"]["request-id"] = "request-4" self.path_computation_input_data["service-a-end"]["service-rate"] = "400" self.path_computation_input_data["service-z-end"]["service-rate"] = "400" self.path_computation_input_data["service-z-end"]["clli"] = "Node4" self.path_computation_input_data["hard-constraints"] =\ {"include": {"node-id": ["OpenROADM-3", "OpenROADM-2", "OpenROADM-5"]}} > response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) transportpce_tests/pce/test03_gnpy.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-pce', rpc = 'path-computation-request' payload = {'hard-constraints': {'include': {'node-id': ['OpenROADM-3', 'OpenROADM-2', 'OpenROADM-5']}}, 'pce-routing-metric': 'h..., 'service-a-end': {'clli': 'Node1', 'node-id': 'XPONDER-1', 'service-format': 'Ethernet', 'service-rate': '400'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'transportpce-pce:output' transportpce_tests/common/test_utils.py:761: KeyError --------------------------- Captured stdout teardown --------------------------- all processes killed ODL log file stored =========================== short test summary info ============================ FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_00_load_port_mapping FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_01_connect_clliNetwork FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_02_connect_openroadmNetwork FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_03_connect_openroadmTopology FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_04_path_computation_FeasibleWithPCE FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_05_path_computation_FoundByPCE_NotFeasibleByGnpy FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_06_path_computation_FoundByPCE_FoundByGNPy FAILED transportpce_tests/pce/test03_gnpy.py::TestTransportGnpy::test_07_path_computation_FoundByPCE_NotFeasibleByGnpy 8 failed in 24.63s testsPCE: exit 1 (182.21 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=5156 testsPCE: FAIL ✖ in 4 minutes 18.94 seconds tests190: 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 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 tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_tapi: freeze> python -m pip freeze --all tests190: freeze> python -m pip freeze --all tests121: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py tests190: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc using environment variables from ./karafoc.env pytest -q transportpce_tests/oc/test01_portmapping.py tests121: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py .......... [100%] 10 passed in 77.47s (0:01:17) .pytest -q transportpce_tests/oc/test02_topology.py ...................................... [100%] 21 passed in 130.06s (0:02:10) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ............................. [100%] 6 passed in 49.56s pytest -q transportpce_tests/1.2.1/test03_topology.py ................................................................ [100%] 44 passed in 138.58s (0:02:18) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py .. [100%] 14 passed in 245.23s (0:04:05) pytest -q transportpce_tests/oc/test03_renderer.py ............................. [100%] 19 passed in 61.58s (0:01:01) tests190: OK ✔ in 6 minutes 41.36 seconds 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 ....tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py .......... [100%] 24 passed in 96.74s (0:01:36) pytest -q transportpce_tests/1.2.1/test05_olm.py ............. [100%] 12 passed in 50.86s pytest -q transportpce_tests/7.1/test02_otn_renderer.py ...................... [100%] 51 passed in 495.62s (0:08:15) pytest -q transportpce_tests/tapi/test02_full_topology.py ............................................................................................. [100%] 62 passed in 163.68s (0:02:43) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ... [100%] 40 passed in 201.26s (0:03:21) pytest -q transportpce_tests/1.2.1/test06_end2end.py ....................................................................................... [100%] 48 passed in 147.79s (0:02:27) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ..................................... [100%] 36 passed in 331.59s (0:05:31) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ... [100%] 22 passed in 75.35s (0:01:15) ................................................................................... [100%] 54 passed in 548.24s (0:09:08) ...... [100%] 71 passed in 490.72s (0:08:10) pytest -q transportpce_tests/tapi/test04_topo_extension.py ................... [100%] 19 passed in 144.35s (0:02:24) tests71: OK ✔ in 7 minutes 27.43 seconds tests121: OK ✔ in 19 minutes 42.33 seconds tests_tapi: OK ✔ in 24 minutes 39.24 seconds 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 tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 79.64s (0:01:19) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 51.66s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 141.41s (0:02:21) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 64.39s (0:01:04) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 120.31s (0:02:00) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 42.50s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 94.73s (0:01:34) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................... [100%] 22 passed in 103.03s (0:01:43) pytest -q transportpce_tests/2.2.1/test09_olm.py ........................................ [100%] 40 passed in 183.53s (0:03:03) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ........................................................................ [ 74%] ......................... [100%] 97 passed in 492.58s (0:08:12) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 626.97s (0:10:26) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 851.89s (0:14:11) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 602.13s (0:10:02) pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py ............................................. [100%] 45 passed in 200.66s (0:03:20) tests221: OK ✔ in 1 hour 1 minute 10.33 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.3.0,certifi==2025.8.3,cffi==1.17.1,charset-normalizer==3.4.3,cryptography==45.0.7,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,invoke==2.2.0,lxml==6.0.1,netconf-client==3.5.0,packaging==25.0,paramiko==4.0.0,pip==25.2,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.5.0 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid using environment variables from ./karaf221.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 147.20s (0:02:27) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 431.60s (0:07:11) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 259.75s (0:04:19) buildcontroller: OK (114.63=setup[8.93]+cmd[105.69] seconds) sims: OK (12.81=setup[8.47]+cmd[4.34] seconds) build_karaf_tests121: OK (67.98=setup[7.75]+cmd[60.23] seconds) testsPCE: FAIL code 1 (258.93=setup[76.72]+cmd[182.21] seconds) tests121: OK (1182.33=setup[15.64]+cmd[1166.69] seconds) build_karaf_tests221: OK (72.22=setup[7.73]+cmd[64.49] seconds) tests_tapi: OK (1479.24=setup[15.58]+cmd[1463.66] seconds) tests221: OK (3670.33=setup[10.55]+cmd[3659.78] seconds) build_karaf_tests71: OK (71.75=setup[7.74]+cmd[64.01] seconds) tests71: OK (447.43=setup[8.42]+cmd[439.01] seconds) build_karaf_tests190: OK (72.21=setup[7.76]+cmd[64.45] seconds) tests190: OK (401.36=setup[15.60]+cmd[385.76] seconds) tests_hybrid: OK (847.39=setup[7.91]+cmd[839.47] seconds) buildlighty: OK (39.91=setup[11.29]+cmd[28.63] seconds) docs: OK (32.93=setup[29.74]+cmd[3.19] seconds) docs-linkcheck: OK (35.09=setup[29.57]+cmd[5.53] seconds) checkbashisms: OK (3.05=setup[1.82]+cmd[0.01,0.05,1.18] seconds) pre-commit: OK (57.89=setup[2.98]+cmd[0.01,0.00,42.38,12.51] seconds) pylint: OK (31.05=setup[5.08]+cmd[25.97] seconds) evaluation failed :( (6442.79 seconds)