checkbashisms: freeze> python -m pip freeze --all 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: 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==24.2,setuptools==74.1.2,wheel==0.44.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 2.82 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.8,filelock==3.16.0,identify==2.6.1,nodeenv==1.9.1,pip==24.2,platformdirs==4.3.3,pre-commit==3.8.0,PyYAML==6.0.2,setuptools==74.1.2,virtualenv==20.26.4,wheel==0.44.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 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [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 [INFO] Initializing environment for https://github.com/perltidy/perltidy. buildcontroller: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.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 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 [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... 21 21 ok, java is 21 or newer Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-190-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: freeze> python -m pip freeze --all docs-linkcheck: freeze> python -m pip freeze --all docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==74.1.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,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.2.3,webcolors==24.8.0,wheel==0.44.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-linkcheck: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==74.1.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,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.2.3,webcolors==24.8.0,wheel==0.44.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 trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................docs: OK ✔ in 38.57 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' Failed - hook id: autopep8 - files were modified by this hook perltidy.................................................................docs-linkcheck: OK ✔ in 40.18 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.2.4,dill==0.3.8,isort==5.13.2,mccabe==0.7.0,pip==24.2,platformdirs==4.3.3,pylint==3.2.7,setuptools==74.1.2,tomlkit==0.13.2,wheel==0.44.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}$' '{}' + 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/1.2.1/test01_portmapping.py b/tests/transportpce_tests/1.2.1/test01_portmapping.py index 6c1ea7e7..7b4c14e1 100644 --- a/tests/transportpce_tests/1.2.1/test01_portmapping.py +++ b/tests/transportpce_tests/1.2.1/test01_portmapping.py @@ -156,12 +156,12 @@ class TransportPCEPortMappingTesting(unittest.TestCase): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT1") self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn( - # {'supporting-port': 'C1', - # 'supporting-circuit-pack-name': '1/0/C1-PLUG-CLIENT', - # 'logical-connection-point': 'XPDR1-CLIENT1', 'port-direction': 'bidirectional', - # 'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client', - # 'lcp-hash-val': 'AO9UFkY/TLYw', 'xpdr-type': 'tpdr', - # 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, + # {'supporting-port': 'C1', + # 'supporting-circuit-pack-name': '1/0/C1-PLUG-CLIENT', + # 'logical-connection-point': 'XPDR1-CLIENT1', 'port-direction': 'bidirectional', + # 'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client', + # 'lcp-hash-val': 'AO9UFkY/TLYw', 'xpdr-type': 'tpdr', + # 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/0/C1-PLUG-CLIENT', 'rate': '0', 'port-admin-state': 'InService', 'supporting-port': 'C1', diff --git a/tests/transportpce_tests/2.2.1/test01_portmapping.py b/tests/transportpce_tests/2.2.1/test01_portmapping.py index 1e91016f..ffe0a5cc 100644 --- a/tests/transportpce_tests/2.2.1/test01_portmapping.py +++ b/tests/transportpce_tests/2.2.1/test01_portmapping.py @@ -136,7 +136,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', - 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRI'}, + 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRI'}, response['mapping']) def test_12_xpdr_portmapping_XPDR2_NETWORK1(self): diff --git a/tests/transportpce_tests/7.1/test01_portmapping.py b/tests/transportpce_tests/7.1/test01_portmapping.py index 4126101f..fbb60f99 100644 --- a/tests/transportpce_tests/7.1/test01_portmapping.py +++ b/tests/transportpce_tests/7.1/test01_portmapping.py @@ -75,20 +75,20 @@ class TransportPCE400GPortMappingTesting(unittest.TestCase): self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn( { - 'logical-connection-point': 'XPDR1-NETWORK1', - 'supporting-circuit-pack-name': '1/1/2-PLUG-NET', - 'rate': '200', - 'supporting-port': 'L1', - 'port-oper-state': 'InService', - 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], - 'port-direction': 'bidirectional', - 'port-qual': 'xpdr-network', - 'port-admin-state': 'InService', - 'connection-map-lcp': 'XPDR1-CLIENT1', - 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], - 'xpdr-type': 'tpdr', - 'lcp-hash-val': 'AIGiVAQ4gDil' - }, + 'logical-connection-point': 'XPDR1-NETWORK1', + 'supporting-circuit-pack-name': '1/1/2-PLUG-NET', + 'rate': '200', + 'supporting-port': 'L1', + 'port-oper-state': 'InService', + 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], + 'port-direction': 'bidirectional', + 'port-qual': 'xpdr-network', + 'port-admin-state': 'InService', + 'connection-map-lcp': 'XPDR1-CLIENT1', + 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], + 'xpdr-type': 'tpdr', + 'lcp-hash-val': 'AIGiVAQ4gDil' + }, response['mapping']) def test_05_tpdr_portmapping_CLIENT1(self): diff --git a/tests/transportpce_tests/7.1/test02_otn_renderer.py b/tests/transportpce_tests/7.1/test02_otn_renderer.py index 9eb65ed5..3ba032e5 100644 --- a/tests/transportpce_tests/7.1/test02_otn_renderer.py +++ b/tests/transportpce_tests/7.1/test02_otn_renderer.py @@ -26,17 +26,17 @@ class TransportPCE400GPortMappingTesting(unittest.TestCase): processes = None NETWORK2_CHECK_DICT = {"logical-connection-point": "XPDR2-NETWORK1", - # "supporting-port": "L1", - # "supported-interface-capability": [ - # "org-openroadm-port-types:if-otsi-otsigroup" - # ], - # "port-direction": "bidirectional", - # "port-qual": "switch-network", - # "supporting-circuit-pack-name": "1/2/2-PLUG-NET", - # "xpdr-type": "mpdr", - # 'lcp-hash-val': 'LY9PxYJqUbw=', - # 'port-admin-state': 'InService', - # 'port-oper-state': 'InService'} + # "supporting-port": "L1", + # "supported-interface-capability": [ + # "org-openroadm-port-types:if-otsi-otsigroup" + # ], + # "port-direction": "bidirectional", + # "port-qual": "switch-network", + # "supporting-circuit-pack-name": "1/2/2-PLUG-NET", + # "xpdr-type": "mpdr", + # 'lcp-hash-val': 'LY9PxYJqUbw=', + # 'port-admin-state': 'InService', + # 'port-oper-state': 'InService'} 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', @@ -49,7 +49,7 @@ class TransportPCE400GPortMappingTesting(unittest.TestCase): 'port-admin-state': 'InService', 'supported-operational-mode': [ 'OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd' - ], + ], 'xpdr-type': 'mpdr', 'lcp-hash-val': 'LY9PxYJqUbw='} NODE_VERSION = '7.1' pre-commit: exit 1 (39.12 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure pid=29160 ------------------------------------ Your code has been rated at 10.00/10 pre-commit: FAIL ✖ in 42.24 seconds pylint: OK ✔ in 27.45 seconds buildcontroller: OK ✔ in 1 minute 50.02 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 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 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 build_karaf_tests221: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.0 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh Using lighynode version 20.1.0.2 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims: OK ✔ in 14.55 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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 3.63 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 build_karaf_tests121: OK ✔ in 1 minute 6.22 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 build_karaf_tests_hybrid: freeze> python -m pip freeze --all tests_tapi: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh tests_tapi: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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 build_karaf_tests71: OK ✔ in 1 minute 32 seconds testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,click==8.1.7,contourpy==1.3.0,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.53.1,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==2.1.5,matplotlib==3.9.2,netconf-client==3.1.1,networkx==2.8.8,numpy==1.26.4,packaging==24.1,pandas==1.5.3,paramiko==3.5.0,pbr==5.11.1,pillow==10.4.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.1.4,pytest==8.3.3,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.3,Werkzeug==2.0.3,wheel==0.44.0,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 123.57s (0:02:03) pytest -q transportpce_tests/pce/test02_pce_400G.py ................. [100%] 9 passed in 43.67s pytest -q transportpce_tests/pce/test03_gnpy.py .............. [100%] 8 passed in 39.25s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ........... [100%] 3 passed in 37.29s build_karaf_tests_hybrid: OK ✔ in 1 minute 2.95 seconds testsPCE: OK ✔ in 5 minutes 58.01 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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%] 50 passed in 433.26s (0:07:13) pytest -q transportpce_tests/tapi/test02_full_topology.py .FFFF.F..........F.FFFFFFFFFFF...... [100%] =================================== FAILURES =================================== _____________ TransportPCEtesting.test_12_check_openroadm_topology _____________ self = def test_12_check_openroadm_topology(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['node']), 13, 'There should be 13 openroadm nodes') E AssertionError: 14 != 13 : There should be 13 openroadm nodes transportpce_tests/tapi/test02_full_topology.py:272: AssertionError ________________ TransportPCEtesting.test_14_check_sip_details _________________ self = def test_14_check_sip_details(self): response = test_utils.transportpce_api_rpc_request( 'tapi-common', 'get-service-interface-point-list', None) > self.assertEqual(len(response['output']['sip']), 84, 'There should be 84 service interface point') E AssertionError: 42 != 84 : There should be 84 service interface point transportpce_tests/tapi/test02_full_topology.py:291: AssertionError ____ TransportPCEtesting.test_15_create_connectivity_service_PhotonicMedia _____ self = def test_15_create_connectivity_service_PhotonicMedia(self): self.cr_serv_input_data["end-point"][0]["service-interface-point"]["service-interface-point-uuid"] = self.sAOTS self.cr_serv_input_data["end-point"][1]["service-interface-point"]["service-interface-point-uuid"] = self.sZOTS response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'create-connectivity-service', self.cr_serv_input_data) time.sleep(self.WAITING) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test02_full_topology.py:300: AssertionError ____________ TransportPCEtesting.test_16_get_service_PhotonicMedia _____________ self = def test_16_get_service_PhotonicMedia(self): response = test_utils.get_ordm_serv_list_attr_request("services", str(self.uuid_services.pm)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/tapi/test02_full_topology.py:330: AssertionError _________ TransportPCEtesting.test_17_create_connectivity_service_ODU __________ self = def test_17_create_connectivity_service_ODU(self): # pylint: disable=line-too-long self.cr_serv_input_data["layer-protocol-name"] = "ODU" self.cr_serv_input_data["end-point"][0]["layer-protocol-name"] = "ODU" self.cr_serv_input_data["end-point"][0]["service-interface-point"]["service-interface-point-uuid"] = self.sAeODU self.cr_serv_input_data["end-point"][1]["layer-protocol-name"] = "ODU" self.cr_serv_input_data["end-point"][1]["service-interface-point"]["service-interface-point-uuid"] = self.sZeODU # self.cr_serv_input_data["connectivity-constraint"]["service-layer"] = "ODU" self.cr_serv_input_data["connectivity-constraint"]["service-level"] = self.uuid_services.pm response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'create-connectivity-service', self.cr_serv_input_data) time.sleep(self.WAITING) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test02_full_topology.py:351: AssertionError _________________ TransportPCEtesting.test_18_get_service_ODU __________________ self = def test_18_get_service_ODU(self): response = test_utils.get_ordm_serv_list_attr_request("services", str(self.uuid_services.odu)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/tapi/test02_full_topology.py:379: AssertionError _________ TransportPCEtesting.test_19_create_connectivity_service_DSR __________ self = def test_19_create_connectivity_service_DSR(self): # pylint: disable=line-too-long self.cr_serv_input_data["layer-protocol-name"] = "DSR" self.cr_serv_input_data["end-point"][0]["layer-protocol-name"] = "DSR" self.cr_serv_input_data["end-point"][0]["service-interface-point"]["service-interface-point-uuid"] = self.sADSR self.cr_serv_input_data["end-point"][1]["layer-protocol-name"] = "DSR" self.cr_serv_input_data["end-point"][1]["service-interface-point"]["service-interface-point-uuid"] = self.sZDSR # self.cr_serv_input_data["connectivity-constraint"]["service-layer"] = "DSR" self.cr_serv_input_data["connectivity-constraint"]["requested-capacity"]["total-size"]["value"] = "10" self.cr_serv_input_data["connectivity-constraint"]["service-level"] = self.uuid_services.odu response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'create-connectivity-service', self.cr_serv_input_data) time.sleep(self.WAITING) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test02_full_topology.py:401: AssertionError _________________ TransportPCEtesting.test_20_get_service_DSR __________________ self = def test_20_get_service_DSR(self): response = test_utils.get_ordm_serv_list_attr_request("services", str(self.uuid_services.dsr)) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/tapi/test02_full_topology.py:432: AssertionError __________ TransportPCEtesting.test_21_get_connectivity_service_list ___________ self = def test_21_get_connectivity_service_list(self): response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'get-connectivity-service-list', None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test02_full_topology.py:442: AssertionError _________ TransportPCEtesting.test_22_delete_connectivity_service_DSR __________ self = def test_22_delete_connectivity_service_DSR(self): self.del_serv_input_data["uuid"] = str(self.uuid_services.dsr) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'delete-connectivity-service', self.del_serv_input_data) > self.assertIn(response["status_code"], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/tapi/test02_full_topology.py:471: AssertionError _________ TransportPCEtesting.test_23_delete_connectivity_service_ODU __________ self = def test_23_delete_connectivity_service_ODU(self): self.del_serv_input_data["uuid"] = str(self.uuid_services.odu) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'delete-connectivity-service', self.del_serv_input_data) > self.assertIn(response["status_code"], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/tapi/test02_full_topology.py:478: AssertionError ____ TransportPCEtesting.test_24_delete_connectivity_service_PhotonicMedia _____ self = def test_24_delete_connectivity_service_PhotonicMedia(self): self.del_serv_input_data["uuid"] = str(self.uuid_services.pm) response = test_utils.transportpce_api_rpc_request( 'tapi-connectivity', 'delete-connectivity-service', self.del_serv_input_data) > self.assertIn(response["status_code"], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/tapi/test02_full_topology.py:485: AssertionError =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_12_check_openroadm_topology FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_14_check_sip_details FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_15_create_connectivity_service_PhotonicMedia FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_16_get_service_PhotonicMedia FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_17_create_connectivity_service_ODU FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_18_get_service_ODU FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_19_create_connectivity_service_DSR FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_20_get_service_DSR FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_21_get_connectivity_service_list FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_22_delete_connectivity_service_DSR FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_23_delete_connectivity_service_ODU FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_24_delete_connectivity_service_PhotonicMedia 12 failed, 18 passed in 213.05s (0:03:33) tests_tapi: exit 1 (646.95 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=30925 tests_tapi: FAIL ✖ in 10 minutes 58.14 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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 ..F.F.F.F.F.F.F.F.... [100%] 12 passed in 44.44s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] 62 passed in 157.03s (0:02:37) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py F.......FF..........................F.............. [100%] =================================== FAILURES =================================== _____ TransportPCE400GPortMappingTesting.test_05_get_portmapping_network1 ______ self = def test_05_get_portmapping_network1(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR3-NETWORK1") self.assertEqual(response["status_code"], requests.codes.ok) self.NETWORK1_CHECK_DICT["supporting-otucn"] = "XPDR3-NETWORK1-OTUC1" self.NETWORK1_CHECK_DICT["lcp-hash-val"] = "FDvaQIf2Z08=" self.NETWORK1_CHECK_DICT["connection-map-lcp"] = "XPDR3-CLIENT1" > self.assertIn( self.NETWORK1_CHECK_DICT, response["mapping"]) E AssertionError: {'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-port': 'L1', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-network', 'supporting-circuit-pack-name': '1/1/4-PLUG-NET', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService', 'supporting-otucn': 'XPDR3-NETWORK1-OTUC1', 'lcp-hash-val': 'FDvaQIf2Z08=', 'connection-map-lcp': 'XPDR3-CLIENT1'} not found in [{'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-circuit-pack-name': '1/1/4-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-network', 'port-admin-state': 'InService', 'connection-map-lcp': 'XPDR3-CLIENT1', 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], 'xpdr-type': 'tpdr', 'supporting-otucn': 'XPDR3-NETWORK1-OTUC1', 'lcp-hash-val': 'FDvaQIf2Z08='}] transportpce_tests/7.1/test03_renderer_or_modes.py:170: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_get_portmapping_network1 _____ TransportPCE400GPortMappingTesting.test_06_get_portmapping_network1 ______ self = def test_06_get_portmapping_network1(self): response = test_utils.get_portmapping_node_attr("XPDR-C2", "mapping", "XPDR3-NETWORK1") self.assertEqual(response["status_code"], requests.codes.ok) self.NETWORK1_CHECK_DICT["supporting-otucn"] = "XPDR3-NETWORK1-OTUC1" self.NETWORK1_CHECK_DICT["lcp-hash-val"] = "AJpkaVmZKJk5" self.NETWORK1_CHECK_DICT["connection-map-lcp"] = "XPDR3-CLIENT1" > self.assertIn( self.NETWORK1_CHECK_DICT, response["mapping"]) E AssertionError: {'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-port': 'L1', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-network', 'supporting-circuit-pack-name': '1/1/4-PLUG-NET', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService', 'supporting-otucn': 'XPDR3-NETWORK1-OTUC1', 'lcp-hash-val': 'AJpkaVmZKJk5', 'connection-map-lcp': 'XPDR3-CLIENT1'} not found in [{'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-circuit-pack-name': '1/1/4-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-network', 'port-admin-state': 'InService', 'connection-map-lcp': 'XPDR3-CLIENT1', 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], 'xpdr-type': 'tpdr', 'supporting-otucn': 'XPDR3-NETWORK1-OTUC1', 'lcp-hash-val': 'AJpkaVmZKJk5'}] transportpce_tests/7.1/test03_renderer_or_modes.py:180: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_get_portmapping_network1 _____ TransportPCE400GPortMappingTesting.test_33_get_portmapping_network1 ______ self = def test_33_get_portmapping_network1(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") self.assertEqual(response["status_code"], requests.codes.ok) self.NETWORK1_CHECK_DICT["supporting-otucn"] = "XPDR2-NETWORK1-OTUC2" del self.NETWORK1_CHECK_DICT["connection-map-lcp"] > self.assertIn( self.NETWORK1_CHECK_DICT, response["mapping"]) E AssertionError: {'logical-connection-point': 'XPDR2-NETWORK1', 'supporting-port': 'L1', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'switch-network', 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'xpdr-type': 'mpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService', 'supporting-otucn': 'XPDR2-NETWORK1-OTUC2', 'lcp-hash-val': 'LY9PxYJqUbw='} not found in [{'logical-connection-point': 'XPDR2-NETWORK1', 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'switch-network', 'port-admin-state': 'InService', 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], 'xpdr-type': 'mpdr', 'supporting-otucn': 'XPDR2-NETWORK1-OTUC2', 'lcp-hash-val': 'LY9PxYJqUbw='}] transportpce_tests/7.1/test03_renderer_or_modes.py:612: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_33_get_portmapping_network1 =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_05_get_portmapping_network1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_06_get_portmapping_network1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_33_get_portmapping_network1 3 failed, 45 passed in 137.05s (0:02:17) tests71: exit 1 (339.24 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=37544 tests71: FAIL ✖ in 5 minutes 45.97 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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 ..................F...... [100%] =================================== FAILURES =================================== _________ TransportPCEPortMappingTesting.test_02_rdm_device_connected __________ self = def test_02_rdm_device_connected(self): response = test_utils.check_device_connection("ROADMA01") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:54: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_rdm_device_connected _________ TransportPCEPortMappingTesting.test_03_rdm_portmapping_info __________ self = def test_03_rdm_portmapping_info(self): response = test_utils.get_portmapping_node_attr("ROADMA01", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:60: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_rdm_portmapping_info _____ TransportPCEPortMappingTesting.test_04_rdm_portmapping_DEG1_TTP_TXRX _____ self = def test_04_rdm_portmapping_DEG1_TTP_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "DEG1-TTP-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:73: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_rdm_portmapping_DEG1_TTP_TXRX _____ TransportPCEPortMappingTesting.test_05_rdm_portmapping_SRG1_PP7_TXRX _____ self = def test_05_rdm_portmapping_SRG1_PP7_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "SRG1-PP7-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:82: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_rdm_portmapping_SRG1_PP7_TXRX _____ TransportPCEPortMappingTesting.test_06_rdm_portmapping_SRG3_PP1_TXRX _____ self = def test_06_rdm_portmapping_SRG3_PP1_TXRX(self): response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "SRG3-PP1-TXRX") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:91: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_rdm_portmapping_SRG3_PP1_TXRX _________ TransportPCEPortMappingTesting.test_08_xpdr_device_connected _________ self = def test_08_xpdr_device_connected(self): response = test_utils.check_device_connection("XPDRA01") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:104: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_xpdr_device_connected _________ TransportPCEPortMappingTesting.test_09_xpdr_portmapping_info _________ self = def test_09_xpdr_portmapping_info(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:110: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_xpdr_portmapping_info _______ TransportPCEPortMappingTesting.test_10_xpdr_portmapping_NETWORK1 _______ self = def test_10_xpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-NETWORK1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:123: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_portmapping_NETWORK1 _______ TransportPCEPortMappingTesting.test_11_xpdr_portmapping_NETWORK2 _______ self = def test_11_xpdr_portmapping_NETWORK2(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-NETWORK2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:140: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_xpdr_portmapping_NETWORK2 _______ TransportPCEPortMappingTesting.test_12_xpdr_portmapping_CLIENT1 ________ self = def test_12_xpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:157: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_xpdr_portmapping_CLIENT1 _______ TransportPCEPortMappingTesting.test_13_xpdr_portmapping_CLIENT2 ________ self = def test_13_xpdr_portmapping_CLIENT2(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:175: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_xpdr_portmapping_CLIENT2 _______ TransportPCEPortMappingTesting.test_14_xpdr_portmapping_CLIENT3 ________ self = def test_14_xpdr_portmapping_CLIENT3(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT3") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:192: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_xpdr_portmapping_CLIENT3 _______ TransportPCEPortMappingTesting.test_15_xpdr_portmapping_CLIENT4 ________ self = def test_15_xpdr_portmapping_CLIENT4(self): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/1.2.1/test01_portmapping.py:210: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_xpdr_portmapping_CLIENT4 _______ TransportPCEPortMappingTesting.test_16_xpdr_device_disconnection _______ self = def test_16_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDRA01") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/1.2.1/test01_portmapping.py:226: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_xpdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ XPDRA01' in karaf.log... Pattern not found after 180 seconds! Node XPDRA01 still not deleted from tpce topology... _______ TransportPCEPortMappingTesting.test_19_rdm_device_disconnection ________ self = def test_19_rdm_device_disconnection(self): response = test_utils.unmount_device("ROADMA01") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/1.2.1/test01_portmapping.py:246: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_rdm_device_disconnection Searching for pattern 'onDeviceDisConnected:\ ROADMA01' in karaf.log... Pattern not found after 180 seconds! Node ROADMA01 still not deleted from tpce topology... =========================== short test summary info ============================ FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_02_rdm_device_connected FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_03_rdm_portmapping_info FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_04_rdm_portmapping_DEG1_TTP_TXRX FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_05_rdm_portmapping_SRG1_PP7_TXRX FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_06_rdm_portmapping_SRG3_PP1_TXRX FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_08_xpdr_device_connected FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_09_xpdr_portmapping_info FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_10_xpdr_portmapping_NETWORK1 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_11_xpdr_portmapping_NETWORK2 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_12_xpdr_portmapping_CLIENT1 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_13_xpdr_portmapping_CLIENT2 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_14_xpdr_portmapping_CLIENT3 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_15_xpdr_portmapping_CLIENT4 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_16_xpdr_device_disconnection FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_19_rdm_device_disconnection 15 failed, 6 passed in 775.09s (0:12:55) tests121: exit 1 (775.34 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 pid=35452 ............. [100%] 35 passed in 76.52s (0:01:16) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.98s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 138.54s (0:02:18) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 61.57s (0:01:01) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 115.64s (0:01:55) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ...F........................... [100%] =================================== FAILURES =================================== _____________ TransportPCERendererTesting.test_04_xpdr_portmapping _____________ self = def test_04_xpdr_portmapping(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", None, None) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'logical-connection-point': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-CLIENT1', 'lcp-hash-val': 'AMkDwQ7xTmRI', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, response['nodes'][0]['mapping']) E AssertionError: {'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'logical-connection-point': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-network', 'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-CLIENT1', 'lcp-hash-val': 'AMkDwQ7xTmRI', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'} not found in [{'logical-connection-point': 'XPDR1-CLIENT2', 'supporting-circuit-pack-name': '1/0/2-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK2', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALg'}, {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'rate': '0', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRI'}, {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/0/1-PLUG-CLIENT', 'rate': '100', 'port-admin-state': 'InService', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK1', 'supported-interface-capability': ['org-openroadm-port-types:if-100GE'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AJUUr6I5fALj'}, {'logical-connection-point': 'XPDR1-NETWORK2', 'supporting-circuit-pack-name': '1/0/2-PLUG-NET', 'rate': '0', 'port-admin-state': 'InService', 'supporting-port': '1', 'port-oper-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT2', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH'], 'port-direction': 'bidirectional', 'xpdr-type': 'tpdr', 'port-qual': 'xpdr-network', 'lcp-hash-val': 'AMkDwQ7xTmRL'}] transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py:68: AssertionError =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py::TransportPCERendererTesting::test_04_xpdr_portmapping 1 failed, 30 passed in 36.21s tests121: FAIL ✖ in 13 minutes 1.96 seconds tests221: exit 1 (474.84 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=39934 tests221: FAIL ✖ in 8 minutes 3.46 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.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.76s (0:02:31) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 428.62s (0:07:08) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 260.39s (0:04:20) tests_hybrid: OK ✔ in 14 minutes 7.67 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.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.5.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.3,wheel==0.44.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh [ERROR] COMPILATION ERROR : [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[17,42] cannot find symbol symbol: class YangModuleInfo location: package org.opendaylight.yangtools.binding [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[21,30] cannot find symbol symbol: class YangModuleInfo location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[343,30] cannot find symbol symbol: class YangModuleInfo location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[350,23] cannot find symbol symbol: class YangModuleInfo location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project tpce: Compilation failure: Compilation failure: [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[17,42] cannot find symbol [ERROR] symbol: class YangModuleInfo [ERROR] location: package org.opendaylight.yangtools.binding [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[21,30] cannot find symbol [ERROR] symbol: class YangModuleInfo [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[343,30] cannot find symbol [ERROR] symbol: class YangModuleInfo [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[350,23] cannot find symbol [ERROR] symbol: class YangModuleInfo [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException buildlighty: exit 9 (13.41 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=48741 buildlighty: command failed but is marked ignore outcome so handling it as success buildcontroller: OK (110.02=setup[8.08]+cmd[101.94] seconds) testsPCE: OK (358.01=setup[113.09]+cmd[244.93] seconds) sims: OK (14.54=setup[9.51]+cmd[5.04] seconds) build_karaf_tests121: OK (66.22=setup[9.40]+cmd[56.82] seconds) tests121: FAIL code 1 (781.96=setup[6.62]+cmd[775.34] seconds) build_karaf_tests221: OK (63.62=setup[9.40]+cmd[54.23] seconds) tests_tapi: FAIL code 1 (658.14=setup[11.19]+cmd[646.95] seconds) tests221: FAIL code 1 (483.46=setup[8.62]+cmd[474.84] seconds) build_karaf_tests71: OK (92.00=setup[14.48]+cmd[77.52] seconds) tests71: FAIL code 1 (345.97=setup[6.73]+cmd[339.24] seconds) build_karaf_tests_hybrid: OK (62.95=setup[13.74]+cmd[49.22] seconds) tests_hybrid: OK (847.67=setup[6.21]+cmd[841.46] seconds) buildlighty: OK (20.19=setup[6.79]+cmd[13.41] seconds) docs: OK (38.57=setup[36.18]+cmd[2.39] seconds) docs-linkcheck: OK (40.18=setup[36.39]+cmd[3.79] seconds) checkbashisms: OK (2.82=setup[1.85]+cmd[0.01,0.06,0.90] seconds) pre-commit: FAIL code 1 (42.24=setup[3.10]+cmd[0.01,0.01,39.12] seconds) pylint: OK (27.45=setup[5.64]+cmd[21.81] seconds) evaluation failed :( (2531.76 seconds)