buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: freeze> python -m pip freeze --all docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==24.1,setuptools==70.1.0,wheel==0.43.0 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 2.62 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.15.4,identify==2.6.0,nodeenv==1.9.1,pip==24.1,platformdirs==4.2.2,pre-commit==3.8.0,PyYAML==6.0.1,setuptools==70.1.0,virtualenv==20.26.3,wheel==0.43.0 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... 21 21 ok, java is 21 or newer Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.3, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-187-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==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,certifi==2024.7.4,charset-normalizer==3.3.2,contourpy==1.2.1,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,Pygments==2.18.0,pyparsing==3.1.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.6.0,wheel==0.43.0 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.15.0,blockdiag==3.0.0,certifi==2024.7.4,charset-normalizer==3.3.2,contourpy==1.2.1,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.7,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.1,numpy==2.0.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,Pygments==2.18.0,pyparsing==3.1.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.1,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.6.0,wheel==0.43.0 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: OK ✔ in 41.54 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................Passed perltidy.................................................................docs-linkcheck: OK ✔ in 43.5 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.2.4,dill==0.3.8,isort==5.13.2,mccabe==0.7.0,pip==24.1,platformdirs==4.2.2,pylint==3.2.6,setuptools==70.1.0,tomlkit==0.13.0,wheel==0.43.0 pylint: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + Passed pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Passed ------------------------------------ Your code has been rated at 10.00/10 pre-commit: OK ✔ in 52.25 seconds pylint: OK ✔ in 28.6 seconds buildcontroller: OK ✔ in 1 minute 55.45 seconds sims221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims121: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all sims221: freeze> python -m pip freeze --all sims121: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 1.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory build_karaf_tests121: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims221: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 2.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims121: OK ✔ in 9.89 seconds build_karaf_tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims221: OK ✔ in 10.12 seconds sims71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests221: freeze> python -m pip freeze --all sims71: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims71: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 7.1 Using lighynode version 19.1.0.5 Removing ./lightynode/lightynode-openroadm-device directory Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims71: OK ✔ in 12.58 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 51.9 seconds build_karaf_tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,click==8.1.7,contourpy==1.2.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.5,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.53.1,gnpy4tpce==2.4.7,idna==3.7,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.5,lxml==5.2.2,MarkupSafe==2.1.5,matplotlib==3.9.1,netconf-client==3.1.1,networkx==2.8.8,numpy==1.26.4,packaging==24.1,pandas==1.5.3,paramiko==3.4.0,pbr==5.11.1,pillow==10.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.1.2,pytest==8.3.2,python-dateutil==2.9.0.post0,pytz==2024.1,requests==2.32.3,scipy==1.14.0,setuptools==50.3.2,six==1.16.0,urllib3==2.2.2,Werkzeug==2.0.3,wheel==0.43.0,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py build_karaf_tests221: OK ✔ in 56.09 seconds tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................... [100%] 20 passed in 123.64s (0:02:03) pytest -q transportpce_tests/pce/test02_pce_400G.py .......................... [100%] 9 passed in 44.11s pytest -q transportpce_tests/pce/test03_gnpy.py .............. [100%] 8 passed in 39.62s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ............ [100%] =============================== warnings summary =============================== ../.tox/tests_tapi/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests_tapi/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 50 passed, 2 warnings in 219.67s (0:03:39) pytest -q transportpce_tests/tapi/test02_full_topology.py ... [100%] 3 passed in 38.23s build_karaf_tests71: OK ✔ in 56.25 seconds build_karaf_tests_hybrid: OK ✔ in 57.55 seconds testsPCE: OK ✔ in 5 minutes 12.15 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ............F............................... [100%] =================================== FAILURES =================================== ____________ TransportPCEtesting.test_13_get_tapi_topology_details _____________ self = def test_13_get_tapi_topology_details(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual(len(response['output']['topology']['node']), 8, 'There should be 8 TAPI nodes') > self.assertEqual(len(response['output']['topology']['link']), 3, 'There should be 3 TAPI links') E AssertionError: 2 != 3 : There should be 3 TAPI links transportpce_tests/tapi/test02_full_topology.py:283: AssertionError =============================== warnings summary =============================== ../.tox/tests_tapi/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests_tapi/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_13_get_tapi_topology_details 1 failed, 29 passed, 2 warnings in 293.15s (0:04:53) tests_tapi: exit 1 (513.42 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=31308 tests_tapi: FAIL ✖ in 8 minutes 43.4 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt .....tests71: freeze> python -m pip freeze --all .tests71: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py . [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 21 passed, 2 warnings in 278.63s (0:04:38) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ............ [100%] =============================== warnings summary =============================== ../.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 12 passed, 2 warnings in 54.41s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] =============================== warnings summary =============================== ../.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 62 passed, 2 warnings in 156.34s (0:02:36) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ...... [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 6 passed, 2 warnings in 234.51s (0:03:54) pytest -q transportpce_tests/1.2.1/test03_topology.py ................................................ [100%] =============================== warnings summary =============================== ../.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 48 passed, 2 warnings in 141.46s (0:02:21) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py .................................. [100%] =============================== warnings summary =============================== ../.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22 passed, 2 warnings in 253.13s (0:04:13) tests71: OK ✔ in 10 minutes 12.5 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ............................................. [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 35 passed, 2 warnings in 250.43s (0:04:10) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py .......................... [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 6 passed, 2 warnings in 41.97s pytest -q transportpce_tests/2.2.1/test03_topology.py .. [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 44 passed, 2 warnings in 672.57s (0:11:12) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ............................................ [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 44 passed, 2 warnings in 143.78s (0:02:23) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 12 passed, 2 warnings in 56.99s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................................ [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 24 passed, 2 warnings in 269.25s (0:04:29) pytest -q transportpce_tests/1.2.1/test05_olm.py ........... [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 16 passed, 2 warnings in 111.83s (0:01:51) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................................ [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 31 passed, 2 warnings in 34.96s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py ............................................ [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 26 passed, 2 warnings in 89.21s (0:01:29) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ....................... [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22 passed, 2 warnings in 96.19s (0:01:36) pytest -q transportpce_tests/2.2.1/test09_olm.py ......................................... [100%] =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 40 passed, 2 warnings in 175.56s (0:02:55) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ..F.F. [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 40 passed, 2 warnings in 896.76s (0:14:56) pytest -q transportpce_tests/1.2.1/test06_end2end.py ...........................F.....................FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFFFFFFFFFFFFF [ 74%] FFFFFFFFFFFFFFFFFFFFF...F.. [100%] =============================== warnings summary =============================== ../.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests121/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 54 passed, 2 warnings in 705.52s (0:11:45) FFF [100%] =================================== FAILURES =================================== __________________ TransportPCEtesting.test_01_connect_spdrA ___________________ self = def test_01_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: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test11_otn_end2end.py:158: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator spdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdra-221.log... Pattern found! simulator for spdra started starting simulator roadma in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadma-221.log... Pattern found! simulator for roadma started starting simulator roadmc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadmc-221.log... Pattern found! simulator for roadmc started starting simulator spdrc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdrc-221.log... Pattern found! simulator for spdrc started ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... __________________ TransportPCEtesting.test_02_connect_spdrC ___________________ self = def test_02_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: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test11_otn_end2end.py:163: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not added to tpce topology... ___________________ TransportPCEtesting.test_03_connect_rdmA ___________________ self = def test_03_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: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test11_otn_end2end.py:168: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node ROADM-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not added to tpce topology... ___________________ TransportPCEtesting.test_04_connect_rdmC ___________________ self = def test_04_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: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test11_otn_end2end.py:173: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node ROADM-C1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not added to tpce topology... _________ TransportPCEtesting.test_05_connect_sprdA_1_N1_to_roadmA_PP1 _________ self = def test_05_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'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-xpdr-rdm-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_06_connect_roadmA_PP1_to_spdrA_1_N1 _________ self = def test_06_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'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-rdm-xpdr-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_07_connect_sprdC_1_N1_to_roadmC_PP1 _________ self = def test_07_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'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-xpdr-rdm-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_08_connect_roadmC_PP1_to_spdrC_1_N1 _________ self = def test_08_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'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-rdm-xpdr-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_09_add_omsAttributes_ROADMA_ROADMC __________ self = def test_09_add_omsAttributes_ROADMA_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-A1-DEG2-DEG2-TTP-TXRXtoROADM-C1-DEG1-DEG1-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 401 != 201 transportpce_tests/2.2.1/test11_otn_end2end.py:218: AssertionError _________ TransportPCEtesting.test_10_add_omsAttributes_ROADMC_ROADMA __________ self = def test_10_add_omsAttributes_ROADMC_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-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 401 != 201 transportpce_tests/2.2.1/test11_otn_end2end.py:234: AssertionError ________________ TransportPCEtesting.test_11_check_otn_topology ________________ self = def test_11_check_otn_topology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:239: AssertionError _____________ TransportPCEtesting.test_12_create_OCH_OTU4_service ______________ self = def test_12_create_OCH_OTU4_service(self): > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'infrastructure', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ______________ TransportPCEtesting.test_13_get_OCH_OTU4_service1 _______________ self = def test_13_get_OCH_OTU4_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-OCH-OTU4") transportpce_tests/2.2.1/test11_otn_end2end.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-OCH-OTU4' 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:636: KeyError ____________ TransportPCEtesting.test_14_check_interface_och_spdra _____________ self = def test_14_check_interface_och_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-761:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:267: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 ____________ TransportPCEtesting.test_15_check_interface_OTU4_spdra ____________ self = def test_15_check_interface_OTU4_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:288: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_16_check_interface_och_spdrc _____________ self = def test_16_check_interface_och_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-761:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 ____________ TransportPCEtesting.test_17_check_interface_OTU4_spdrc ____________ self = def test_17_check_interface_OTU4_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR1-NETWORK1-OTU') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:332: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU __________ TransportPCEtesting.test_18_check_no_interface_ODU4_spdra ___________ self = def test_18_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: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:355: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_19_check_openroadm_topo_spdra ____________ self = def test_19_check_openroadm_topo_spdra(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'SPDR-SA1-XPDR1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:359: AssertionError _________ TransportPCEtesting.test_20_check_openroadm_topo_ROADMA_SRG __________ self = def test_20_check_openroadm_topo_ROADMA_SRG(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:371: AssertionError _________ TransportPCEtesting.test_21_check_openroadm_topo_ROADMA_DEG __________ self = def test_21_check_openroadm_topo_ROADMA_DEG(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-DEG2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:388: AssertionError ____________ TransportPCEtesting.test_22_check_otn_topo_otu4_links _____________ self = def test_22_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:408: AssertionError _______________ TransportPCEtesting.test_23_create_ODU4_service ________________ self = def test_23_create_ODU4_service(self): self.cr_serv_input_data["service-name"] = "service1-ODU4" 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-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" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'infrastructure', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_24_get_ODU4_service1 _________________ self = def test_24_get_ODU4_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-ODU4") transportpce_tests/2.2.1/test11_otn_end2end.py:442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-ODU4' 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:636: KeyError ____________ TransportPCEtesting.test_25_check_interface_ODU4_spdra ____________ self = def test_25_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:457: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_26_check_interface_ODU4_spdrc ____________ self = def test_26_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:488: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_27_check_otn_topo_links _______________ self = def test_27_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:518: AssertionError ________________ TransportPCEtesting.test_28_check_otn_topo_tp _________________ self = def test_28_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:546: AssertionError _______________ TransportPCEtesting.test_29_create_10GE_service ________________ self = def test_29_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"]["ethernet-encoding"] = "10GBASE-R" 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"]["ethernet-encoding"] = "10GBASE-R" 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) transportpce_tests/2.2.1/test11_otn_end2end.py:575: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'service', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_30_get_10GE_service1 _________________ self = def test_30_get_10GE_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-10GE") transportpce_tests/2.2.1/test11_otn_end2end.py:582: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:636: KeyError ________ TransportPCEtesting.test_31_check_interface_10GE_CLIENT_spdra _________ self = def test_31_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:597: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_32_check_interface_ODU2E_CLIENT_spdra ________ self = def test_32_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:613: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_33_check_interface_ODU2E_NETWORK_spdra ________ self = def test_33_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:637: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_34_check_ODU2E_connection_spdra ___________ self = def test_34_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:665: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_35_check_interface_10GE_CLIENT_spdrc _________ self = def test_35_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:682: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_36_check_interface_ODU2E_CLIENT_spdrc ________ self = def test_36_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:698: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_37_check_interface_ODU2E_NETWORK_spdrc ________ self = def test_37_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:722: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_38_check_ODU2E_connection_spdrc ___________ self = def test_38_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:754: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_39_check_otn_topo_links _______________ self = def test_39_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:770: AssertionError ________________ TransportPCEtesting.test_40_check_otn_topo_tp _________________ self = def test_40_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:783: AssertionError _______________ TransportPCEtesting.test_41_delete_10GE_service ________________ self = def test_41_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) transportpce_tests/2.2.1/test11_otn_end2end.py:801: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba... 'rpc-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service1-10GE', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_42_check_service_list ________________ self = def test_42_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test11_otn_end2end.py:808: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:620: KeyError _________ TransportPCEtesting.test_43_check_no_ODU2e_connection_spdra __________ self = def test_43_check_no_ODU2e_connection_spdra(self): > response = test_utils.check_node_request("SPDR-SA1") transportpce_tests/2.2.1/test11_otn_end2end.py:813: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:392: KeyError ______ TransportPCEtesting.test_44_check_no_interface_ODU2E_NETWORK_spdra ______ self = def test_44_check_no_interface_ODU2E_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-NETWORK1-ODU2e-service1') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:820: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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 ______ TransportPCEtesting.test_45_check_no_interface_ODU2E_CLIENT_spdra _______ self = def test_45_check_no_interface_ODU2E_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR1-CLIENT1-ODU2e-service1') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:825: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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 _______ TransportPCEtesting.test_46_check_no_interface_10GE_CLIENT_spdra _______ self = def test_46_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: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:830: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_47_check_otn_topo_links _______________ self = def test_47_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:834: AssertionError ________________ TransportPCEtesting.test_48_check_otn_topo_tp _________________ self = def test_48_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:847: AssertionError _______________ TransportPCEtesting.test_49_delete_ODU4_service ________________ self = def test_49_delete_ODU4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-ODU4" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:860: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba... 'rpc-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service1-ODU4', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_50_check_service_list ________________ self = def test_50_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test11_otn_end2end.py:867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:620: KeyError __________ TransportPCEtesting.test_51_check_no_interface_ODU4_spdra ___________ self = def test_51_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: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:874: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_52_check_otn_topo_links _______________ self = def test_52_check_otn_topo_links(self): > self.test_22_check_otn_topo_otu4_links() transportpce_tests/2.2.1/test11_otn_end2end.py:877: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/2.2.1/test11_otn_end2end.py:408: in test_22_check_otn_topo_otu4_links self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 ________________ TransportPCEtesting.test_53_check_otn_topo_tp _________________ self = def test_53_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:881: AssertionError _____________ TransportPCEtesting.test_54_delete_OCH_OTU4_service ______________ self = def test_54_delete_OCH_OTU4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-OCH-OTU4" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba...c-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service1-OCH-OTU4', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError __________________ TransportPCEtesting.test_55_get_no_service __________________ self = def test_55_get_no_service(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test11_otn_end2end.py:901: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:620: KeyError __________ TransportPCEtesting.test_56_check_no_interface_OTU4_spdra ___________ self = def test_56_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: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:907: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_57_check_no_interface_OCH_spdra ___________ self = def test_57_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: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:912: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /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_58_getLinks_OtnTopology _______________ self = def test_58_getLinks_OtnTopology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:916: AssertionError ____________ TransportPCEtesting.test_59_check_openroadm_topo_spdra ____________ self = def test_59_check_openroadm_topo_spdra(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'SPDR-SA1-XPDR1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:921: AssertionError _________ TransportPCEtesting.test_60_check_openroadm_topo_ROADMA_SRG __________ self = def test_60_check_openroadm_topo_ROADMA_SRG(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:929: AssertionError _________ TransportPCEtesting.test_61_check_openroadm_topo_ROADMA_DEG __________ self = def test_61_check_openroadm_topo_ROADMA_DEG(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-DEG2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:945: AssertionError _________ TransportPCEtesting.test_62_connect_sprdA_3_N1_to_roadmA_PP2 _________ self = def test_62_connect_sprdA_3_N1_to_roadmA_PP2(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SA1', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:965: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-xpdr-rdm-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_63_connect_roadmA_PP2_to_spdrA_3_N1 _________ self = def test_63_connect_roadmA_PP2_to_spdrA_3_N1(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SA1', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:972: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-rdm-xpdr-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_64_connect_sprdC_3_N1_to_roadmC_PP2 _________ self = def test_64_connect_sprdC_3_N1_to_roadmC_PP2(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'SPDR-SC1', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:979: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-xpdr-rdm-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError _________ TransportPCEtesting.test_65_connect_roadmC_PP2_to_spdrC_3_N1 _________ self = def test_65_connect_roadmC_PP2_to_spdrC_3_N1(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'SPDR-SC1', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) transportpce_tests/2.2.1/test11_otn_end2end.py:986: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-networkutils', rpc = 'init-rdm-xpdr-links' payload = {'links-input': {'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX', ...}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-networkutils:output' transportpce_tests/common/test_utils.py:694: KeyError ____________ TransportPCEtesting.test_66_create_OCH_OTU4_service_2 _____________ self = def test_66_create_OCH_OTU4_service_2(self): # pylint: disable=line-too-long self.cr_serv_input_data["service-name"] = "service2-OCH-OTU4" 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"] = "OTU" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR3" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR3" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-a-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" self.cr_serv_input_data["service-z-end"]["service-rate"] = "100" self.cr_serv_input_data["service-z-end"]["service-format"] = "OTU" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR3" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR3" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-z-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1010: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'infrastructure', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ______________ TransportPCEtesting.test_67_get_OCH_OTU4_service2 _______________ self = def test_67_get_OCH_OTU4_service2(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service2-OCH-OTU4") transportpce_tests/2.2.1/test11_otn_end2end.py:1017: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service2-OCH-OTU4' 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:636: KeyError ______________ TransportPCEtesting.test_68_create_ODU4_service_2 _______________ self = def test_68_create_ODU4_service_2(self): # pylint: disable=line-too-long self.cr_serv_input_data["service-name"] = "service2-ODU4" 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-SA1-XPDR3" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR3" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-a-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODU4" del self.cr_serv_input_data["service-a-end"]["otu-service-rate"] 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-SC1-XPDR3" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR3" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-NETWORK1" del self.cr_serv_input_data["service-z-end"]["otu-service-rate"] > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1046: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'infrastructure', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_69_get_ODU4_service2 _________________ self = def test_69_get_ODU4_service2(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service2-ODU4") transportpce_tests/2.2.1/test11_otn_end2end.py:1053: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service2-ODU4' 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:636: KeyError ________________ TransportPCEtesting.test_70_create_1GE_service ________________ self = def test_70_create_1GE_service(self): # pylint: disable=line-too-long self.cr_serv_input_data["service-name"] = "service1-1GE" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["service-rate"] = "1" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" self.cr_serv_input_data["service-z-end"]["service-rate"] = "1" self.cr_serv_input_data["service-z-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-XPDR3" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SA1-XPDR3" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-CLIENT1" 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-XPDR3" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR3-CLIENT1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] = "SPDR-SC1-XPDR3" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR3-CLIENT1" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1083: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-create' payload = {'common-id': 'commonId', 'connection-type': 'service', 'due-date': '2018-06-15T00:00:01Z', 'operator-contact': 'pw1234', ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError _________________ TransportPCEtesting.test_71_get_1GE_service1 _________________ self = def test_71_get_1GE_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-1GE") transportpce_tests/2.2.1/test11_otn_end2end.py:1090: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-1GE' 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:636: KeyError _________ TransportPCEtesting.test_72_check_interface_1GE_CLIENT_spdra _________ self = def test_72_check_interface_1GE_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-CLIENT1-ETHERNET1G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1105: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ETHERNET1G ________ TransportPCEtesting.test_73_check_interface_ODU0_CLIENT_spdra _________ self = def test_73_check_interface_ODU0_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-CLIENT1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1121: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ODU0:service1-1GE ________ TransportPCEtesting.test_74_check_interface_ODU0_NETWORK_spdra ________ self = def test_74_check_interface_ODU0_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-NETWORK1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1144: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU0:service1-1GE ___________ TransportPCEtesting.test_75_check_ODU0_connection_spdra ____________ self = def test_75_check_ODU0_connection_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'odu-connection', 'XPDR3-CLIENT1-ODU0-x-XPDR3-NETWORK1-ODU0') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1171: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR3-CLIENT1-ODU0-x-XPDR3-NETWORK1-ODU0 _________ TransportPCEtesting.test_76_check_interface_1GE_CLIENT_spdrc _________ self = def test_76_check_interface_1GE_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR3-CLIENT1-ETHERNET1G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1187: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ETHERNET1G ________ TransportPCEtesting.test_77_check_interface_ODU0_CLIENT_spdrc _________ self = def test_77_check_interface_ODU0_CLIENT_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR3-CLIENT1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1203: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ODU0:service1-1GE ________ TransportPCEtesting.test_78_check_interface_ODU0_NETWORK_spdrc ________ self = def test_78_check_interface_ODU0_NETWORK_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'interface', 'XPDR3-NETWORK1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1226: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU0:service1-1GE ___________ TransportPCEtesting.test_79_check_ODU0_connection_spdrc ____________ self = def test_79_check_ODU0_connection_spdrc(self): response = test_utils.check_node_attribute_request( 'SPDR-SC1', 'odu-connection', 'XPDR3-CLIENT1-ODU0-x-XPDR3-NETWORK1-ODU0') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1256: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR3-CLIENT1-ODU0-x-XPDR3-NETWORK1-ODU0 _______________ TransportPCEtesting.test_80_check_otn_topo_links _______________ self = def test_80_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1271: AssertionError ________________ TransportPCEtesting.test_81_check_otn_topo_tp _________________ self = def test_81_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1284: AssertionError ________________ TransportPCEtesting.test_82_delete_1GE_service ________________ self = def test_82_delete_1GE_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-1GE" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba..., 'rpc-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service1-1GE', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError ________________ TransportPCEtesting.test_83_check_service_list ________________ self = def test_83_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/2.2.1/test11_otn_end2end.py:1309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:620: KeyError __________ TransportPCEtesting.test_84_check_no_ODU0_connection_spdra __________ self = def test_84_check_no_ODU0_connection_spdra(self): > response = test_utils.check_node_request("SPDR-SA1") transportpce_tests/2.2.1/test11_otn_end2end.py:1314: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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:392: KeyError ______ TransportPCEtesting.test_85_check_no_interface_ODU0_NETWORK_spdra _______ self = def test_85_check_no_interface_ODU0_NETWORK_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-NETWORK1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:1321: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU0:service1-1GE _______ TransportPCEtesting.test_86_check_no_interface_ODU0_CLIENT_spdra _______ self = def test_86_check_no_interface_ODU0_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-CLIENT1-ODU0:service1-1GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:1326: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ODU0:service1-1GE _______ TransportPCEtesting.test_87_check_no_interface_10GE_CLIENT_spdra _______ self = def test_87_check_no_interface_10GE_CLIENT_spdra(self): response = test_utils.check_node_attribute_request( 'SPDR-SA1', 'interface', 'XPDR3-CLIENT1-ETHERNET1G') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 401 != 409 transportpce_tests/2.2.1/test11_otn_end2end.py:1331: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ETHERNET1G _______________ TransportPCEtesting.test_88_check_otn_topo_links _______________ self = def test_88_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1335: AssertionError ________________ TransportPCEtesting.test_89_check_otn_topo_tp _________________ self = def test_89_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1348: AssertionError _______________ TransportPCEtesting.test_90_delete_ODU4_service ________________ self = def test_90_delete_ODU4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service2-ODU4" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba... 'rpc-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service2-ODU4', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError _____________ TransportPCEtesting.test_91_delete_OCH_OTU4_service ______________ self = def test_91_delete_OCH_OTU4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service2-OCH-OTU4" > response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) transportpce_tests/2.2.1/test11_otn_end2end.py:1369: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'org-openroadm-service', rpc = 'service-delete' payload = {'sdnc-request-header': {'notification-url': 'http://localhost:8585/NotificationServer/notify', 'request-id': 'e3028ba...c-action': 'service-delete'}, 'service-delete-req-info': {'service-name': 'service2-OCH-OTU4', 'tail-retention': 'no'}} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'org-openroadm-service:output' transportpce_tests/common/test_utils.py:694: KeyError __________ TransportPCEtesting.test_92_disconnect_xponders_from_roadm __________ self = def test_92_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: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1377: AssertionError _____________ TransportPCEtesting.test_93_check_openroadm_topology _____________ self = def test_93_check_openroadm_topology(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test11_otn_end2end.py:1387: AssertionError _________________ TransportPCEtesting.test_94_disconnect_spdrA _________________ self = def test_94_disconnect_spdrA(self): response = test_utils.unmount_device("SPDR-SA1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test11_otn_end2end.py:1394: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... _________________ TransportPCEtesting.test_95_disconnect_spdrC _________________ self = def test_95_disconnect_spdrC(self): response = test_utils.unmount_device("SPDR-SC1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test11_otn_end2end.py:1398: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_96_disconnect_roadmA _________________ self = def test_96_disconnect_roadmA(self): response = test_utils.unmount_device("ROADM-A1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test11_otn_end2end.py:1402: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ ROADM\-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_97_disconnect_roadmC _________________ self = def test_97_disconnect_roadmC(self): response = test_utils.unmount_device("ROADM-C1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test11_otn_end2end.py:1406: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ ROADM\-C1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =============================== warnings summary =============================== ../.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_01_connect_spdrA FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_02_connect_spdrC FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_03_connect_rdmA FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_04_connect_rdmC FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_05_connect_sprdA_1_N1_to_roadmA_PP1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_06_connect_roadmA_PP1_to_spdrA_1_N1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_07_connect_sprdC_1_N1_to_roadmC_PP1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_08_connect_roadmC_PP1_to_spdrC_1_N1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_09_add_omsAttributes_ROADMA_ROADMC FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_10_add_omsAttributes_ROADMC_ROADMA FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_11_check_otn_topology FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_12_create_OCH_OTU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_13_get_OCH_OTU4_service1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_14_check_interface_och_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_15_check_interface_OTU4_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_16_check_interface_och_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_17_check_interface_OTU4_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_18_check_no_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_19_check_openroadm_topo_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_20_check_openroadm_topo_ROADMA_SRG FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_21_check_openroadm_topo_ROADMA_DEG FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_22_check_otn_topo_otu4_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_23_create_ODU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_24_get_ODU4_service1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_25_check_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_26_check_interface_ODU4_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_27_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_28_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_29_create_10GE_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_30_get_10GE_service1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_31_check_interface_10GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_32_check_interface_ODU2E_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_33_check_interface_ODU2E_NETWORK_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_34_check_ODU2E_connection_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_35_check_interface_10GE_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_36_check_interface_ODU2E_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_37_check_interface_ODU2E_NETWORK_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_38_check_ODU2E_connection_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_39_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_40_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_41_delete_10GE_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_42_check_service_list FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_43_check_no_ODU2e_connection_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_44_check_no_interface_ODU2E_NETWORK_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_45_check_no_interface_ODU2E_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_46_check_no_interface_10GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_47_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_48_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_49_delete_ODU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_50_check_service_list FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_51_check_no_interface_ODU4_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_52_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_53_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_54_delete_OCH_OTU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_55_get_no_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_56_check_no_interface_OTU4_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_57_check_no_interface_OCH_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_58_getLinks_OtnTopology FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_59_check_openroadm_topo_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_60_check_openroadm_topo_ROADMA_SRG FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_61_check_openroadm_topo_ROADMA_DEG FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_62_connect_sprdA_3_N1_to_roadmA_PP2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_63_connect_roadmA_PP2_to_spdrA_3_N1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_64_connect_sprdC_3_N1_to_roadmC_PP2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_65_connect_roadmC_PP2_to_spdrC_3_N1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_66_create_OCH_OTU4_service_2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_67_get_OCH_OTU4_service2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_68_create_ODU4_service_2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_69_get_ODU4_service2 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_70_create_1GE_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_71_get_1GE_service1 FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_72_check_interface_1GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_73_check_interface_ODU0_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_74_check_interface_ODU0_NETWORK_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_75_check_ODU0_connection_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_76_check_interface_1GE_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_77_check_interface_ODU0_CLIENT_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_78_check_interface_ODU0_NETWORK_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_79_check_ODU0_connection_spdrc FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_80_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_81_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_82_delete_1GE_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_83_check_service_list FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_84_check_no_ODU0_connection_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_85_check_no_interface_ODU0_NETWORK_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_86_check_no_interface_ODU0_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_87_check_no_interface_10GE_CLIENT_spdra FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_88_check_otn_topo_links FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_89_check_otn_topo_tp FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_90_delete_ODU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_91_delete_OCH_OTU4_service FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_92_disconnect_xponders_from_roadm FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_93_check_openroadm_topology FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_94_disconnect_spdrA FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_95_disconnect_spdrC FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_96_disconnect_roadmA FAILED transportpce_tests/2.2.1/test11_otn_end2end.py::TransportPCEtesting::test_97_disconnect_roadmC 97 failed, 2 warnings in 1670.35s (0:27:50) tests121: OK ✔ in 51 minutes 6.2 seconds tests221: exit 1 (2673.59 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=42565 tests221: FAIL ✖ in 44 minutes 39.44 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.2.0,urllib3==2.2.2,wheel==0.43.0 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] =============================== warnings summary =============================== ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 51 passed, 2 warnings in 323.73s (0:05:23) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] =============================== warnings summary =============================== ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 109 passed, 2 warnings in 603.49s (0:10:03) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py .......FF...F.FF.F..FF.....F..FF.FF.FFFF.FFFFFFF..... [100%] =================================== FAILURES =================================== ________ TransportPCEtesting.test_08_connect_xpdrc2_1_N1_to_roadmc_PP1 _________ self = def test_08_connect_xpdrc2_1_N1_to_roadmc_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-C2', '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: 204 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:807: AssertionError ________ TransportPCEtesting.test_09_connect_roadmc_PP1_to_xpdrc2_1_N1 _________ self = def test_09_connect_roadmc_PP1_to_xpdrc2_1_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-C2', '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: 204 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:815: AssertionError _________________ TransportPCEtesting.test_13_get_eth_service1 _________________ self = def test_13_get_eth_service1(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:860: AssertionError _________________ TransportPCEtesting.test_15_get_eth_service1 _________________ self = def test_15_get_eth_service1(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:877: AssertionError _____________ TransportPCEtesting.test_16_service_reroute_service1 _____________ self = def test_16_service_reroute_service1(self): response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-reroute', { "sdnc-request-header": { "request-id": "request-1", "rpc-action": "service-reroute", "request-system-id": "appname" }, "service-name": "service1", "service-resiliency": { "resiliency": "org-openroadm-common-service-types:restorable" } }) self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn('500', response['output']['configuration-response-common']['response-code']) > self.assertIn('No path available by PCE', response['output']['configuration-response-common']['response-message']) E AssertionError: 'No path available by PCE' not found in "Service 'service1' does not exist in datastore" transportpce_tests/hybrid/test03_autonomous_reroute.py:903: AssertionError _________________ TransportPCEtesting.test_18_get_eth_service1 _________________ self = def test_18_get_eth_service1(self): > self.test_13_get_eth_service1() transportpce_tests/hybrid/test03_autonomous_reroute.py:914: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:860: in test_13_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ________ TransportPCEtesting.test_21_connect_xpdrc2_3_N1_to_roadmc_PP2 _________ self = def test_21_connect_xpdrc2_3_N1_to_roadmc_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:939: AssertionError ________ TransportPCEtesting.test_22_connect_roadmc_PP2_to_xpdrc2_3_N1 _________ self = def test_22_connect_roadmc_PP2_to_xpdrc2_3_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '3', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:948: AssertionError ______________ TransportPCEtesting.test_28_create_OTS_ROADMC_DEG2 ______________ self = def test_28_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) > self.assertIn('Interfaces OTS-DEG2-TTP-TXRX - OMS-DEG2-TTP-TXRX successfully created on node ROADM-C1', response["output"]["result"]) E AssertionError: 'Interfaces OTS-DEG2-TTP-TXRX - OMS-DEG2-TTP-TXRX successfully created on node ROADM-C1' not found in 'ROADM-C1 is not mounted on the controller' transportpce_tests/hybrid/test03_autonomous_reroute.py:1031: AssertionError ___________ TransportPCEtesting.test_31_calculate_span_loss_base_all ___________ self = def test_31_calculate_span_loss_base_all(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-olm', 'calculate-spanloss-base', { 'src-type': 'all' }) self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn('Success', response["output"]["result"]) > self.assertIn({ "spanloss": "25.7", "link-id": "ROADM-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX" }, response["output"]["spans"]) E AssertionError: {'spanloss': '25.7', 'link-id': 'ROADM-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX'} not found in [{'spanloss': '23.6', 'link-id': 'ROADM-B1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG1-DEG1-TTP-TXRX'}, {'spanloss': '23.6', 'link-id': 'ROADM-A1-DEG1-DEG1-TTP-TXRXtoROADM-B1-DEG1-DEG1-TTP-TXRX'}] transportpce_tests/hybrid/test03_autonomous_reroute.py:1064: AssertionError ____________ TransportPCEtesting.test_32_get_service_path_service_1 ____________ self = def test_32_get_service_path_service_1(self): response = test_utils.get_serv_path_list_attr("service-paths", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:1092: AssertionError _________________ TransportPCEtesting.test_34_get_eth_service2 _________________ self = def test_34_get_eth_service2(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:1109: AssertionError ____________ TransportPCEtesting.test_35_get_service_path_service_2 ____________ self = def test_35_get_service_path_service_2(self): response = test_utils.get_serv_path_list_attr("service-paths", "service2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:1120: AssertionError _________________ TransportPCEtesting.test_37_get_eth_service1 _________________ self = def test_37_get_eth_service1(self): > self.test_13_get_eth_service1() transportpce_tests/hybrid/test03_autonomous_reroute.py:1131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:860: in test_13_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ____________ TransportPCEtesting.test_38_get_service_path_service_1 ____________ self = def test_38_get_service_path_service_1(self): response = test_utils.get_serv_path_list_attr("service-paths", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:1135: AssertionError _________________ TransportPCEtesting.test_39_get_eth_service2 _________________ self = def test_39_get_eth_service2(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service2") > self.assertEqual(response['services'][0]['operational-state'], 'outOfService') E KeyError: 0 transportpce_tests/hybrid/test03_autonomous_reroute.py:1142: KeyError ____________ TransportPCEtesting.test_40_get_service_path_service_2 ____________ self = def test_40_get_service_path_service_2(self): response = test_utils.get_serv_path_list_attr("service-paths", "service2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test03_autonomous_reroute.py:1152: AssertionError _________________ TransportPCEtesting.test_42_get_eth_service1 _________________ self = def test_42_get_eth_service1(self): > self.test_13_get_eth_service1() transportpce_tests/hybrid/test03_autonomous_reroute.py:1194: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:860: in test_13_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ____________ TransportPCEtesting.test_43_get_service_path_service_1 ____________ self = def test_43_get_service_path_service_1(self): > self.test_38_get_service_path_service_1() transportpce_tests/hybrid/test03_autonomous_reroute.py:1197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:1135: in test_38_get_service_path_service_1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 _________________ TransportPCEtesting.test_44_get_eth_service2 _________________ self = def test_44_get_eth_service2(self): > self.test_34_get_eth_service2() transportpce_tests/hybrid/test03_autonomous_reroute.py:1200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:1109: in test_34_get_eth_service2 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ____________ TransportPCEtesting.test_45_get_service_path_service_2 ____________ self = def test_45_get_service_path_service_2(self): > self.test_35_get_service_path_service_2() transportpce_tests/hybrid/test03_autonomous_reroute.py:1203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test03_autonomous_reroute.py:1120: in test_35_get_service_path_service_2 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 _______________ TransportPCEtesting.test_46_delete_eth_service2 ________________ self = def test_46_delete_eth_service2(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service2" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service2' does not exist in datastore" transportpce_tests/hybrid/test03_autonomous_reroute.py:1211: AssertionError _______________ TransportPCEtesting.test_47_delete_eth_service1 ________________ self = def test_47_delete_eth_service1(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service1' does not exist in datastore" transportpce_tests/hybrid/test03_autonomous_reroute.py:1221: AssertionError __________ TransportPCEtesting.test_48_disconnect_xponders_from_roadm __________ self = def test_48_disconnect_xponders_from_roadm(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) links = response['network'][0]['ietf-network-topology:link'] for link in links: > if link["org-openroadm-common-network:link-type"] in ('XPONDER-OUTPUT', 'XPONDER-INPUT'): E KeyError: 'org-openroadm-common-network:link-type' transportpce_tests/hybrid/test03_autonomous_reroute.py:1230: KeyError =============================== warnings summary =============================== ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "cipher": algorithms.TripleDES, ../.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259 /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0. "class": algorithms.TripleDES, -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_08_connect_xpdrc2_1_N1_to_roadmc_PP1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_09_connect_roadmc_PP1_to_xpdrc2_1_N1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_13_get_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_15_get_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_16_service_reroute_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_18_get_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_21_connect_xpdrc2_3_N1_to_roadmc_PP2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_22_connect_roadmc_PP2_to_xpdrc2_3_N1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_28_create_OTS_ROADMC_DEG2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_31_calculate_span_loss_base_all FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_32_get_service_path_service_1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_34_get_eth_service2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_35_get_service_path_service_2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_37_get_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_38_get_service_path_service_1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_39_get_eth_service2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_40_get_service_path_service_2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_42_get_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_43_get_service_path_service_1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_44_get_eth_service2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_45_get_service_path_service_2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_46_delete_eth_service2 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_47_delete_eth_service1 FAILED transportpce_tests/hybrid/test03_autonomous_reroute.py::TransportPCEtesting::test_48_disconnect_xponders_from_roadm 24 failed, 29 passed, 2 warnings in 558.20s (0:09:18) tests_hybrid: exit 1 (1486.17 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=53925 tests_hybrid: FAIL ✖ in 24 minutes 51.83 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.2.0,certifi==2024.7.4,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.5,idna==3.7,iniconfig==2.0.0,lxml==5.2.2,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.0,pip==24.1.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.2.0,urllib3==2.2.2,wheel==0.43.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (115.45=setup[9.51]+cmd[105.94] seconds) testsPCE: OK (312.14=setup[65.02]+cmd[247.13] seconds) sims121: OK (9.88=setup[6.78]+cmd[3.10] seconds) build_karaf_tests121: OK (51.90=setup[6.80]+cmd[45.09] seconds) tests121: OK (3066.20=setup[7.48]+cmd[3058.72] seconds) sims221: OK (10.11=setup[6.94]+cmd[3.18] seconds) build_karaf_tests221: OK (56.09=setup[9.70]+cmd[46.39] seconds) tests_tapi: FAIL code 1 (523.40=setup[9.98]+cmd[513.42] seconds) tests221: FAIL code 1 (2679.44=setup[5.85]+cmd[2673.59] seconds) sims71: OK (12.57=setup[9.65]+cmd[2.92] seconds) build_karaf_tests71: OK (56.25=setup[12.54]+cmd[43.71] seconds) tests71: OK (612.50=setup[6.19]+cmd[606.30] seconds) build_karaf_tests_hybrid: OK (57.55=setup[6.74]+cmd[50.81] seconds) tests_hybrid: FAIL code 1 (1491.83=setup[5.67]+cmd[1486.17] seconds) buildlighty: OK (27.97=setup[6.87]+cmd[21.10] seconds) docs: OK (41.54=setup[39.07]+cmd[2.47] seconds) docs-linkcheck: OK (43.50=setup[39.89]+cmd[3.62] seconds) checkbashisms: OK (2.62=setup[1.67]+cmd[0.01,0.10,0.84] seconds) pre-commit: OK (52.25=setup[4.57]+cmd[0.01,0.01,40.35,7.30] seconds) pylint: OK (28.60=setup[5.90]+cmd[22.70] seconds) evaluation failed :( (5516.65 seconds)