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 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: freeze> python -m pip freeze --all checkbashisms: pip==25.1.1,setuptools==80.3.1 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.34 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.3.9,filelock==3.18.0,identify==2.6.12,nodeenv==1.9.1,pip==25.1.1,platformdirs==4.3.8,pre_commit==4.2.0,PyYAML==6.0.2,setuptools==80.3.1,virtualenv==20.31.2 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.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh [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... 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.10 (5f519b97e944483d878815739f519b2eade0a91d) 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/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... [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: freeze> python -m pip freeze --all docs-linkcheck: alabaster==1.0.0,attrs==25.3.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.7.9,charset-normalizer==3.4.2,contourpy==1.3.2,cycler==0.12.1,docutils==0.21.2,fonttools==4.58.5,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.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.3,numpy==2.3.1,nwdiag==3.0.0,packaging==25.0,pillow==11.3.0,pip==25.1.1,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.4,requests-file==1.5.1,roman-numerals-py==3.1.0,seqdiag==3.0.0,setuptools==80.3.1,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.30,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: freeze> python -m pip freeze --all docs: alabaster==1.0.0,attrs==25.3.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.7.9,charset-normalizer==3.4.2,contourpy==1.3.2,cycler==0.12.1,docutils==0.21.2,fonttools==4.58.5,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.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.3,numpy==2.3.1,nwdiag==3.0.0,packaging==25.0,pillow==11.3.0,pip==25.1.1,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.4,requests-file==1.5.1,roman-numerals-py==3.1.0,seqdiag==3.0.0,setuptools==80.3.1,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.30,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 34.28 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' docs-linkcheck: OK ✔ in 35.7 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.10,dill==0.4.0,isort==6.0.1,mccabe==0.7.0,pip==25.1.1,platformdirs==4.3.8,pylint==3.3.7,setuptools==80.3.1,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 58.04 seconds pylint: OK ✔ in 30.01 seconds buildcontroller: OK ✔ in 2 minutes 11.15 seconds 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_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 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 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 sims: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: freeze> python -m pip freeze --all sims: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,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 build_karaf_tests121: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests221: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims: OK ✔ in 34.17 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_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests221: OK ✔ in 1 minute 19.05 seconds 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_tests121: OK ✔ in 1 minute 20.1 seconds build_karaf_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 testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,click==8.2.1,contourpy==1.3.2,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.7,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.58.5,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.1.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.4.8,lxml==6.0.0,MarkupSafe==3.0.2,matplotlib==3.10.3,netconf-client==3.3.0,networkx==2.8.8,numpy==1.26.4,packaging==25.0,pandas==1.5.3,paramiko==3.5.1,pbr==5.11.1,pillow==11.3.0,pip==25.1.1,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.1,python-dateutil==2.9.0.post0,pytz==2025.2,requests==2.32.4,scipy==1.16.0,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 build_karaf_tests71: OK ✔ in 56.24 seconds build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests190: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests190: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,urllib3==2.5.0 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests_hybrid: OK ✔ in 1 minute 0.47 seconds build_karaf_tests190: OK ✔ in 1 minute 2.76 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 ...tests190: freeze> python -m pip freeze --all tests190: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,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 ................. [100%] 20 passed in 127.09s (0:02:07) pytest -q transportpce_tests/pce/test02_pce_400G.py ..........E.. [100%] 12 passed in 46.95s pytest -q transportpce_tests/pce/test03_gnpy.py ....FFFF. [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TransportpceOCPortMappingTesting.test_01_meta_data_insertion _ cls = @classmethod def setUpClass(cls): > cls.processes = test_utils.start_tpce() ^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/oc/test01_portmapping.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_tpce(): if 'NO_ODL_STARTUP' in os.environ: print('No OpenDaylight instance to start!') return [] print('starting OpenDaylight...') if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': process = start_lighty() else: process = start_karaf() if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): print('OpenDaylight started !') else: print('OpenDaylight failed to start !') shutdown_process(process) for pid in process_list: shutdown_process(pid) > sys.exit(1) E SystemExit: 1 transportpce_tests/common/test_utils.py:231: SystemExit ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! =================================== FAILURES =================================== ______ TransportpceOCPortMappingTesting.test_06_mpdr_portmapping_NETWORK5 ______ self = def test_06_mpdr_portmapping_NETWORK5(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK5 ______ TransportpceOCPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 _______ self = def test_07_mpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:103: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 _________ TransportpceOCPortMappingTesting.test_08_mpdr_switching_pool _________ self = def test_08_mpdr_switching_pool(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_mpdr_switching_pool _________ TransportpceOCPortMappingTesting.test_09_check_mccapprofile __________ self = def test_09_check_mccapprofile(self): res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") > self.assertEqual(res['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:141: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_mccapprofile =========================== short test summary info ============================ FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_06_mpdr_portmapping_NETWORK5 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_08_mpdr_switching_pool FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_09_check_mccapprofile ERROR transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_01_meta_data_insertion 4 failed, 5 passed, 1 error in 142.77s (0:02:22) tests190: exit 1 (143.06 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc pid=5645 EF..FFFF [100%] ==================================== ERRORS ==================================== _______ ERROR at setup of TransportGNPYtesting.test_00_load_port_mapping _______ cls = @classmethod def setUpClass(cls): # pylint: disable=bare-except sample_files_parsed = False try: TOPO_CLLINET_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "gnpy", "clliNetwork.json") with open(TOPO_CLLINET_FILE, 'r', encoding='utf-8') as topo_cllinet: cls.topo_cllinet_data = topo_cllinet.read() TOPO_ORDNET_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "gnpy", "openroadmNetwork.json") with open(TOPO_ORDNET_FILE, 'r', encoding='utf-8') as topo_ordnet: cls.topo_ordnet_data = topo_ordnet.read() TOPO_ORDTOPO_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "gnpy", "openroadmTopology.json") with open(TOPO_ORDTOPO_FILE, 'r', encoding='utf-8') as topo_ordtopo: cls.topo_ordtopo_data = topo_ordtopo.read() PORT_MAPPING_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "sample_configs", "gnpy", "gnpy_portmapping_121.json") with open(PORT_MAPPING_FILE, 'r', encoding='utf-8') as port_mapping: cls.port_mapping_data = port_mapping.read() sample_files_parsed = True except PermissionError as err: print("Permission Error when trying to read sample files\n", err) sys.exit(2) except FileNotFoundError as err: print("File Not found Error when trying to read sample files\n", err) sys.exit(2) except: print("Unexpected error when trying to read sample files\n", sys.exc_info()[0]) sys.exit(2) finally: if sample_files_parsed: print("sample files content loaded") with open('gnpy.log', 'w', encoding='utf-8') as outfile: print('starting GNPy REST server...') # pylint: disable=consider-using-with test_utils.process_list.append(subprocess.Popen( ['gnpy-rest'], stdout=outfile, stderr=outfile, stdin=None)) > cls.processes = test_utils.start_tpce() ^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/pce/test03_gnpy.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_tpce(): if 'NO_ODL_STARTUP' in os.environ: print('No OpenDaylight instance to start!') return [] print('starting OpenDaylight...') if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': process = start_lighty() else: process = start_karaf() if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): print('OpenDaylight started !') else: print('OpenDaylight failed to start !') shutdown_process(process) for pid in process_list: shutdown_process(pid) > sys.exit(1) E SystemExit: 1 transportpce_tests/common/test_utils.py:231: SystemExit ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting GNPy REST server... starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! =================================== FAILURES =================================== _______________ TransportGNPYtesting.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: 404 not found in (200, 204) transportpce_tests/pce/test03_gnpy.py:124: AssertionError ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting GNPy REST server... starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! ________ TransportGNPYtesting.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) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test03_gnpy.py:142: AssertionError __ TransportGNPYtesting.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) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test03_gnpy.py:166: AssertionError _____ TransportGNPYtesting.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) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test03_gnpy.py:194: AssertionError __ TransportGNPYtesting.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) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test03_gnpy.py:222: AssertionError --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_01_connect_clliNetwork FAILED transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_04_path_computation_FeasibleWithPCE FAILED transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_05_path_computation_FoundByPCE_NotFeasibleByGnpy FAILED transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_06_path_computation_FoundByPCE_FoundByGNPy FAILED transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_07_path_computation_FoundByPCE_NotFeasibleByGnpy ERROR transportpce_tests/pce/test03_gnpy.py::TransportGNPYtesting::test_00_load_port_mapping 5 failed, 2 passed, 1 error in 125.45s (0:02:05) tests190: FAIL ✖ in 2 minutes 31.57 seconds testsPCE: exit 1 (300.42 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4318 testsPCE: FAIL ✖ in 6 minutes 22.35 seconds 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 tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,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 ................................................... [100%] 51 passed in 436.32s (0:07:16) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 326.35s (0:05:26) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ....................................................................... [100%] 71 passed in 305.92s (0:05:05) pytest -q transportpce_tests/tapi/test04_topo_extension.py ................... [100%] 19 passed in 139.62s (0:02:19) tests_tapi: OK ✔ in 20 minutes 16.18 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.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,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%] 12 passed in 43.58s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] 62 passed in 155.72s (0:02:35) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ................................................ [100%] 48 passed in 135.55s (0:02:15) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ...................... [100%] 22 passed in 72.47s (0:01:12) tests71: OK ✔ in 6 minutes 55.76 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.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.3.1,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 75.05s (0:01:15) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.44s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 137.21s (0:02:17) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 59.63s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 114.39s (0:01:54) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 36.05s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 90.32s (0:01:30) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................... [100%] 22 passed in 99.46s (0:01:39) pytest -q transportpce_tests/2.2.1/test09_olm.py ........................................ [100%] 40 passed in 361.24s (0:06:01) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ........................................................................ [ 74%] ......................... [100%] 97 passed in 490.13s (0:08:10) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 445.37s (0:07:25) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 490.68s (0:08:10) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 599.81s (0:09:59) pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py ............................................. [100%] 45 passed in 198.70s (0:03:18) tests221: OK ✔ in 54 minutes 13.74 seconds 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 tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,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%] 21 passed in 84.72s (0:01:24) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.78s pytest -q transportpce_tests/1.2.1/test03_topology.py ............................................ [100%] 44 passed in 136.49s (0:02:16) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ........................ [100%] 24 passed in 83.03s (0:01:23) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................ [100%] 40 passed in 182.16s (0:03:02) pytest -q transportpce_tests/1.2.1/test06_end2end.py ...................................................... [100%] 54 passed in 532.81s (0:08:52) tests121: OK ✔ in 17 minutes 53.16 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.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,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 ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 151.88s (0:02:31) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 428.50s (0:07:08) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 619.28s (0:10:19) tests_hybrid: OK ✔ in 20 minutes 7.94 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 buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.3.0,certifi==2025.7.9,cffi==1.17.1,charset-normalizer==3.4.2,cryptography==45.0.5,dict2xml==1.7.7,idna==3.10,iniconfig==2.1.0,lxml==6.0.0,netconf-client==3.3.0,packaging==25.0,paramiko==3.5.1,pip==25.1.1,pluggy==1.6.0,psutil==7.0.0,pycparser==2.22,Pygments==2.19.2,PyNaCl==1.5.0,pytest==8.4.1,requests==2.32.4,setuptools==80.9.0,urllib3==2.5.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (131.15=setup[9.16]+cmd[121.99] seconds) testsPCE: FAIL code 1 (382.35=setup[81.93]+cmd[300.42] seconds) sims: OK (34.17=setup[28.46]+cmd[5.71] seconds) build_karaf_tests121: OK (80.10=setup[28.50]+cmd[51.60] seconds) tests121: OK (1073.16=setup[7.45]+cmd[1065.71] seconds) build_karaf_tests221: OK (79.04=setup[28.53]+cmd[50.51] seconds) tests_tapi: OK (1216.18=setup[6.73]+cmd[1209.45] seconds) tests221: OK (3253.74=setup[7.25]+cmd[3246.49] seconds) build_karaf_tests71: OK (56.24=setup[12.45]+cmd[43.79] seconds) tests71: OK (415.76=setup[7.30]+cmd[408.46] seconds) build_karaf_tests190: OK (62.76=setup[13.56]+cmd[49.20] seconds) tests190: FAIL code 1 (151.57=setup[8.51]+cmd[143.06] seconds) build_karaf_tests_hybrid: OK (60.47=setup[12.44]+cmd[48.03] seconds) tests_hybrid: OK (1207.94=setup[7.37]+cmd[1200.56] seconds) buildlighty: OK (29.44=setup[6.78]+cmd[22.66] seconds) docs: OK (34.28=setup[31.89]+cmd[2.39] seconds) docs-linkcheck: OK (35.70=setup[30.97]+cmd[4.73] seconds) checkbashisms: OK (3.33=setup[1.99]+cmd[0.01,0.05,1.29] seconds) pre-commit: OK (58.04=setup[3.02]+cmd[0.01,0.00,41.64,13.37] seconds) pylint: OK (30.01=setup[4.71]+cmd[25.31] seconds) evaluation failed :( (7709.80 seconds)