docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt checkbashisms: freeze> python -m pip freeze --all docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==24.3.1,setuptools==75.6.0,wheel==0.45.1 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-calcium/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-calcium/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 2.77 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.16.1,identify==2.6.3,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.0.1,PyYAML==6.0.2,setuptools==75.6.0,virtualenv==20.28.0,wheel==0.45.1 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-calcium/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-calcium/tests> pre-commit run --all-files --show-diff-on-failure [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. buildcontroller: freeze> python -m pip freeze --all [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. buildcontroller: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-calcium/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/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. 21 21 ok, java is 21 or newer [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Apache Maven 3.9.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/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: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.2.0,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,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.6.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.2.3,webcolors==24.11.1,wheel==0.45.1 docs: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-calcium/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-calcium/docs/_build/html docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.2.0,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,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.6.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.2.3,webcolors==24.11.1,wheel==0.45.1 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-calcium/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-calcium/docs/_build/linkcheck docs: OK ✔ in 32.43 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 35.71 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.6,dill==0.3.9,isort==5.13.2,mccabe==0.7.0,pip==24.3.1,platformdirs==4.3.6,pylint==3.3.2,setuptools==75.6.0,tomlkit==0.13.2,wheel==0.45.1 pylint: commands[0] /w/workspace/transportpce-tox-verify-calcium/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-calcium/tests> pre-commit run gitlint-ci --hook-stage manual [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Passed ------------------------------------ Your code has been rated at 10.00/10 pre-commit: OK ✔ in 44.32 seconds pylint: OK ✔ in 25.21 seconds buildcontroller: OK ✔ in 1 minute 41.11 seconds build_karaf_tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/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-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests221: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh build_karaf_tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh sims: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 sims: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./install_lightynode.sh Using lighynode version 20.1.0.2 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims: OK ✔ in 11.5 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 50.64 seconds build_karaf_tests221: OK ✔ in 50.64 seconds build_karaf_tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests_tapi: freeze> python -m pip freeze --all build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh tests_tapi: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py build_karaf_tests71: OK ✔ in 59.85 seconds testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,click==8.1.7,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.2,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==3.0.2,matplotlib==3.9.3,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.0.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.0,pytest==8.3.4,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.17.0,urllib3==2.2.3,Werkzeug==2.0.3,wheel==0.45.1,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py .................................................. [100%] 20 passed in 117.04s (0:01:57) pytest -q transportpce_tests/pce/test02_pce_400G.py ............. [100%] 9 passed in 38.58s pytest -q transportpce_tests/pce/test03_gnpy.py ............ [100%] 8 passed in 38.03s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ........ [100%] 3 passed in 35.41s ....... [100%] 50 passed in 585.58s (0:09:45) pytest -q transportpce_tests/tapi/test02_full_topology.py .............................. [100%] 30 passed in 265.81s (0:04:25) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ...................................................................... [100%] 70 passed in 264.68s (0:04:24) build_karaf_tests_hybrid: OK ✔ in 1 minute 0.1 seconds testsPCE: OK ✔ in 5 minutes 8.25 seconds tests_tapi: OK ✔ in 18 minutes 42.67 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests71: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ............ [100%] 12 passed in 42.31s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] 62 passed in 154.69s (0:02:34) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ................................................ [100%] 48 passed in 135.38s (0:02:15) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ...................... [100%] 22 passed in 72.99s (0:01:12) tests71: OK ✔ in 6 minutes 52.82 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests221: commands[0] /w/workspace/transportpce-tox-verify-calcium/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 79.74s (0:01:19) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 47.82s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 140.29s (0:02:20) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 60.21s (0:01:00) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 113.79s (0:01:53) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 34.80s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 91.83s (0:01:31) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................... [100%] 22 passed in 99.74s (0:01:39) pytest -q transportpce_tests/2.2.1/test09_olm.py ........................................ [100%] 40 passed in 181.59s (0:03:01) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ........................................................................ [ 74%] ......................... [100%] 97 passed in 491.25s (0:08:11) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 446.39s (0:07:26) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 496.84s (0:08:16) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 67%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== __________________ TransportPCEtesting.test_001_connect_spdrA __________________ self = def test_001_connect_spdrA(self): response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:158: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! starting simulator spdra in OpenROADM device version 2.2.1... Searching for patterns in spdra-221.log... Pattern found! simulator for spdra started starting simulator spdrb in OpenROADM device version 2.2.1... Searching for patterns in spdrb-221.log... Pattern found! simulator for spdrb started starting simulator spdrc in OpenROADM device version 2.2.1... Searching for patterns in spdrc-221.log... Pattern found! simulator for spdrc started starting simulator roadma in OpenROADM device version 2.2.1... Searching for patterns in roadma-221.log... Pattern found! simulator for roadma started starting simulator roadmb in OpenROADM device version 2.2.1... Searching for patterns in roadmb-221.log... Pattern found! simulator for roadmb started starting simulator roadmc in OpenROADM device version 2.2.1... Searching for patterns in roadmc-221.log... Pattern found! simulator for roadmc started ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... __________________ TransportPCEtesting.test_002_connect_spdrB __________________ self = def test_002_connect_spdrB(self): response = test_utils.mount_device("SPDR-SB1", ('spdrb', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:163: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SB1 still not added to tpce topology... __________________ TransportPCEtesting.test_003_connect_spdrC __________________ self = def test_003_connect_spdrC(self): response = test_utils.mount_device("SPDR-SC1", ('spdrc', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:168: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not added to tpce topology... __________________ TransportPCEtesting.test_004_connect_rdmA ___________________ self = def test_004_connect_rdmA(self): response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:173: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not added to tpce topology... __________________ TransportPCEtesting.test_005_connect_rdmB ___________________ self = def test_005_connect_rdmB(self): response = test_utils.mount_device("ROADM-B1", ('roadmb', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:178: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-B1 still not added to tpce topology... __________________ TransportPCEtesting.test_006_connect_rdmC ___________________ self = def test_006_connect_rdmC(self): response = test_utils.mount_device("ROADM-C1", ('roadmc', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:183: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not added to tpce topology... ________ TransportPCEtesting.test_007_connect_sprdA_1_N1_to_roadmA_PP1 _________ self = def test_007_connect_sprdA_1_N1_to_roadmA_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SA1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:191: AssertionError ________ TransportPCEtesting.test_008_connect_roadmA_PP1_to_spdrA_1_N1 _________ self = def test_008_connect_roadmA_PP1_to_spdrA_1_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SA1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:200: AssertionError ________ TransportPCEtesting.test_009_connect_sprdC_1_N1_to_roadmC_PP1 _________ self = def test_009_connect_sprdC_1_N1_to_roadmC_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SC1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:209: AssertionError ________ TransportPCEtesting.test_010_connect_roadmC_PP1_to_spdrC_1_N1 _________ self = def test_010_connect_roadmC_PP1_to_spdrC_1_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SC1', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:218: AssertionError ________ 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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:227: 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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:236: 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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:245: 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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:254: AssertionError _________ TransportPCEtesting.test_015_add_omsAttributes_ROADMA_ROADMB _________ self = def test_015_add_omsAttributes_ROADMA_ROADMB(self): # Config ROADMA-ROADMC oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request("ROADM-A1-DEG1-DEG1-TTP-TXRXtoROADM-B1-DEG1-DEG1-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:272: AssertionError _________ TransportPCEtesting.test_016_add_omsAttributes_ROADMB_ROADMA _________ self = def test_016_add_omsAttributes_ROADMB_ROADMA(self): # Config ROADMC-ROADMA oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request("ROADM-B1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG1-DEG1-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:288: AssertionError _________ TransportPCEtesting.test_017_add_omsAttributes_ROADMB_ROADMC _________ self = def test_017_add_omsAttributes_ROADMB_ROADMC(self): # Config ROADMA-ROADMC oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request("ROADM-B1-DEG2-DEG2-TTP-TXRXtoROADM-C1-DEG2-DEG2-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:304: AssertionError _________ TransportPCEtesting.test_018_add_omsAttributes_ROADMC_ROADMB _________ self = def test_018_add_omsAttributes_ROADMC_ROADMB(self): # Config ROADMC-ROADMA oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request("ROADM-C1-DEG2-DEG2-TTP-TXRXtoROADM-B1-DEG2-DEG2-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:320: AssertionError _____________ TransportPCEtesting.test_019_create_OTS_ROADMA_DEG1 ______________ self = def test_019_create_OTS_ROADMA_DEG1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'create-ots-oms', { 'node-id': 'ROADM-A1', 'logical-connection-point': 'DEG1-TTP-TXRX' }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:329: 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' }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:340: 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' }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:351: AssertionError _____________ TransportPCEtesting.test_022_create_OTS_ROADMC_DEG2 ______________ self = def test_022_create_OTS_ROADMC_DEG2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'create-ots-oms', { 'node-id': 'ROADM-C1', 'logical-connection-point': 'DEG2-TTP-TXRX' }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:362: 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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:372: AssertionError _______________ TransportPCEtesting.test_024_check_otn_topology ________________ self = def test_024_check_otn_topology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:402: AssertionError ___________ TransportPCEtesting.test_025_create_OCH_OTU4_service_AB ____________ self = def test_025_create_OCH_OTU4_service_AB(self): response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:412: 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") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-OCH-OTU4-AB' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ____________ TransportPCEtesting.test_027_check_otn_topo_otu4_links ____________ self = def test_027_check_otn_topo_otu4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:428: AssertionError ___________ TransportPCEtesting.test_028_create_OCH_OTU4_service_BC ____________ self = def test_028_create_OCH_OTU4_service_BC(self): self.cr_serv_input_data["service-name"] = "service-OCH-OTU4-BC" self.cr_serv_input_data["service-a-end"]["node-id"] = "SPDR-SB1" self.cr_serv_input_data["service-a-end"]["clli"] = "NodeSB" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK2" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK2" self.cr_serv_input_data["service-z-end"]["node-id"] = "SPDR-SC1" self.cr_serv_input_data["service-z-end"]["clli"] = "NodeSC" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:463: AssertionError _____________ TransportPCEtesting.test_029_get_OCH_OTU4_service_BC _____________ self = def test_029_get_OCH_OTU4_service_BC(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-OCH-OTU4-BC") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:469: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-OCH-OTU4-BC' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ____________ TransportPCEtesting.test_030_check_otn_topo_otu4_links ____________ self = def test_030_check_otn_topo_otu4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:479: AssertionError _______________ TransportPCEtesting.test_031_create_ODU4_service _______________ self = def test_031_create_ODU4_service(self): self.cr_serv_input_data["service-name"] = "service-ODU4-ABC" self.cr_serv_input_data["service-a-end"]["node-id"] = "SPDR-SA1" self.cr_serv_input_data["service-a-end"]["clli"] = "NodeSA" self.cr_serv_input_data["service-a-end"]["service-format"] = "ODU" del self.cr_serv_input_data["service-a-end"]["otu-service-rate"] self.cr_serv_input_data["service-a-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODU4" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-z-end"]["node-id"] = "SPDR-SC1" self.cr_serv_input_data["service-z-end"]["clli"] = "NodeSC" self.cr_serv_input_data["service-z-end"]["service-format"] = "ODU" del self.cr_serv_input_data["service-z-end"]["otu-service-rate"] self.cr_serv_input_data["service-z-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODU4" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:526: AssertionError ______________ TransportPCEtesting.test_032_get_ODU4_service_ABC _______________ self = def test_032_get_ODU4_service_ABC(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-ODU4-ABC") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-ODU4-ABC' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ___________ TransportPCEtesting.test_033_check_interface_ODU4_spdra ____________ self = def test_033_check_interface_ODU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:543: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 ___________ TransportPCEtesting.test_034_check_interface_ODU4_spdrc ____________ self = def test_034_check_interface_ODU4_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:576: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _______ TransportPCEtesting.test_035_check_interface_ODU4_NETWORK1_spdrb _______ self = def test_035_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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:608: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4 _______ TransportPCEtesting.test_036_check_interface_ODU4_NETWORK2_spdrb _______ self = def test_036_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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:629: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK2-ODU4 ___________ TransportPCEtesting.test_037_check_ODU4_connection_spdrb ___________ self = def test_037_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: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:651: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-NETWORK1-ODU4-x-XPDR2-NETWORK2-ODU4 ______________ TransportPCEtesting.test_038_check_otn_topo_links _______________ self = def test_038_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:666: AssertionError ________________ TransportPCEtesting.test_039_check_otn_topo_tp ________________ self = def test_039_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:691: AssertionError _______________ TransportPCEtesting.test_040_create_10GE_service _______________ self = def test_040_create_10GE_service(self): self.cr_serv_input_data["service-name"] = "service1-10GE" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["service-rate"] = "10" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-a-end"]["odu-service-rate"] self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-z-end"]["service-rate"] = "10" self.cr_serv_input_data["service-z-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-z-end"]["odu-service-rate"] self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:724: AssertionError ________________ TransportPCEtesting.test_041_get_10GE_service1 ________________ self = def test_041_get_10GE_service1(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service1-10GE") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-10GE' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ________ TransportPCEtesting.test_042_check_interface_10GE_CLIENT_spdra ________ self = def test_042_check_interface_10GE_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-CLIENT1-ETHERNET10G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:741: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G _______ TransportPCEtesting.test_043_check_interface_ODU2E_CLIENT_spdra ________ self = def test_043_check_interface_ODU2E_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-CLIENT1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:755: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:service1-10GE _______ TransportPCEtesting.test_044_check_interface_ODU2E_NETWORK_spdra _______ self = def test_044_check_interface_ODU2E_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:796: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:service1-10GE __________ TransportPCEtesting.test_045_check_ODU2E_connection_spdra ___________ self = def test_045_check_ODU2E_connection_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'odu-connection', 'XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:825: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e ________ TransportPCEtesting.test_046_check_interface_10GE_CLIENT_spdrc ________ self = def test_046_check_interface_10GE_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-CLIENT1-ETHERNET10G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:841: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G _______ TransportPCEtesting.test_047_check_interface_ODU2E_CLIENT_spdrc ________ self = def test_047_check_interface_ODU2E_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-CLIENT1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:855: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:service1-10GE _______ TransportPCEtesting.test_048_check_interface_ODU2E_NETWORK_spdrc _______ self = def test_048_check_interface_ODU2E_NETWORK_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:896: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:service1-10GE __________ TransportPCEtesting.test_049_check_ODU2E_connection_spdrc ___________ self = def test_049_check_ODU2E_connection_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'odu-connection', 'XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:925: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e ______________ TransportPCEtesting.test_050_check_otn_topo_links _______________ self = def test_050_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:940: AssertionError ________________ TransportPCEtesting.test_051_check_otn_topo_tp ________________ self = def test_051_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:953: AssertionError _______________ TransportPCEtesting.test_052_delete_10GE_service _______________ self = def test_052_delete_10GE_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-10GE" 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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:974: AssertionError _______________ TransportPCEtesting.test_053_check_service_list ________________ self = def test_053_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:980: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:621: KeyError _________ TransportPCEtesting.test_054_check_no_ODU2e_connection_spdra _________ self = def test_054_check_no_ODU2e_connection_spdra(self): > response = test_utils.check_node_request("SPDR-SA1") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:986: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'SPDR-SA1' def check_node_request(node: str): # pylint: disable=line-too-long url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}/yang-ext:mount/org-openroadm-device:org-openroadm-device?content=config', # nopep8 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}/yang-ext:mount/org-openroadm-device:org-openroadm-device'} # nopep8 response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'org-openroadm-device:org-openroadm-device', 'draft-bierman02': 'org-openroadm-device'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:393: KeyError _____ TransportPCEtesting.test_055_check_no_interface_ODU2E_NETWORK_spdra ______ self = def test_055_check_no_interface_ODU2E_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:994: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:service1-10GE ______ TransportPCEtesting.test_056_check_no_interface_ODU2E_CLIENT_spdra ______ self = def test_056_check_no_interface_ODU2E_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-CLIENT1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:999: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:service1-10GE ______ TransportPCEtesting.test_057_check_no_interface_10GE_CLIENT_spdra _______ self = def test_057_check_no_interface_10GE_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-CLIENT1-ETHERNET10G') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1004: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G ______________ TransportPCEtesting.test_058_check_otn_topo_links _______________ self = def test_058_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1008: AssertionError ________________ TransportPCEtesting.test_059_check_otn_topo_tp ________________ self = def test_059_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1021: AssertionError _______________ TransportPCEtesting.test_060_delete_ODU4_service _______________ self = def test_060_delete_ODU4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-ODU4-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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1037: AssertionError _______________ TransportPCEtesting.test_061_check_service_list ________________ self = def test_061_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1043: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:621: KeyError __________ TransportPCEtesting.test_062_check_no_interface_ODU4_spdra __________ self = def test_062_check_no_interface_ODU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1051: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 __________ TransportPCEtesting.test_063_check_no_interface_ODU4_spdrb __________ self = def test_063_check_no_interface_ODU4_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1056: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4 _________ TransportPCEtesting.test_064_check_no_ODU4_connection_spdrb __________ self = def test_064_check_no_ODU4_connection_spdrb(self): > response = test_utils.check_node_request("SPDR-SB1") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1062: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'SPDR-SB1' def check_node_request(node: str): # pylint: disable=line-too-long url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}/yang-ext:mount/org-openroadm-device:org-openroadm-device?content=config', # nopep8 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}/yang-ext:mount/org-openroadm-device:org-openroadm-device'} # nopep8 response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'org-openroadm-device:org-openroadm-device', 'draft-bierman02': 'org-openroadm-device'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:393: KeyError __________ TransportPCEtesting.test_065_check_no_interface_ODU4_spdrc __________ self = def test_065_check_no_interface_ODU4_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1070: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 ______________ TransportPCEtesting.test_066_check_otn_topo_links _______________ self = def test_066_check_otn_topo_links(self): > self.test_030_check_otn_topo_otu4_links() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1073: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:479: in test_030_check_otn_topo_otu4_links self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ________________ TransportPCEtesting.test_067_check_otn_topo_tp ________________ self = def test_067_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1077: AssertionError _____________ TransportPCEtesting.test_068_create_ODU4_service_AB ______________ self = def test_068_create_ODU4_service_AB(self): self.cr_serv_input_data["service-name"] = "service-ODU4-AB" self.cr_serv_input_data["connection-type"] = "infrastructure" self.cr_serv_input_data["service-a-end"]["service-rate"] = "100" self.cr_serv_input_data["service-a-end"]["service-format"] = "ODU" self.cr_serv_input_data["service-a-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODU4" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-z-end"]["node-id"] = "SPDR-SB1" self.cr_serv_input_data["service-z-end"]["clli"] = "NodeSB" self.cr_serv_input_data["service-a-end"]["service-rate"] = "100" self.cr_serv_input_data["service-z-end"]["service-format"] = "ODU" self.cr_serv_input_data["service-z-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODU4" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1112: AssertionError _______________ TransportPCEtesting.test_069_get_ODU4_service_AB _______________ self = def test_069_get_ODU4_service_AB(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-ODU4-AB") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-ODU4-AB' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ___________ TransportPCEtesting.test_070_check_interface_ODU4_spdra ____________ self = def test_070_check_interface_ODU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1129: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 __________ TransportPCEtesting.test_071_check_interface_ODU4_spdrb_N1 __________ self = def test_071_check_interface_ODU4_spdrb_N1(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1168: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4 _____________ TransportPCEtesting.test_072_create_ODU4_service_BC ______________ self = def test_072_create_ODU4_service_BC(self): self.cr_serv_input_data["service-name"] = "service-ODU4-BC" self.cr_serv_input_data["service-a-end"]["node-id"] = "SPDR-SB1" self.cr_serv_input_data["service-a-end"]["clli"] = "NodeSB" self.cr_serv_input_data["service-a-end"]["service-format"] = "ODU" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK2" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SB1-XPDR2" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-NETWORK2" self.cr_serv_input_data["service-z-end"]["node-id"] = "SPDR-SC1" self.cr_serv_input_data["service-z-end"]["clli"] = "NodeSC" self.cr_serv_input_data["service-a-end"]["service-format"] = "ODU" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-NETWORK1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1224: AssertionError _______________ TransportPCEtesting.test_073_get_ODU4_service_AB _______________ self = def test_073_get_ODU4_service_AB(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-ODU4-BC") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-ODU4-BC' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError __________ TransportPCEtesting.test_074_check_interface_ODU4_spdrb_N2 __________ self = def test_074_check_interface_ODU4_spdrb_N2(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1241: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK2-ODU4 ___________ TransportPCEtesting.test_075_check_interface_ODU4_spdrc ____________ self = def test_075_check_interface_ODU4_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1279: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _____________ TransportPCEtesting.test_076_create_10GE_service_ABC _____________ self = def test_076_create_10GE_service_ABC(self): self.cr_serv_input_data["service-name"] = "service1-10GE" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["node-id"] = "SPDR-SA1" self.cr_serv_input_data["service-a-end"]["clli"] = "NodeSA" self.cr_serv_input_data["service-a-end"]["service-rate"] = "10" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-a-end"]["odu-service-rate"] self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-z-end"]["node-id"] = "SPDR-SC1" self.cr_serv_input_data["service-z-end"]["clli"] = "NodeSC" self.cr_serv_input_data["service-z-end"]["service-rate"] = "10" self.cr_serv_input_data["service-z-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-z-end"]["odu-service-rate"] self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1341: AssertionError _________ TransportPCEtesting.test_077_check_configuration_spdra_spdrc _________ self = def test_077_check_configuration_spdra_spdrc(self): > self.test_041_get_10GE_service1() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:730: in test_041_get_10GE_service1 response = test_utils.get_ordm_serv_list_attr_request("services", "service1-10GE") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-10GE' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:637: KeyError ______ TransportPCEtesting.test_078_check_interface_ODU2E_NETWORK1_spdrb _______ self = def test_078_check_interface_ODU2E_NETWORK1_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1359: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU2e:service1-10GE ______ TransportPCEtesting.test_079_check_interface_ODU2E_NETWORK2_spdrb _______ self = def test_079_check_interface_ODU2E_NETWORK2_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-ODU2e:service1-10GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1387: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK2-ODU2e:service1-10GE __________ TransportPCEtesting.test_080_check_ODU2E_connection_spdrb ___________ self = def test_080_check_ODU2E_connection_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'odu-connection', 'XPDR2-NETWORK1-ODU2e-x-XPDR2-NETWORK2-ODU2e') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1415: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-NETWORK1-ODU2e-x-XPDR2-NETWORK2-ODU2e ______________ TransportPCEtesting.test_081_check_otn_topo_links _______________ self = def test_081_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1430: AssertionError ________________ TransportPCEtesting.test_082_check_otn_topo_tp ________________ self = def test_082_check_otn_topo_tp(self): > self.test_051_check_otn_topo_tp() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1444: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:953: in test_051_check_otn_topo_tp self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 _______________ TransportPCEtesting.test_083_delete_10GE_service _______________ self = def test_083_delete_10GE_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-10GE" 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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1451: AssertionError _______________ TransportPCEtesting.test_084_check_service_list ________________ self = def test_084_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1457: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:621: KeyError ____________ TransportPCEtesting.test_085_check_configuration_spdra ____________ self = def test_085_check_configuration_spdra(self): > self.test_054_check_no_ODU2e_connection_spdra() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1463: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:986: in test_054_check_no_ODU2e_connection_spdra response = test_utils.check_node_request("SPDR-SA1") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'SPDR-SA1' def check_node_request(node: str): # pylint: disable=line-too-long url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}/yang-ext:mount/org-openroadm-device:org-openroadm-device?content=config', # nopep8 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}/yang-ext:mount/org-openroadm-device:org-openroadm-device'} # nopep8 response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'org-openroadm-device:org-openroadm-device', 'draft-bierman02': 'org-openroadm-device'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:393: KeyError _________ TransportPCEtesting.test_086_check_no_ODU2e_connection_spdrb _________ self = def test_086_check_no_ODU2e_connection_spdrb(self): > response = test_utils.check_node_request("SPDR-SB1") transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1469: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'SPDR-SB1' def check_node_request(node: str): # pylint: disable=line-too-long url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}/yang-ext:mount/org-openroadm-device:org-openroadm-device?content=config', # nopep8 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}/yang-ext:mount/org-openroadm-device:org-openroadm-device'} # nopep8 response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'org-openroadm-device:org-openroadm-device', 'draft-bierman02': 'org-openroadm-device'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:393: KeyError _____ TransportPCEtesting.test_087_check_no_interface_ODU2E_NETWORK1_spdrb _____ self = def test_087_check_no_interface_ODU2E_NETWORK1_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK1-ODU2e-service1-10GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1477: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU2e-service1-10GE _____ TransportPCEtesting.test_088_check_no_interface_ODU2E_NETWORK2_spdrb _____ self = def test_088_check_no_interface_ODU2E_NETWORK2_spdrb(self): response = test_utils.check_node_attribute_request( 'SPDR-SB1', 'interface', 'XPDR2-NETWORK2-ODU2e-service1-10GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1482: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SB1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK2-ODU2e-service1-10GE ______________ TransportPCEtesting.test_089_check_otn_topo_links _______________ self = def test_089_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1486: AssertionError ________________ TransportPCEtesting.test_090_check_otn_topo_tp ________________ self = def test_090_check_otn_topo_tp(self): > self.test_059_check_otn_topo_tp() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1500: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1021: in test_059_check_otn_topo_tp self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 _____________ TransportPCEtesting.test_091_delete_ODU4_service_AB ______________ self = def test_091_delete_ODU4_service_AB(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-ODU4-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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1507: AssertionError _____________ TransportPCEtesting.test_092_delete_ODU4_service_BC ______________ self = def test_092_delete_ODU4_service_BC(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-ODU4-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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1517: AssertionError _______________ TransportPCEtesting.test_093_check_global_config _______________ self = def test_093_check_global_config(self): > self.test_061_check_service_list() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1523: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1043: in test_061_check_service_list response = test_utils.get_ordm_serv_list_request() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:621: KeyError ___________ TransportPCEtesting.test_094_delete_OCH_OTU4_service_AB ____________ self = def test_094_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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1536: AssertionError ___________ TransportPCEtesting.test_095_delete_OCH_OTU4_service_BC ____________ self = def test_095_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) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1546: AssertionError _________________ TransportPCEtesting.test_096_get_no_service __________________ self = def test_096_get_no_service(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1552: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:621: KeyError __________ TransportPCEtesting.test_097_check_no_interface_OTU4_spdra __________ self = def test_097_check_no_interface_OTU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1573: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU __________ TransportPCEtesting.test_098_check_no_interface_OCH_spdra ___________ self = def test_098_check_no_interface_OCH_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-1') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1578: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-1 ______________ TransportPCEtesting.test_099_getLinks_OtnTopology _______________ self = def test_099_getLinks_OtnTopology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1582: AssertionError _________ TransportPCEtesting.test_100_disconnect_xponders_from_roadm __________ self = def test_100_disconnect_xponders_from_roadm(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1587: AssertionError ____________ TransportPCEtesting.test_101_check_openroadm_topology _____________ self = def test_101_check_openroadm_topology(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1597: AssertionError ________________ TransportPCEtesting.test_102_disconnect_spdrA _________________ self = def test_102_disconnect_spdrA(self): response = test_utils.unmount_device("SPDR-SA1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1603: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_103_disconnect_spdrC _________________ self = def test_103_disconnect_spdrC(self): response = test_utils.unmount_device("SPDR-SC1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1607: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_104_disconnect_spdrB _________________ self = def test_104_disconnect_spdrB(self): response = test_utils.unmount_device("SPDR-SB1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1611: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node SPDR-SB1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_105_disconnect_roadmA ________________ self = def test_105_disconnect_roadmA(self): response = test_utils.unmount_device("ROADM-A1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1615: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_106_disconnect_roadmB ________________ self = def test_106_disconnect_roadmB(self): response = test_utils.unmount_device("ROADM-B1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1619: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-B1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_107_disconnect_roadmC ________________ self = def test_107_disconnect_roadmC(self): response = test_utils.unmount_device("ROADM-C1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py:1623: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_001_connect_spdrA FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_002_connect_spdrB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_003_connect_spdrC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_004_connect_rdmA FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_005_connect_rdmB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_006_connect_rdmC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_007_connect_sprdA_1_N1_to_roadmA_PP1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_008_connect_roadmA_PP1_to_spdrA_1_N1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_009_connect_sprdC_1_N1_to_roadmC_PP1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_010_connect_roadmC_PP1_to_spdrC_1_N1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_011_connect_sprdB_2_N1_to_roadmB_PP1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_012_connect_roadmB_PP1_to_spdrB_2_N1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_013_connect_sprdB_2_N2_to_roadmB_PP2 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_014_connect_roadmB_PP2_to_spdrB_2_N2 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_015_add_omsAttributes_ROADMA_ROADMB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_016_add_omsAttributes_ROADMB_ROADMA FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_017_add_omsAttributes_ROADMB_ROADMC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_018_add_omsAttributes_ROADMC_ROADMB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_019_create_OTS_ROADMA_DEG1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_020_create_OTS_ROADMB_DEG1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_021_create_OTS_ROADMB_DEG2 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_022_create_OTS_ROADMC_DEG2 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_023_calculate_span_loss_base_all FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_024_check_otn_topology FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_025_create_OCH_OTU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_026_get_OCH_OTU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_027_check_otn_topo_otu4_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_028_create_OCH_OTU4_service_BC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_029_get_OCH_OTU4_service_BC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_030_check_otn_topo_otu4_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_031_create_ODU4_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_032_get_ODU4_service_ABC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_033_check_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_034_check_interface_ODU4_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_035_check_interface_ODU4_NETWORK1_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_036_check_interface_ODU4_NETWORK2_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_037_check_ODU4_connection_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_038_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_039_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_040_create_10GE_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_041_get_10GE_service1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_042_check_interface_10GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_043_check_interface_ODU2E_CLIENT_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_044_check_interface_ODU2E_NETWORK_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_045_check_ODU2E_connection_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_046_check_interface_10GE_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_047_check_interface_ODU2E_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_048_check_interface_ODU2E_NETWORK_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_049_check_ODU2E_connection_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_050_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_051_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_052_delete_10GE_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_053_check_service_list FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_054_check_no_ODU2e_connection_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_055_check_no_interface_ODU2E_NETWORK_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_056_check_no_interface_ODU2E_CLIENT_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_057_check_no_interface_10GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_058_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_059_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_060_delete_ODU4_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_061_check_service_list FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_062_check_no_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_063_check_no_interface_ODU4_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_064_check_no_ODU4_connection_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_065_check_no_interface_ODU4_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_066_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_067_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_068_create_ODU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_069_get_ODU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_070_check_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_071_check_interface_ODU4_spdrb_N1 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_072_create_ODU4_service_BC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_073_get_ODU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_074_check_interface_ODU4_spdrb_N2 FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_075_check_interface_ODU4_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_076_create_10GE_service_ABC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_077_check_configuration_spdra_spdrc FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_078_check_interface_ODU2E_NETWORK1_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_079_check_interface_ODU2E_NETWORK2_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_080_check_ODU2E_connection_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_081_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_082_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_083_delete_10GE_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_084_check_service_list FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_085_check_configuration_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_086_check_no_ODU2e_connection_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_087_check_no_interface_ODU2E_NETWORK1_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_088_check_no_interface_ODU2E_NETWORK2_spdrb FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_089_check_otn_topo_links FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_090_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_091_delete_ODU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_092_delete_ODU4_service_BC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_093_check_global_config FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_094_delete_OCH_OTU4_service_AB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_095_delete_OCH_OTU4_service_BC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_096_get_no_service FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_097_check_no_interface_OTU4_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_098_check_no_interface_OCH_spdra FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_099_getLinks_OtnTopology FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_100_disconnect_xponders_from_roadm FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_101_check_openroadm_topology FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_102_disconnect_spdrA FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_103_disconnect_spdrC FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_104_disconnect_spdrB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_105_disconnect_roadmA FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_106_disconnect_roadmB FAILED transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py::TransportPCEtesting::test_107_disconnect_roadmC 107 failed in 2438.16s (0:40:38) tests221: exit 1 (4725.47 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 2.2.1 pid=41766 tests221: FAIL ✖ in 1 hour 18 minutes 52.83 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/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 83.54s (0:01:23) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 43.46s pytest -q transportpce_tests/1.2.1/test03_topology.py ............................................ [100%] 44 passed in 136.25s (0:02:16) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ........................ [100%] 24 passed in 81.63s (0:01:21) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................ [100%] 40 passed in 182.42s (0:03:02) pytest -q transportpce_tests/1.2.1/test06_end2end.py ...................................................... [100%] 54 passed in 714.05s (0:11:54) tests121: OK ✔ in 20 minutes 48.32 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-calcium/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.92s (0:05:29) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 608.13s (0:10:08) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 442.21s (0:07:22) tests_hybrid: OK ✔ in 23 minutes 6.72 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,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.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-calcium/lighty> ./build.sh buildcontroller: OK (101.11=setup[8.07]+cmd[93.04] seconds) testsPCE: OK (308.25=setup[77.52]+cmd[230.73] seconds) sims: OK (11.50=setup[7.92]+cmd[3.57] seconds) build_karaf_tests121: OK (50.64=setup[7.92]+cmd[42.72] seconds) tests121: OK (1248.32=setup[5.52]+cmd[1242.80] seconds) build_karaf_tests221: OK (50.64=setup[7.85]+cmd[42.79] seconds) tests_tapi: OK (1122.67=setup[5.90]+cmd[1116.77] seconds) tests221: FAIL code 1 (4732.83=setup[7.36]+cmd[4725.47] seconds) build_karaf_tests71: OK (59.85=setup[15.33]+cmd[44.52] seconds) tests71: OK (412.82=setup[6.54]+cmd[406.28] seconds) build_karaf_tests_hybrid: OK (60.10=setup[5.90]+cmd[54.21] seconds) tests_hybrid: OK (1386.72=setup[5.76]+cmd[1380.96] seconds) buildlighty: OK (24.45=setup[6.19]+cmd[18.27] seconds) docs: OK (32.43=setup[30.00]+cmd[2.42] seconds) docs-linkcheck: OK (35.71=setup[31.11]+cmd[4.60] seconds) checkbashisms: OK (2.77=setup[1.80]+cmd[0.02,0.13,0.83] seconds) pre-commit: OK (44.32=setup[3.59]+cmd[0.01,0.00,33.49,7.23] seconds) pylint: OK (25.21=setup[4.68]+cmd[20.52] seconds) evaluation failed :( (9079.64 seconds)