docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: freeze> python -m pip freeze --all buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt checkbashisms: pip==24.3.1,setuptools==75.8.0,wheel==0.45.1 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 2.93 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.17.0,identify==2.6.6,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.1.0,PyYAML==6.0.2,setuptools==75.8.0,virtualenv==20.29.1,wheel==0.45.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. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 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] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. 21 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 21 ok, java is 21 or newer Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.5, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-200-generic", arch: "amd64", family: "unix" [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs-linkcheck: freeze> python -m pip freeze --all docs: freeze> python -m pip freeze --all docs-linkcheck: alabaster==1.0.0,attrs==25.1.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.12.14,charset-normalizer==3.4.1,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.8,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.5,jsonschema==3.2.0,kiwisolver==1.4.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.0,numpy==2.2.2,nwdiag==3.0.0,packaging==24.2,pillow==11.1.0,pip==24.3.1,Pygments==2.19.1,pyparsing==3.2.1,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==75.8.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.3.0,webcolors==24.11.1,wheel==0.45.1 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: alabaster==1.0.0,attrs==25.1.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.12.14,charset-normalizer==3.4.1,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.8,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.5,jsonschema==3.2.0,kiwisolver==1.4.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.0,numpy==2.2.2,nwdiag==3.0.0,packaging==24.2,pillow==11.1.0,pip==24.3.1,Pygments==2.19.1,pyparsing==3.2.1,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==75.8.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.3.0,webcolors==24.11.1,wheel==0.45.1 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html docs: OK ✔ in 31.97 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................docs-linkcheck: OK ✔ in 33.12 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.8,dill==0.3.9,isort==6.0.0,mccabe==0.7.0,pip==24.3.1,platformdirs==4.3.6,pylint==3.3.4,setuptools==75.8.0,tomlkit==0.13.2,wheel==0.45.1 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 perltidy.................................................................Passed pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Failed - hook id: gitlint-ci - exit code: 1 1: T3 Title has trailing punctuation (.): "Add min/max slots to tpce portmapping yang model." pre-commit: exit 1 (6.62 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual pid=29893 ------------------------------------ Your code has been rated at 10.00/10 pre-commit: FAIL ✖ in 44.4 seconds pylint: OK ✔ in 27.69 seconds buildcontroller: OK ✔ in 1 minute 55.54 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_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 testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all build_karaf_tests121: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests221: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh Using lighynode version 20.1.0.4 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims: OK ✔ in 9.72 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 55.41 seconds build_karaf_tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests221: OK ✔ in 57.36 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_tests190: freeze> python -m pip freeze --all build_karaf_tests190: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,click==8.1.8,contourpy==1.3.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.55.8,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.5,kiwisolver==1.4.8,lxml==5.3.0,MarkupSafe==3.0.2,matplotlib==3.10.0,netconf-client==3.1.3,networkx==2.8.8,numpy==1.26.4,packaging==24.2,pandas==1.5.3,paramiko==3.5.0,pbr==5.11.1,pillow==11.1.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.1,pytest==8.3.4,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.15.1,setuptools==50.3.2,six==1.17.0,urllib3==2.3.0,Werkzeug==2.0.3,wheel==0.45.1,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py build_karaf_tests71: OK ✔ in 1 minute 9.61 seconds build_karaf_tests190: OK ✔ in 55.79 seconds tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests_hybrid: OK ✔ in 56.56 seconds tests190: freeze> python -m pip freeze --all tests190: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 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 .........................F... [100%] =================================== FAILURES =================================== ____________ TransportPCEtesting.test_17_success3_path_computation _____________ self = def test_17_success3_path_computation(self): self.path_computation_input_data["hard-constraints"] = {"exclude": {"node-id": ["OpenROADM-2-1", "OpenROADM-2-2"]}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn('Path is calculated', response['output']['configuration-response-common']['response-message']) > self.assertEqual(9, response['output']['response-parameters']['path-description'] ['aToZ-direction']['aToZ-wavelength-number']) E AssertionError: 9 != 10 transportpce_tests/pce/test01_pce.py:301: AssertionError =========================== short test summary info ============================ FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_17_success3_path_computation 1 failed, 19 passed in 114.67s (0:01:54) testsPCE: exit 1 (114.92 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=30813 testsPCE: FAIL ✖ in 3 minutes 13.63 seconds tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................. [100%] 10 passed in 227.58s (0:03:47) pytest -q transportpce_tests/oc/test02_topology.py ............................ [100%] 14 passed in 57.52s ..... [100%] 51 passed in 387.95s (0:06:27) pytest -q transportpce_tests/tapi/test02_full_topology.py ............................... [100%] 31 passed in 283.91s (0:04:43) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ....................................................................... [100%] 71 passed in 460.69s (0:07:40) pytest -q transportpce_tests/tapi/test04_topo_extension.py ................... [100%] 19 passed in 137.89s (0:02:17) tests190: OK ✔ in 4 minutes 53.9 seconds tests_tapi: OK ✔ in 21 minutes 17.59 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 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... [100%] =================================== FAILURES =================================== ________ TransportPCE400GPortMappingTesting.test_09_mpdr_switching_pool ________ self = def test_09_mpdr_switching_pool(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "switching-pool-lcp", "1") self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual("blocking", response['switching-pool-lcp'][0]['switching-pool-type']) self.assertEqual(2, len(response['switching-pool-lcp'][0]['non-blocking-list'])) > self.assertIn( {'nbl-number': 2, 'interconnect-bandwidth': 0, 'lcp-list': ['XPDR2-NETWORK1', 'XPDR2-CLIENT2']}, response['switching-pool-lcp'][0]['non-blocking-list']) E AssertionError: {'nbl-number': 2, 'interconnect-bandwidth': 0, 'lcp-list': ['XPDR2-NETWORK1', 'XPDR2-CLIENT2']} not found in [{'nbl-number': 1, 'interconnect-bandwidth': 0, 'lcp-list': ['XPDR2-CLIENT1', 'XPDR2-NETWORK1']}, {'nbl-number': 2, 'interconnect-bandwidth': 0, 'lcp-list': ['XPDR2-CLIENT2', 'XPDR2-NETWORK1']}] transportpce_tests/7.1/test01_portmapping.py:167: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_mpdr_switching_pool =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_09_mpdr_switching_pool 1 failed, 11 passed in 43.19s tests71: exit 1 (43.41 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=41360 tests71: FAIL ✖ in 48.89 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 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.F............... [100%] =================================== FAILURES =================================== _________ TransportPCEPortMappingTesting.test_18_spdr_switching_pool_1 _________ self = def test_18_spdr_switching_pool_1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "1") self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual("blocking", response['switching-pool-lcp'][0]['switching-pool-type']) self.assertEqual(4, len(response['switching-pool-lcp'][0]['non-blocking-list'])) > self.assertIn( {'nbl-number': 11, 'lcp-list': ['XPDR1-NETWORK1', 'XPDR1-CLIENT1'], 'interconnect-bandwidth-unit': 1000000000, 'interconnect-bandwidth': 0}, response['switching-pool-lcp'][0]['non-blocking-list']) E AssertionError: {'nbl-number': 11, 'lcp-list': ['XPDR1-NETWORK1', 'XPDR1-CLIENT1'], 'interconnect-bandwidth-unit': 1000000000, 'interconnect-bandwidth': 0} not found in [{'nbl-number': 12, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR1-CLIENT2', 'XPDR1-NETWORK1']}, {'nbl-number': 13, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR1-CLIENT3', 'XPDR1-NETWORK1']}, {'nbl-number': 14, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR1-NETWORK1', 'XPDR1-CLIENT4']}, {'nbl-number': 11, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR1-CLIENT1', 'XPDR1-NETWORK1']}] transportpce_tests/2.2.1/test01_portmapping.py:209: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_spdr_switching_pool_1 _________ TransportPCEPortMappingTesting.test_20_spdr_switching_pool_3 _________ self = def test_20_spdr_switching_pool_3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "3") self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual("blocking", response['switching-pool-lcp'][0]['switching-pool-type']) self.assertEqual(4, len(response['switching-pool-lcp'][0]['non-blocking-list'])) > self.assertIn( {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-NETWORK1', 'XPDR3-CLIENT3']}, response['switching-pool-lcp'][0]['non-blocking-list']) E AssertionError: {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-NETWORK1', 'XPDR3-CLIENT3']} not found in [{'nbl-number': 84, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT4', 'XPDR3-NETWORK1']}, {'nbl-number': 81, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT1', 'XPDR3-NETWORK1']}, {'nbl-number': 82, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT2', 'XPDR3-NETWORK1']}, {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT3', 'XPDR3-NETWORK1']}] transportpce_tests/2.2.1/test01_portmapping.py:242: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_spdr_switching_pool_3 =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_18_spdr_switching_pool_1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_20_spdr_switching_pool_3 2 failed, 33 passed in 74.79s (0:01:14) tests221: exit 1 (75.03 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=41969 tests221: FAIL ✖ in 1 minute 20.82 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ..................... [100%] 21 passed in 85.15s (0:01:25) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.43s pytest -q transportpce_tests/1.2.1/test03_topology.py ............................................ [100%] 44 passed in 135.89s (0:02:15) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ........................ [100%] 24 passed in 82.78s (0:01:22) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................ [100%] 40 passed in 180.52s (0:03:00) pytest -q transportpce_tests/1.2.1/test06_end2end.py ...................................................... [100%] 54 passed in 533.02s (0:08:53) tests121: OK ✔ in 17 minutes 49.43 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 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 329.96s (0:05:29) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py .............F..F...F................................................... [ 66%] ...............FFFF.F................ [100%] =================================== FAILURES =================================== ___________ TransportPCEtesting.test_014_check_interface_otsi_xpdra2 ___________ self = def test_014_check_interface_otsi_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:277: AssertionError ___________ TransportPCEtesting.test_017_check_interface_otsi_xpdrc2 ___________ self = def test_017_check_interface_otsi_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:341: AssertionError ___________ TransportPCEtesting.test_021_check_openroadm_topo_xpdra2 ___________ self = def test_021_check_openroadm_topo_xpdra2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'XPDR-A2-XPDR2', 'config') self.assertEqual(response['status_code'], requests.codes.ok) ele = response['node']['ietf-network-topology:termination-point'][0] self.assertEqual('XPDR2-NETWORK1', ele['tp-id']) > self.assertEqual( 196.08125, float(ele['org-openroadm-network-topology:xpdr-network-attributes']['wavelength']['frequency'])) E AssertionError: 196.08125 != 191.36875 transportpce_tests/hybrid/test02_B100G_end2end.py:415: AssertionError ________________ TransportPCEtesting.test_088_check_xc1_roadma _________________ self = def test_088_check_xc1_roadma(self): response = test_utils.check_node_attribute_request( "ROADM-A1", "roadm-connections", "SRG1-PP1-TXRX-DEG2-TTP-TXRX-755:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1361: AssertionError ________________ TransportPCEtesting.test_089_check_topo_xpdra2 ________________ self = def test_089_check_topo_xpdra2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'XPDR-A2-XPDR1', 'config') self.assertEqual(response['status_code'], requests.codes.ok) liste_tp = response['node']['ietf-network-topology:termination-point'] for ele in liste_tp: if ele['tp-id'] == 'XPDR1-NETWORK1': > self.assertEqual( 196.08125, float(ele['org-openroadm-network-topology:xpdr-network-attributes']['wavelength']['frequency'])) E AssertionError: 196.08125 != 191.36875 transportpce_tests/hybrid/test02_B100G_end2end.py:1378: AssertionError _____________ TransportPCEtesting.test_090_check_topo_roadma_SRG1 ______________ self = def test_090_check_topo_roadma_SRG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-SRG1', 'config') self.assertEqual(response['status_code'], requests.codes.ok) freq_map = base64.b64decode( response['node']['org-openroadm-network-topology:srg-attributes']['avail-freq-maps'][0]['freq-map']) freq_map_array = [int(x) for x in freq_map] > self.assertEqual(freq_map_array[95], 0, "Index 1 should not be available") E AssertionError: 255 != 0 : Index 1 should not be available transportpce_tests/hybrid/test02_B100G_end2end.py:1394: AssertionError _____________ TransportPCEtesting.test_091_check_topo_roadma_DEG1 ______________ self = def test_091_check_topo_roadma_DEG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-DEG2', 'config') self.assertEqual(response['status_code'], requests.codes.ok) freq_map = base64.b64decode( response['node']['org-openroadm-network-topology:degree-attributes']['avail-freq-maps'][0]['freq-map']) freq_map_array = [int(x) for x in freq_map] > self.assertEqual(freq_map_array[95], 0, "Index 1 should not be available") E AssertionError: 255 != 0 : Index 1 should not be available transportpce_tests/hybrid/test02_B100G_end2end.py:1412: AssertionError ___________ TransportPCEtesting.test_093_check_interface_OTSI_xpdra2 ___________ self = def test_093_check_interface_OTSI_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1447: AssertionError =========================== short test summary info ============================ FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_014_check_interface_otsi_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_017_check_interface_otsi_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_021_check_openroadm_topo_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_088_check_xc1_roadma FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_089_check_topo_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_090_check_topo_roadma_SRG1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_091_check_topo_roadma_DEG1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_093_check_interface_OTSI_xpdra2 8 failed, 101 passed in 423.18s (0:07:03) tests_hybrid: exit 1 (753.58 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=48454 tests_hybrid: FAIL ✖ in 12 minutes 39.79 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.1,certifi==2024.12.14,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.1,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (115.54=setup[7.01]+cmd[108.53] seconds) testsPCE: FAIL code 1 (193.63=setup[78.71]+cmd[114.92] seconds) sims: OK (9.72=setup[6.99]+cmd[2.73] seconds) build_karaf_tests121: OK (55.41=setup[6.94]+cmd[48.47] seconds) tests121: OK (1069.43=setup[6.33]+cmd[1063.11] seconds) build_karaf_tests221: OK (57.36=setup[6.97]+cmd[50.38] seconds) tests_tapi: OK (1277.59=setup[6.27]+cmd[1271.33] seconds) tests221: FAIL code 1 (80.82=setup[5.79]+cmd[75.03] seconds) build_karaf_tests71: OK (69.61=setup[18.66]+cmd[50.94] seconds) tests71: FAIL code 1 (48.89=setup[5.48]+cmd[43.41] seconds) build_karaf_tests190: OK (55.79=setup[6.85]+cmd[48.94] seconds) tests190: OK (293.90=setup[8.20]+cmd[285.70] seconds) build_karaf_tests_hybrid: OK (56.56=setup[6.53]+cmd[50.04] seconds) tests_hybrid: FAIL code 1 (759.79=setup[6.21]+cmd[753.58] seconds) buildlighty: OK (22.95=setup[6.36]+cmd[16.59] seconds) docs: OK (31.97=setup[29.49]+cmd[2.48] seconds) docs-linkcheck: OK (33.12=setup[29.38]+cmd[3.74] seconds) checkbashisms: OK (2.93=setup[1.93]+cmd[0.02,0.14,0.85] seconds) pre-commit: FAIL code 1 (44.40=setup[2.94]+cmd[0.01,0.01,34.82,6.62] seconds) pylint: OK (27.68=setup[5.82]+cmd[21.86] seconds) evaluation failed :( (3568.73 seconds)