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 checkbashisms: freeze> python -m pip freeze --all docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==24.1,setuptools==70.1.0,wheel==0.43.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.51 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.15.4,identify==2.6.0,nodeenv==1.9.1,pip==24.1,platformdirs==4.2.2,pre-commit==3.8.0,PyYAML==6.0.2,setuptools==70.1.0,virtualenv==20.26.3,wheel==0.43.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]. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.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] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 21 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. 21 ok, java is 21 or newer [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Apache Maven 3.9.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.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.0,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,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==70.1.0,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.2,webcolors==24.8.0,wheel==0.43.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.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.0,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,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==70.1.0,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.2,webcolors==24.8.0,wheel==0.43.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 39.17 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' Passed perltidy.................................................................Passed docs-linkcheck: OK ✔ in 40.16 seconds pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... 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.1,platformdirs==4.2.2,pylint==3.2.7,setuptools==70.1.0,tomlkit==0.13.2,wheel==0.43.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}$' '{}' + gitlint..................................................................Passed ------------------------------------ Your code has been rated at 10.00/10 pre-commit: OK ✔ in 47.94 seconds pylint: OK ✔ in 25.4 seconds buildcontroller: OK ✔ in 2 minutes 11.54 seconds testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 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 sims221: 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 sims121: 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 sims121: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all sims221: freeze> python -m pip freeze --all build_karaf_tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 1.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 2.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims221: OK ✔ in 11.22 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 sims121: OK ✔ in 11.51 seconds sims71: 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 sims71: freeze> python -m pip freeze --all build_karaf_tests221: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 7.1 Using lighynode version 19.1.0.5 Removing ./lightynode/lightynode-openroadm-device directory Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims71: OK ✔ in 12.5 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 51.94 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_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 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.0,certifi==2024.8.30,cffi==1.17.0,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.8,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.5,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.4.1,pbr==5.11.1,pillow==10.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.1.4,pytest==8.3.2,python-dateutil==2.9.0.post0,pytz==2024.1,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.2,Werkzeug==2.0.3,wheel==0.43.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 build_karaf_tests221: OK ✔ in 1 minute 3.61 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 build_karaf_tests71: OK ✔ in 1 minute 0.47 seconds tests_tapi: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ........................................... [100%] 20 passed in 124.66s (0:02:04) pytest -q transportpce_tests/pce/test02_pce_400G.py .................. [100%] 9 passed in 41.61s pytest -q transportpce_tests/pce/test03_gnpy.py .............. [100%] 8 passed in 37.72s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ........ [100%] 3 passed in 35.59s build_karaf_tests_hybrid: OK ✔ in 1 minute 5.63 seconds testsPCE: OK ✔ in 5 minutes 14.47 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ........................ [100%] 21 passed in 257.12s (0:04:17) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py .... [100%] 50 passed in 570.93s (0:09:30) pytest -q transportpce_tests/tapi/test02_full_topology.py ...................... [100%] 6 passed in 218.18s (0:03:38) pytest -q transportpce_tests/1.2.1/test03_topology.py .............. [100%] 30 passed in 265.75s (0:04:25) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .................................................................................. [100%] 70 passed in 264.30s (0:04:24) tests_tapi: OK ✔ in 18 minutes 31.61 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.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 ........FFFFFFFFF........................ [100%] 44 passed in 665.76s (0:11:05) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py FFF [100%] =================================== FAILURES =================================== ______ TransportPCE400GPortMappingTesting.test_01_xpdr_device_connection _______ self = def test_01_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-A2", ('xpdra2', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 401 != 201 : Http status code should be 201 transportpce_tests/7.1/test01_portmapping.py:50: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator xpdra2 in OpenROADM device version 7.1... Searching for pattern 'Data tree change listeners registered' in xpdra2-71.log... Pattern found! simulator for xpdra2 started ----------------------------- Captured stdout call ----------------------------- execution of test_01_xpdr_device_connection Searching for pattern 'Triggering notification stream NETCONF for node XPDR-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not added to tpce topology... _______ TransportPCE400GPortMappingTesting.test_02_xpdr_device_connected _______ self = def test_02_xpdr_device_connected(self): > response = test_utils.check_device_connection("XPDR-A2") transportpce_tests/7.1/test01_portmapping.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2' def check_device_connection(node: str): url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}?content=nonconfig', 'draft-bierman02': '{}/operational/network-topology:network-topology/topology/topology-netconf/node/{}'} response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'network-topology:node', 'draft-bierman02': 'node'} if return_key[RESTCONF_VERSION] in res.keys(): connection_status = res[return_key[RESTCONF_VERSION]][0]['netconf-node-topology:connection-status'] else: > connection_status = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:376: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_02_xpdr_device_connected _______ TransportPCE400GPortMappingTesting.test_03_xpdr_portmapping_info _______ self = def test_03_xpdr_portmapping_info(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "node-info", None) transportpce_tests/7.1/test01_portmapping.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'node-info', value = None def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_03_xpdr_portmapping_info _____ TransportPCE400GPortMappingTesting.test_04_tpdr_portmapping_NETWORK1 _____ self = def test_04_tpdr_portmapping_NETWORK1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-NETWORK1") transportpce_tests/7.1/test01_portmapping.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR1-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_04_tpdr_portmapping_NETWORK1 _____ TransportPCE400GPortMappingTesting.test_05_tpdr_portmapping_CLIENT1 ______ self = def test_05_tpdr_portmapping_CLIENT1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-CLIENT1") transportpce_tests/7.1/test01_portmapping.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR1-CLIENT1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_05_tpdr_portmapping_CLIENT1 _____ TransportPCE400GPortMappingTesting.test_06_mpdr_portmapping_NETWORK1 _____ self = def test_06_mpdr_portmapping_NETWORK1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test01_portmapping.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK1 _____ TransportPCE400GPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 ______ self = def test_07_mpdr_portmapping_CLIENT1(self): > res = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-CLIENT1") transportpce_tests/7.1/test01_portmapping.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-CLIENT1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 ________ TransportPCE400GPortMappingTesting.test_08_check_mccapprofile _________ self = def test_08_check_mccapprofile(self): > res = test_utils.get_portmapping_node_attr("XPDR-A2", "mc-capabilities", "XPDR-mcprofile") transportpce_tests/7.1/test01_portmapping.py:151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mc-capabilities', value = 'XPDR-mcprofile' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_08_check_mccapprofile ________ 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") transportpce_tests/7.1/test01_portmapping.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'switching-pool-lcp', value = '1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_09_mpdr_switching_pool _____ TransportPCE400GPortMappingTesting.test_10_xpdr_device_disconnection _____ self = def test_10_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-A2") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/7.1/test01_portmapping.py:172: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ XPDR\-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not deleted from tpce topology... _____ TransportPCE400GPortMappingTesting.test_11_xpdr_device_disconnected ______ self = def test_11_xpdr_device_disconnected(self): > response = test_utils.check_device_connection("XPDR-A2") transportpce_tests/7.1/test01_portmapping.py:175: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2' def check_device_connection(node: str): url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}?content=nonconfig', 'draft-bierman02': '{}/operational/network-topology:network-topology/topology/topology-netconf/node/{}'} response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'network-topology:node', 'draft-bierman02': 'node'} if return_key[RESTCONF_VERSION] in res.keys(): connection_status = res[return_key[RESTCONF_VERSION]][0]['netconf-node-topology:connection-status'] else: > connection_status = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:376: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_11_xpdr_device_disconnected _____ TransportPCE400GPortMappingTesting.test_12_xpdr_device_not_connected _____ self = def test_12_xpdr_device_not_connected(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "node-info", None) transportpce_tests/7.1/test01_portmapping.py:183: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'node-info', value = None def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_12_xpdr_device_not_connected --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_01_xpdr_device_connection FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_02_xpdr_device_connected FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_03_xpdr_portmapping_info FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_04_tpdr_portmapping_NETWORK1 FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_05_tpdr_portmapping_CLIENT1 FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_06_mpdr_portmapping_NETWORK1 FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_08_check_mccapprofile FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_09_mpdr_switching_pool FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_10_xpdr_device_disconnection FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_11_xpdr_device_disconnected FAILED transportpce_tests/7.1/test01_portmapping.py::TransportPCE400GPortMappingTesting::test_12_xpdr_device_not_connected 12 failed in 395.06s (0:06:35) tests71: exit 1 (395.28 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=62495 tests71: FAIL ✖ in 6 minutes 40.88 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 69.73s (0:01:09) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ........................ [100%] 6 passed in 44.17s pytest -q transportpce_tests/2.2.1/test03_topology.py ...... [100%] 24 passed in 258.93s (0:04:18) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................................................ [100%] 44 passed in 149.04s (0:02:29) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ....................... [100%] 40 passed in 194.07s (0:03:14) pytest -q transportpce_tests/1.2.1/test06_end2end.py . [100%] 12 passed in 59.75s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ........................................... [100%] 16 passed in 125.12s (0:02:05) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py .................................. [100%] 31 passed in 34.66s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py ....................................... [100%] 26 passed in 91.41s (0:01:31) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ........................... [100%] 22 passed in 96.15s (0:01:36) pytest -q transportpce_tests/2.2.1/test09_olm.py ......................................... [100%] 40 passed in 177.37s (0:02:57) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ..... [100%] 54 passed in 541.25s (0:09:01) ........................................................................ [ 74%] ......................... [100%] 97 passed in 486.90s (0:08:06) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 623.18s (0:10:23) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ..........FFFF.....FF.F..FFFFF.FFFF.FFFFF.FFFF.FFFFFFFFFFFFFFF....FFF... [ 71%] ..FFFF..F...F.FFFFFFFF.FF.... [100%] =================================== FAILURES =================================== ________ TransportPCEtesting.test_011_connect_sprdB_2_N1_to_roadmB_PP1 _________ self = def test_011_connect_sprdB_2_N1_to_roadmB_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SB1', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-B1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:229: AssertionError ________ TransportPCEtesting.test_012_connect_roadmB_PP1_to_spdrB_2_N1 _________ self = def test_012_connect_roadmB_PP1_to_spdrB_2_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SB1', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-B1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:238: AssertionError ________ TransportPCEtesting.test_013_connect_sprdB_2_N2_to_roadmB_PP2 _________ self = def test_013_connect_sprdB_2_N2_to_roadmB_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SB1', 'xpdr-num': '2', 'network-num': '2', 'rdm-node': 'ROADM-B1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:247: AssertionError ________ TransportPCEtesting.test_014_connect_roadmB_PP2_to_spdrB_2_N2 _________ self = def test_014_connect_roadmB_PP2_to_spdrB_2_N2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SB1', 'xpdr-num': '2', 'network-num': '2', 'rdm-node': 'ROADM-B1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:256: AssertionError _____________ TransportPCEtesting.test_020_create_OTS_ROADMB_DEG1 ______________ self = def test_020_create_OTS_ROADMB_DEG1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'create-ots-oms', { 'node-id': 'ROADM-B1', 'logical-connection-point': 'DEG1-TTP-TXRX' }) # time.sleep(10) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Interfaces OTS-DEG1-TTP-TXRX - OMS-DEG1-TTP-TXRX successfully created on node ROADM-B1', response["output"]["result"]) E AssertionError: 'Interfaces OTS-DEG1-TTP-TXRX - OMS-DEG1-TTP-TXRX successfully created on node ROADM-B1' not found in 'ROADM-B1 is not mounted on the controller' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:345: AssertionError _____________ TransportPCEtesting.test_021_create_OTS_ROADMB_DEG2 ______________ self = def test_021_create_OTS_ROADMB_DEG2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'create-ots-oms', { 'node-id': 'ROADM-B1', 'logical-connection-point': 'DEG2-TTP-TXRX' }) # time.sleep(10) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Interfaces OTS-DEG2-TTP-TXRX - OMS-DEG2-TTP-TXRX successfully created on node ROADM-B1', response["output"]["result"]) E AssertionError: 'Interfaces OTS-DEG2-TTP-TXRX - OMS-DEG2-TTP-TXRX successfully created on node ROADM-B1' not found in 'ROADM-B1 is not mounted on the controller' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:357: AssertionError __________ TransportPCEtesting.test_023_calculate_span_loss_base_all ___________ self = def test_023_calculate_span_loss_base_all(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-olm', 'calculate-spanloss-base', { 'src-type': 'all' }) self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn('Success', response["output"]["result"]) self.assertIn({ "spanloss": "25.7", "link-id": "ROADM-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX" }, response["output"]["spans"]) self.assertIn({ "spanloss": "17.6", "link-id": "ROADM-A1-DEG2-DEG2-TTP-TXRXtoROADM-C1-DEG1-DEG1-TTP-TXRX" }, response["output"]["spans"]) > self.assertIn({ "spanloss": "23.6", "link-id": "ROADM-B1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG1-DEG1-TTP-TXRX" }, response["output"]["spans"]) E AssertionError: {'spanloss': '23.6', 'link-id': 'ROADM-B1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG1-DEG1-TTP-TXRX'} not found in [{'spanloss': '25.7', 'link-id': 'ROADM-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX'}, {'spanloss': '17.6', 'link-id': 'ROADM-A1-DEG2-DEG2-TTP-TXRXtoROADM-C1-DEG1-DEG1-TTP-TXRX'}] transportpce_tests/2.2.1/test14_otn_switch_end2end.py:388: AssertionError _____________ TransportPCEtesting.test_026_get_OCH_OTU4_service_AB _____________ self = def test_026_get_OCH_OTU4_service_AB(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service-OCH-OTU4-AB") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:425: AssertionError ____________ TransportPCEtesting.test_027_check_interface_och_spdra ____________ self = def test_027_check_interface_och_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-NETWORK1-761:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:436: AssertionError ___________ TransportPCEtesting.test_028_check_interface_OTU4_spdra ____________ self = def test_028_check_interface_OTU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:458: AssertionError ____________ TransportPCEtesting.test_029_check_interface_och_spdrB ____________ self = def test_029_check_interface_och_spdrB(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-761:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:489: AssertionError ___________ TransportPCEtesting.test_030_check_interface_OTU4_spdrB ____________ self = def test_030_check_interface_OTU4_spdrB(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:511: AssertionError ___________ TransportPCEtesting.test_032_check_openroadm_topo_spdra ____________ self = def test_032_check_openroadm_topo_spdra(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'SPDR-SA1-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.1, > float(ele['org-openroadm-network-topology:xpdr-network-attributes']['wavelength']['frequency'])) E KeyError: 'wavelength' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:565: KeyError _________ TransportPCEtesting.test_033_check_openroadm_topo_ROADMA_SRG _________ self = def test_033_check_openroadm_topo_ROADMA_SRG(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, "Lambda 1 should not be available") E AssertionError: 255 != 0 : Lambda 1 should not be available transportpce_tests/2.2.1/test14_otn_switch_end2end.py:579: AssertionError ________ TransportPCEtesting.test_034_check_openroadm_topo_ROADMA_DEG1 _________ self = def test_034_check_openroadm_topo_ROADMA_DEG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-DEG1', '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, "Lambda 1 should not be available") E AssertionError: 255 != 0 : Lambda 1 should not be available transportpce_tests/2.2.1/test14_otn_switch_end2end.py:597: AssertionError ____________ TransportPCEtesting.test_035_check_otn_topo_otu4_links ____________ self = def test_035_check_otn_topo_otu4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 2) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:615: KeyError _____________ TransportPCEtesting.test_037_get_OCH_OTU4_service_BC _____________ self = def test_037_get_OCH_OTU4_service_BC(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service-OCH-OTU4-BC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:658: AssertionError ____________ TransportPCEtesting.test_038_check_interface_och_spdrB ____________ self = def test_038_check_interface_och_spdrB(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-753:760') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:669: AssertionError ___________ TransportPCEtesting.test_039_check_interface_OTU4_spdrB ____________ self = def test_039_check_interface_OTU4_spdrB(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:691: AssertionError ____________ TransportPCEtesting.test_040_check_interface_och_spdrC ____________ self = def test_040_check_interface_och_spdrC(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-NETWORK1-753:760') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:722: AssertionError ___________ TransportPCEtesting.test_041_check_interface_OTU4_spdrC ____________ self = def test_041_check_interface_OTU4_spdrC(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:744: AssertionError ___________ TransportPCEtesting.test_043_check_openroadm_topo_spdrB ____________ self = def test_043_check_openroadm_topo_spdrB(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'SPDR-SB1-XPDR2', 'config') self.assertEqual(response['status_code'], requests.codes.ok) liste_tp = response['node']['ietf-network-topology:termination-point'] # pylint: disable=consider-using-f-string for ele in liste_tp: if ele['tp-id'] == 'XPDR2-NETWORK1': self.assertEqual( 196.1, > float(ele['org-openroadm-network-topology:xpdr-network-attributes']['wavelength']['frequency'])) E KeyError: 'org-openroadm-network-topology:xpdr-network-attributes' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:800: KeyError ________ TransportPCEtesting.test_044_check_openroadm_topo_ROADMB_SRG1 _________ self = def test_044_check_openroadm_topo_ROADMB_SRG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-B1-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:821: AssertionError ________ TransportPCEtesting.test_045_check_openroadm_topo_ROADMB_DEG2 _________ self = def test_045_check_openroadm_topo_ROADMB_DEG2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-B1-DEG2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:846: AssertionError ____________ TransportPCEtesting.test_046_check_otn_topo_otu4_links ____________ self = def test_046_check_otn_topo_otu4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 4) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:868: KeyError ______________ TransportPCEtesting.test_048_get_100GE_service_ABC ______________ self = def test_048_get_100GE_service_ABC(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service-100GE-ABC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:919: AssertionError _______ TransportPCEtesting.test_049_check_interface_100GE_CLIENT_spdra ________ self = def test_049_check_interface_100GE_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-CLIENT1-ETHERNET') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:929: AssertionError ________ TransportPCEtesting.test_050_check_interface_ODU4_CLIENT_spdra ________ self = def test_050_check_interface_ODU4_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-CLIENT1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:944: AssertionError _______ TransportPCEtesting.test_051_check_interface_ODU4_NETWORK_spdra ________ self = def test_051_check_interface_ODU4_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:986: AssertionError ___________ TransportPCEtesting.test_052_check_ODU4_connection_spdra ___________ self = def test_052_check_ODU4_connection_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'odu-connection', 'XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1011: AssertionError _______ TransportPCEtesting.test_053_check_interface_100GE_CLIENT_spdrc ________ self = def test_053_check_interface_100GE_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-CLIENT1-ETHERNET') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1028: AssertionError ________ TransportPCEtesting.test_054_check_interface_ODU4_CLIENT_spdrc ________ self = def test_054_check_interface_ODU4_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-CLIENT1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1043: AssertionError _______ TransportPCEtesting.test_055_check_interface_ODU4_NETWORK_spdrc ________ self = def test_055_check_interface_ODU4_NETWORK_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1086: AssertionError ___________ TransportPCEtesting.test_056_check_ODU4_connection_spdrc ___________ self = def test_056_check_ODU4_connection_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'odu-connection', 'XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1111: AssertionError _______ TransportPCEtesting.test_057_check_interface_ODU4_NETWORK1_spdrb _______ self = def test_057_check_interface_ODU4_NETWORK1_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1128: AssertionError _______ TransportPCEtesting.test_058_check_interface_ODU4_NETWORK2_spdrb _______ self = def test_058_check_interface_ODU4_NETWORK2_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1151: AssertionError ___________ TransportPCEtesting.test_059_check_ODU4_connection_spdrb ___________ self = def test_059_check_ODU4_connection_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'odu-connection', 'XPDR2-NETWORK1-ODU4-x-XPDR2-NETWORK2-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1174: AssertionError ______________ TransportPCEtesting.test_060_check_otn_topo_links _______________ self = def test_060_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 4) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1191: KeyError ____________ TransportPCEtesting.test_061_delete_service_100GE_ABC _____________ self = def test_061_delete_service_100GE_ABC(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-100GE-ABC" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service-100GE-ABC' does not exist in datastore" transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1204: AssertionError _______________ TransportPCEtesting.test_062_check_service_list ________________ self = def test_062_check_service_list(self): response = test_utils.get_ordm_serv_list_request() > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1210: AssertionError ______________ TransportPCEtesting.test_067_check_otn_topo_links _______________ self = def test_067_check_otn_topo_links(self): > self.test_046_check_otn_topo_otu4_links() transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_046_check_otn_topo_otu4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 4) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:868: KeyError ___________ TransportPCEtesting.test_068_delete_OCH_OTU4_service_AB ____________ self = def test_068_delete_OCH_OTU4_service_AB(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-OCH-OTU4-AB" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service-OCH-OTU4-AB' does not exist in datastore" transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1244: AssertionError ___________ TransportPCEtesting.test_069_delete_OCH_OTU4_service_BC ____________ self = def test_069_delete_OCH_OTU4_service_BC(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-OCH-OTU4-BC" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service-OCH-OTU4-BC' does not exist in datastore" transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1254: AssertionError ________ TransportPCEtesting.test_075_check_openroadm_topo_ROADMB_SRG1 _________ self = def test_075_check_openroadm_topo_ROADMB_SRG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-B1-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1303: AssertionError ________ TransportPCEtesting.test_076_check_openroadm_topo_ROADMB_DEG1 _________ self = def test_076_check_openroadm_topo_ROADMB_DEG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-B1-DEG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1325: AssertionError ________ TransportPCEtesting.test_077_check_openroadm_topo_ROADMB_DEG2 _________ self = def test_077_check_openroadm_topo_ROADMB_DEG2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-B1-DEG2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1346: AssertionError _________ TransportPCEtesting.test_078_disconnect_xponders_from_roadm __________ self = def test_078_disconnect_xponders_from_roadm(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) links = response['network'][0]['ietf-network-topology:link'] for link in links: > if (link["org-openroadm-common-network:link-type"] in ('XPONDER-OUTPUT', 'XPONDER-INPUT') and ('SPDR-SB1' in link['link-id'] or 'ROADM-B1' in link['link-id'])): E KeyError: 'org-openroadm-common-network:link-type' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1370: KeyError ___________ TransportPCEtesting.test_081_remove_roadm_to_roadm_links ___________ self = def test_081_remove_roadm_to_roadm_links(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) links = response['network'][0]['ietf-network-topology:link'] for link in links: > if (link["org-openroadm-common-network:link-type"] == "ROADM-TO-ROADM" and 'ROADM-B1' in link['link-id']): E KeyError: 'org-openroadm-common-network:link-type' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1389: KeyError _____________ TransportPCEtesting.test_085_get_OCH_OTU4_service_AC _____________ self = def test_085_get_OCH_OTU4_service_AC(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service-OCH-OTU4-AC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1454: AssertionError ______________ TransportPCEtesting.test_087_get_100GE_service_AC _______________ self = def test_087_get_100GE_service_AC(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service-100GE-AC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1492: AssertionError ___________ TransportPCEtesting.test_088_check_interface_OTU4_spdra ____________ self = def test_088_check_interface_OTU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR2-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1502: AssertionError ___________ TransportPCEtesting.test_089_check_interface_OTU4_spdrC ____________ self = def test_089_check_interface_OTU4_spdrC(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR2-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1533: AssertionError ____________ TransportPCEtesting.test_090_check_configuration_spdra ____________ self = def test_090_check_configuration_spdra(self): > self.test_049_check_interface_100GE_CLIENT_spdra() transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1562: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test14_otn_switch_end2end.py:929: in test_049_check_interface_100GE_CLIENT_spdra self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ____________ TransportPCEtesting.test_091_check_configuration_spdrc ____________ self = def test_091_check_configuration_spdrc(self): > self.test_053_check_interface_100GE_CLIENT_spdrc() transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1568: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1028: in test_053_check_interface_100GE_CLIENT_spdrc self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ______________ TransportPCEtesting.test_092_check_otn_topo_links _______________ self = def test_092_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 2) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1576: KeyError _____________ TransportPCEtesting.test_093_delete_100GE_service_AC _____________ self = def test_093_delete_100GE_service_AC(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-100GE-AC" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service-100GE-AC' does not exist in datastore" transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1589: AssertionError _______________ TransportPCEtesting.test_094_check_service_list ________________ self = def test_094_check_service_list(self): response = test_utils.get_ordm_serv_list_request() > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1595: AssertionError ______________ TransportPCEtesting.test_096_check_otn_topo_links _______________ self = def test_096_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(len(response['network'][0]['ietf-network-topology:link']), 2) E KeyError: 'ietf-network-topology:link' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1608: KeyError _________ TransportPCEtesting.test_097_disconnect_xponders_from_roadm __________ self = def test_097_disconnect_xponders_from_roadm(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) links = response['network'][0]['ietf-network-topology:link'] for link in links: > if link["org-openroadm-common-network:link-type"] in ('XPONDER-OUTPUT', 'XPONDER-INPUT'): E KeyError: 'org-openroadm-common-network:link-type' transportpce_tests/2.2.1/test14_otn_switch_end2end.py:1620: KeyError =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_011_connect_sprdB_2_N1_to_roadmB_PP1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_012_connect_roadmB_PP1_to_spdrB_2_N1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_013_connect_sprdB_2_N2_to_roadmB_PP2 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_014_connect_roadmB_PP2_to_spdrB_2_N2 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_020_create_OTS_ROADMB_DEG1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_021_create_OTS_ROADMB_DEG2 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_023_calculate_span_loss_base_all FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_026_get_OCH_OTU4_service_AB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_027_check_interface_och_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_028_check_interface_OTU4_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_029_check_interface_och_spdrB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_030_check_interface_OTU4_spdrB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_032_check_openroadm_topo_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_033_check_openroadm_topo_ROADMA_SRG FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_034_check_openroadm_topo_ROADMA_DEG1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_035_check_otn_topo_otu4_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_037_get_OCH_OTU4_service_BC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_038_check_interface_och_spdrB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_039_check_interface_OTU4_spdrB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_040_check_interface_och_spdrC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_041_check_interface_OTU4_spdrC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_043_check_openroadm_topo_spdrB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_044_check_openroadm_topo_ROADMB_SRG1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_045_check_openroadm_topo_ROADMB_DEG2 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_046_check_otn_topo_otu4_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_048_get_100GE_service_ABC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_049_check_interface_100GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_050_check_interface_ODU4_CLIENT_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_051_check_interface_ODU4_NETWORK_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_052_check_ODU4_connection_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_053_check_interface_100GE_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_054_check_interface_ODU4_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_055_check_interface_ODU4_NETWORK_spdrc FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_056_check_ODU4_connection_spdrc FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_057_check_interface_ODU4_NETWORK1_spdrb FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_058_check_interface_ODU4_NETWORK2_spdrb FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_059_check_ODU4_connection_spdrb FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_060_check_otn_topo_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_061_delete_service_100GE_ABC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_062_check_service_list FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_067_check_otn_topo_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_068_delete_OCH_OTU4_service_AB FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_069_delete_OCH_OTU4_service_BC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_075_check_openroadm_topo_ROADMB_SRG1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_076_check_openroadm_topo_ROADMB_DEG1 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_077_check_openroadm_topo_ROADMB_DEG2 FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_078_disconnect_xponders_from_roadm FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_081_remove_roadm_to_roadm_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_085_get_OCH_OTU4_service_AC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_087_get_100GE_service_AC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_088_check_interface_OTU4_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_089_check_interface_OTU4_spdrC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_090_check_configuration_spdra FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_091_check_configuration_spdrc FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_092_check_otn_topo_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_093_delete_100GE_service_AC FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_094_check_service_list FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_096_check_otn_topo_links FAILED transportpce_tests/2.2.1/test14_otn_switch_end2end.py::TransportPCEtesting::test_097_disconnect_xponders_from_roadm 59 failed, 42 passed in 731.87s (0:12:11) tests121: OK ✔ in 35 minutes 42.44 seconds tests221: exit 1 (2692.20 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=63772 tests221: FAIL ✖ in 44 minutes 58.75 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==72.1.0,urllib3==2.2.2,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 144.46s (0:02:24) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 423.04s (0:07:03) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 435.07s (0:07:15) tests_hybrid: OK ✔ in 16 minutes 49.09 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.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==72.1.0,urllib3==2.2.2,wheel==0.44.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (131.54=setup[8.83]+cmd[122.71] seconds) testsPCE: OK (314.47=setup[73.84]+cmd[240.63] seconds) sims121: OK (11.51=setup[7.45]+cmd[4.06] seconds) build_karaf_tests121: OK (51.94=setup[7.45]+cmd[44.49] seconds) tests121: OK (2142.44=setup[5.76]+cmd[2136.68] seconds) sims221: OK (11.22=setup[7.49]+cmd[3.73] seconds) build_karaf_tests221: OK (63.61=setup[10.39]+cmd[53.22] seconds) tests_tapi: OK (1111.61=setup[9.91]+cmd[1101.71] seconds) tests221: FAIL code 1 (2698.75=setup[6.55]+cmd[2692.20] seconds) sims71: OK (12.50=setup[10.11]+cmd[2.39] seconds) build_karaf_tests71: OK (60.47=setup[16.03]+cmd[44.44] seconds) tests71: FAIL code 1 (400.88=setup[5.60]+cmd[395.28] seconds) build_karaf_tests_hybrid: OK (65.62=setup[15.84]+cmd[49.79] seconds) tests_hybrid: OK (1009.09=setup[5.80]+cmd[1003.29] seconds) buildlighty: OK (29.39=setup[6.20]+cmd[23.19] seconds) docs: OK (39.17=setup[35.23]+cmd[3.95] seconds) docs-linkcheck: OK (40.16=setup[35.56]+cmd[4.60] seconds) checkbashisms: OK (2.51=setup[1.61]+cmd[0.02,0.05,0.83] seconds) pre-commit: OK (47.94=setup[3.27]+cmd[0.01,0.00,37.19,7.46] seconds) pylint: OK (25.40=setup[5.76]+cmd[19.65] seconds) evaluation failed :( (5456.17 seconds)