checkbashisms: freeze> python -m pip freeze --all docs: install_deps> python -I -m pip install -r docs/requirements.txt 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 checkbashisms: pip==25.3,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.99 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.5.0,distlib==0.4.0,filelock==3.20.3,identify==2.6.16,nodeenv==1.10.0,pip==25.3,platformdirs==4.5.1,pre_commit==4.5.1,PyYAML==6.0.3,setuptools==80.9.0,virtualenv==20.36.1 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. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 21 21 ok, java is 21 or newer [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... Apache Maven 3.9.12 (848fbb4bf2d427b72bdb2471c22fced7ebd9a7a1) Maven home: /opt/maven Java version: 21.0.9, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-168-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... docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==1.0.0,attrs==25.4.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.1.4,charset-normalizer==3.4.4,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.61.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.11,imagesize==1.4.1,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.4.9,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.10.8,numpy==2.4.2,nwdiag==3.0.0,packaging==26.0,pillow==12.1.0,pip==25.3,Pygments==2.19.2,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.32.5,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.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-tabs==3.4.7,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.6.3,webcolors==25.10.0 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 [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: alabaster==1.0.0,attrs==25.4.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.1.4,charset-normalizer==3.4.4,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.61.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.11,imagesize==1.4.1,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.4.9,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.10.8,numpy==2.4.2,nwdiag==3.0.0,packaging==26.0,pillow==12.1.0,pip==25.3,Pygments==2.19.2,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.32.5,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.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-tabs==3.4.7,sphinx_rtd_theme==3.1.0,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.6.3,webcolors==25.10.0 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 38.92 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' docs-linkcheck: OK ✔ in 39.61 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==4.0.4,dill==0.4.1,isort==7.0.0,mccabe==0.7.0,pip==25.3,platformdirs==4.5.1,pylint==4.0.4,setuptools==80.9.0,tomlkit==0.14.0 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.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/transportpce_tests/tapi/test06_pce_tapi_transversal.py Tabs remover.............................................................Passed autopep8.................................................................Failed - hook id: autopep8 - files were modified by this hook perltidy.................................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/tests/transportpce_tests/tapi/test06_pce_tapi_transversal.py b/tests/transportpce_tests/tapi/test06_pce_tapi_transversal.py index f12a90269..44e53f287 100644 --- a/tests/transportpce_tests/tapi/test06_pce_tapi_transversal.py +++ b/tests/transportpce_tests/tapi/test06_pce_tapi_transversal.py @@ -40,7 +40,6 @@ class UuidServices: class TransportPCEtest(unittest.TestCase): - processes = None topo_tapi_sbi_data = None WAITING = 10 # nominal value is 300 @@ -51,76 +50,76 @@ class TransportPCEtest(unittest.TestCase): tapi_topo = {"topology-id": "TBD"} load_topo_input = { - "input": { - "file-path": "../../sample_configs/tapiSBItopo/tapiSbiTopo160226.json", - "topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b" - } - } + "input": { + "file-path": "../../sample_configs/tapiSBItopo/tapiSbiTopo160226.json", + "topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b" + } + } daexim_import_input = { - "check-models": "true", - "clear-stores": "none", - "file-name-filter": "odl_backup_operational2.json", - "strict-data-consistency": "true" - } + "check-models": "true", + "clear-stores": "none", + "file-name-filter": "odl_backup_operational2.json", + "strict-data-consistency": "true" + } daexim_export_input = { - "data-export-import:run-at": 50, - "data-export-import:local-node-only": "true", - "data-export-import:strict-data-consistency": "true", - "data-export-import:included-modules" : [ - { - "module-name": "tapi-common", - "data-store": "operational" - } - ] - } + "data-export-import:run-at": 50, + "data-export-import:local-node-only": "true", + "data-export-import:strict-data-consistency": "true", + "data-export-import:included-modules": [ + { + "module-name": "tapi-common", + "data-store": "operational" + } + ] + } rpc_interdomain_A1DEG1_to_TA1DEG1_input = { - "a-end": { - "rdm-node": "ROADMA1", - "deg-num": "1", - "termination-point": "DEG1-TTP-TXRX" - }, - "z-end": { - "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", - "rdm-node-uuid": "f929e2dc-3c08-32c3-985f-c126023efc43", - "rdm-nep-uuid" : "21190688-06b5-32be-be30-c73c9199b603" - } - } + "a-end": { + "rdm-node": "ROADMA1", + "deg-num": "1", + "termination-point": "DEG1-TTP-TXRX" + }, + "z-end": { + "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", + "rdm-node-uuid": "f929e2dc-3c08-32c3-985f-c126023efc43", + "rdm-nep-uuid": "21190688-06b5-32be-be30-c73c9199b603" + } + } rpc_interdomain_TA1DEG1_to_A1DEG1_input = { - "z-end": { - "rdm-node": "ROADMA1", - "deg-num": "1", - "termination-point": "DEG1-TTP-TXRX" - }, - "a-end": { - "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", - "rdm-node-uuid": "f929e2dc-3c08-32c3-985f-c126023efc43", - "rdm-nep-uuid" : "21190688-06b5-32be-be30-c73c9199b603" - } - } + "z-end": { + "rdm-node": "ROADMA1", + "deg-num": "1", + "termination-point": "DEG1-TTP-TXRX" + }, + "a-end": { + "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", + "rdm-node-uuid": "f929e2dc-3c08-32c3-985f-c126023efc43", + "rdm-nep-uuid": "21190688-06b5-32be-be30-c73c9199b603" + } + } rpc_interdomain_C1DEG2_to_TC1DEG2_input = { - "a-end": { - "rdm-node": "ROADMC1", - "deg-num": "2", - "termination-point": "DEG2-TTP-TXRX" - }, - "z-end": { - "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", - "rdm-node-uuid": "7a44ea23-90d1-357d-8754-6e88d404b670", - "rdm-nep-uuid" : "4085f64d-fc95-3e0b-845b-35ef5779bb25" - } - } + "a-end": { + "rdm-node": "ROADMC1", + "deg-num": "2", + "termination-point": "DEG2-TTP-TXRX" + }, + "z-end": { + "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", + "rdm-node-uuid": "7a44ea23-90d1-357d-8754-6e88d404b670", + "rdm-nep-uuid": "4085f64d-fc95-3e0b-845b-35ef5779bb25" + } + } rpc_interdomain_C1DEG2_to_TC1DEG2_input = { - "z-end": { - "rdm-node": "ROADMC1", - "deg-num": "2", - "termination-point": "DEG2-TTP-TXRX" - }, - "a-end": { - "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", - "rdm-node-uuid": "7a44ea23-90d1-357d-8754-6e88d404b670", - "rdm-nep-uuid" : "4085f64d-fc95-3e0b-845b-35ef5779bb25" - } - } + "z-end": { + "rdm-node": "ROADMC1", + "deg-num": "2", + "termination-point": "DEG2-TTP-TXRX" + }, + "a-end": { + "rdm-topology-uuid": "a21e4756-4d70-3d40-95b6-f7f630b4a13b", + "rdm-node-uuid": "7a44ea23-90d1-357d-8754-6e88d404b670", + "rdm-nep-uuid": "4085f64d-fc95-3e0b-845b-35ef5779bb25" + } + } @classmethod def setUpClass(cls): @@ -142,12 +141,12 @@ class TransportPCEtest(unittest.TestCase): # pylint: disable=bare-except TOPO_TAPI_SBI_FILE_ORG_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), - "..", "..", "sample_configs", "tapiSBItopo", - "tapiSbiTopo160226.json") + "..", "..", "sample_configs", "tapiSBItopo", + "tapiSbiTopo160226.json") print("sourcefile copied: {}".format(TOPO_TAPI_SBI_FILE_ORG_PATH)) TOPO_TAPI_SBI_FILE_DEST_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), - "..", "..", "..", "karaf", "target", "assembly", "daexim", - "odl_backup_operational2.json") + "..", "..", "..", "karaf", "target", "assembly", "daexim", + "odl_backup_operational2.json") print("Destfile copied to : {}".format(TOPO_TAPI_SBI_FILE_DEST_PATH)) shutil.copyfile(TOPO_TAPI_SBI_FILE_ORG_PATH, TOPO_TAPI_SBI_FILE_DEST_PATH) # First import TAPI context so that the file odl_backup_models.json is created by DAEXIM @@ -202,7 +201,7 @@ class TransportPCEtest(unittest.TestCase): # response = test_utils.transportpce_api_rpc_request( # 'transportpce-networkutils', 'init-inter-domain-links', self.rpc_interdomain_TA1DEG1_to_A1DEG1_input) # - # if (response['status_code'] != requests.codes.ok + # if (response['status_code'] != requests.codes.ok # or 'Unidirectional Roadm-to-Roadm Inter-Domain Link created successfully' # not in response["output"]["result"]): # print("interdomain Link creation from ROADMA1 to ROADMTA1 failed") @@ -229,5 +228,6 @@ class TransportPCEtest(unittest.TestCase): # print("TIME TO UPLOAD FULL TOPOLOGY with Interdomain link") # time.sleep(25) + if __name__ == "__main__": unittest.main(verbosity=2) pre-commit: exit 1 (48.64 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure pid=2490 ************* Module test06_pce_tapi_transversal transportpce_tests/tapi/test06_pce_tapi_transversal.py:140:40: E1136: Value 'cls.processes' is unsubscriptable (unsubscriptable-object) transportpce_tests/tapi/test06_pce_tapi_transversal.py:147:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) transportpce_tests/tapi/test06_pce_tapi_transversal.py:151:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) transportpce_tests/tapi/test06_pce_tapi_transversal.py:154:8: W0612: Unused variable 'response' (unused-variable) ----------------------------------- Your code has been rated at 9.99/10 pre-commit: FAIL ✖ in 51.59 seconds pylint: exit 1 (27.54 seconds) /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}$' '{}' + pid=3285 pylint: FAIL ✖ in 31.82 seconds buildcontroller: OK ✔ in 2 minutes 0.87 seconds 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_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_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_tests71: freeze> python -m pip freeze --all build_karaf_tests190: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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_tests190: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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_tests71: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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: freeze> python -m pip freeze --all build_karaf_tests121: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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_tests71: OK ✔ in 1 minute 7.68 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_tests221: OK ✔ in 1 minute 8.49 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 10.41 seconds build_karaf_tests121: OK ✔ in 1 minute 10.47 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 sims: freeze> python -m pip freeze --all buildlighty: freeze> python -m pip freeze --all sims: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 buildlighty: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh sims: OK ✔ in 12 seconds buildlighty: OK ✔ in 34.46 seconds testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,click==8.3.1,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.61.1,gnpy4tpce==2.4.7,idna==3.11,iniconfig==2.3.0,injector==0.24.0,invoke==2.2.1,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.4.9,lxml==6.0.2,MarkupSafe==3.0.3,matplotlib==3.10.8,netconf-client==3.5.0,networkx==2.8.8,numpy==1.26.4,packaging==26.0,pandas==1.5.3,paramiko==4.0.0,pbr==5.11.1,pillow==12.1.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pyparsing==3.3.2,pytest==9.0.2,python-dateutil==2.9.0.post0,pytz==2025.2,requests==2.32.5,scipy==1.17.0,setuptools==50.3.2,six==1.17.0,urllib3==2.6.3,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 111.02s (0:01:51) pytest -q transportpce_tests/pce/test02_pce_400G.py ............ [100%] 12 passed in 47.63s pytest -q transportpce_tests/pce/test03_gnpy.py ........ [100%] 8 passed in 38.28s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ... [100%] 3 passed in 36.83s testsPCE: OK ✔ in 4 minutes 48.37 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 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 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 tests190: freeze> python -m pip freeze --all tests121: freeze> python -m pip freeze --all tests_tapi: freeze> python -m pip freeze --all tests190: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 tests_tapi: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi tests121: bcrypt==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py pytest -q transportpce_tests/1.2.1/test01_portmapping.py ........... [100%] 10 passed in 76.44s (0:01:16) pytest -q transportpce_tests/oc/test02_topology.py ................................. [100%] 21 passed in 124.51s (0:02:04) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ......................... [100%] 14 passed in 66.76s (0:01:06) pytest -q transportpce_tests/oc/test03_renderer.py ................... [100%] 6 passed in 61.27s (0:01:01) pytest -q transportpce_tests/1.2.1/test03_topology.py ................... [100%] 19 passed in 59.96s tests190: OK ✔ in 3 minutes 32.73 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==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 55.46s pytest -q transportpce_tests/7.1/test02_otn_renderer.py ............................ [100%] 51 passed in 313.25s (0:05:13) .pytest -q transportpce_tests/tapi/test02_full_topology.py .......................... [100%] 44 passed in 156.16s (0:02:36) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ............................................................................ [100%] 62 passed in 159.33s (0:02:39) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py .... [100%] 24 passed in 94.02s (0:01:34) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................................................................ [100%] 48 passed in 155.69s (0:02:35) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ............................... [100%] 40 passed in 200.11s (0:03:20) pytest -q transportpce_tests/1.2.1/test06_end2end.py .......... [100%] 36 passed in 341.65s (0:05:41) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .. [100%] 22 passed in 76.12s (0:01:16) ....................................................................................................................... [100%] 71 passed in 331.98s (0:05:31) pytest -q transportpce_tests/tapi/test04_topo_extension.py .................... [100%] 19 passed in 142.10s (0:02:22) pytest -q transportpce_tests/tapi/test05_pce_tapi.py ..... [100%] 54 passed in 548.55s (0:09:08) ...................... [100%] 22 passed in 462.09s (0:07:42) pytest -q transportpce_tests/tapi/test06_pce_tapi_transversal.py E [100%] ==================================== ERRORS ==================================== _____ ERROR at setup of TransportPCEtest.test_01_get_tapi_topology_details _____ cls = @classmethod def setUpClass(cls): # pylint: disable=unsubscriptable-object cls.init_failed = False os.environ['JAVA_MIN_MEM'] = '1024M' os.environ['JAVA_MAX_MEM'] = '4096M' # cls.processes = test_utils.start_tpce() # TAPI feature is not installed by default in Karaf if "NO_ODL_STARTUP" not in os.environ or "USE_LIGHTY" not in os.environ or os.environ['USE_LIGHTY'] != 'True': print("installing tapi feature...") result = test_utils.install_karaf_feature("odl-transportpce-tapi") if result.returncode != 0: cls.init_failed = True if cls.init_failed: print("tapi installation feature failed...") > test_utils.shutdown_process(cls.processes[0]) ^^^^^^^^^^^^^^^^ E TypeError: 'NoneType' object is not subscriptable transportpce_tests/tapi/test06_pce_tapi_transversal.py:139: TypeError ---------------------------- Captured stdout setup ----------------------------- installing tapi feature... installing feature odl-transportpce-tapi client: JAVA_HOME not set; results may vary tapi installation feature failed... ---------------------------- Captured stderr setup ----------------------------- Failed to get the session. =========================== short test summary info ============================ ERROR transportpce_tests/tapi/test06_pce_tapi_transversal.py::TransportPCEtest::test_01_get_tapi_topology_details 1 error in 0.75s tests71: OK ✔ in 7 minutes 36.6 seconds tests121: OK ✔ in 19 minutes 54.65 seconds tests_tapi: exit 1 (1593.61 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=7509 tests_tapi: FAIL ✖ in 26 minutes 41.71 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==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 77.58s (0:01:17) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 45.77s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 138.58s (0:02:18) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 60.93s (0:01:00) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 115.82s (0:01:55) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 38.28s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 91.21s (0:01:31) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................... [100%] 22 passed in 99.90s (0:01:39) pytest -q transportpce_tests/2.2.1/test09_olm.py ........................................ [100%] 40 passed in 182.62s (0:03:02) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ........................................................................ [ 74%] ......................... [100%] 97 passed in 491.23s (0:08:11) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 447.27s (0:07:27) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 851.75s (0:14:11) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 600.61s (0:10:00) pytest -q transportpce_tests/2.2.1/test16_freq_end2end.py ............................................. [100%] 45 passed in 200.11s (0:03:20) tests221: OK ✔ in 57 minutes 33.86 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==5.0.0,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,cryptography==46.0.4,dict2xml==1.7.8,idna==3.11,iniconfig==2.3.0,invoke==2.2.1,lxml==6.0.2,netconf-client==3.5.0,packaging==26.0,paramiko==4.0.0,pip==25.3,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.19.2,PyNaCl==1.6.2,pytest==9.0.2,requests==2.32.5,setuptools==80.9.0,urllib3==2.6.3 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 330.11s (0:05:30) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 432.70s (0:07:12) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 265.78s (0:04:25) buildcontroller: OK (120.87=setup[9.06]+cmd[111.81] seconds) sims: OK (12.00=setup[9.29]+cmd[2.71] seconds) build_karaf_tests121: OK (70.47=setup[8.96]+cmd[61.51] seconds) testsPCE: OK (288.37=setup[53.39]+cmd[234.98] seconds) tests121: OK (1194.65=setup[8.11]+cmd[1186.55] seconds) build_karaf_tests221: OK (68.48=setup[8.40]+cmd[60.08] seconds) tests_tapi: FAIL code 1 (1601.71=setup[8.10]+cmd[1593.61] seconds) tests221: OK (3453.86=setup[7.86]+cmd[3446.00] seconds) build_karaf_tests71: OK (67.68=setup[8.47]+cmd[59.21] seconds) tests71: OK (456.60=setup[8.67]+cmd[447.94] seconds) build_karaf_tests190: OK (70.41=setup[8.46]+cmd[61.95] seconds) tests190: OK (212.73=setup[8.03]+cmd[204.71] seconds) tests_hybrid: OK (1067.82=setup[38.22]+cmd[1029.60] seconds) buildlighty: OK (34.46=setup[10.11]+cmd[24.35] seconds) docs: OK (38.92=setup[35.58]+cmd[3.34] seconds) docs-linkcheck: OK (39.61=setup[34.76]+cmd[4.85] seconds) checkbashisms: OK (3.99=setup[2.38]+cmd[0.01,0.12,1.47] seconds) pre-commit: FAIL code 1 (51.59=setup[2.92]+cmd[0.01,0.02,48.64] seconds) pylint: FAIL code 1 (31.82=setup[4.28]+cmd[27.54] seconds) evaluation failed :( (6603.16 seconds)