docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: freeze> python -m pip freeze --all buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 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.46 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.15.4,identify==2.6.0,nodeenv==1.9.1,pip==24.1,platformdirs==4.2.2,pre-commit==3.8.0,PyYAML==6.0.2,setuptools==70.1.0,virtualenv==20.26.3,wheel==0.43.0 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. 21 21 ok, java is 21 or newer [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-190-generic", arch: "amd64", family: "unix" [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs: freeze> python -m pip freeze --all docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.0,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.8.0,wheel==0.43.0 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.0,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.1,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==70.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.8.0,wheel==0.43.0 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html docs: OK ✔ in 38.21 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................docs-linkcheck: OK ✔ in 38.81 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.7,setuptools==70.1.0,tomlkit==0.13.2,wheel==0.43.0 pylint: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + Passed perltidy.................................................................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 53.57 seconds pylint: OK ✔ in 25.54 seconds buildcontroller: OK ✔ in 1 minute 53.27 seconds build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 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 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: freeze> python -m pip freeze --all sims221: freeze> python -m pip freeze --all sims121: freeze> python -m pip freeze --all build_karaf_tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 2.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 1.2.1 Using lighynode version 19.1.0.5 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims121: OK ✔ in 11.02 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 11.43 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.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 sims71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 7.1 Using lighynode version 19.1.0.5 Removing ./lightynode/lightynode-openroadm-device directory Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims71: OK ✔ in 12.87 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 49.33 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_tests221: OK ✔ in 1 minute 6.07 seconds tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: OK ✔ in 1 minute 0.98 seconds build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,click==8.1.7,contourpy==1.3.0,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.53.1,gnpy4tpce==2.4.7,idna==3.8,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.5,lxml==5.3.0,MarkupSafe==2.1.5,matplotlib==3.9.2,netconf-client==3.1.1,networkx==2.8.8,numpy==1.26.4,packaging==24.1,pandas==1.5.3,paramiko==3.4.1,pbr==5.11.1,pillow==10.4.0,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.1.4,pytest==8.3.2,python-dateutil==2.9.0.post0,pytz==2024.1,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.2,Werkzeug==2.0.3,wheel==0.43.0,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py .................................................. [100%] 20 passed in 118.57s (0:01:58) pytest -q transportpce_tests/pce/test02_pce_400G.py .............. [100%] 9 passed in 38.63s pytest -q transportpce_tests/pce/test03_gnpy.py ........... [100%] 8 passed in 37.35s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ............ [100%] 50 passed in 207.84s (0:03:27) pytest -q transportpce_tests/tapi/test02_full_topology.py ... [100%] 3 passed in 44.37s build_karaf_tests_hybrid: OK ✔ in 1 minute 26.52 seconds testsPCE: OK ✔ in 5 minutes 44.88 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ..................................... [100%] 30 passed in 288.31s (0:04:48) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .............. [100%] 21 passed in 269.52s (0:04:29) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ........................................................................... [100%] 70 passed in 278.71s (0:04:38) tests_tapi: OK ✔ in 13 minutes 19.64 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ............ [100%] 12 passed in 39.19s pytest -q transportpce_tests/7.1/test02_otn_renderer.py . [100%] 6 passed in 410.79s (0:06:50) pytest -q transportpce_tests/1.2.1/test03_topology.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF............FFF [100%] =================================== FAILURES =================================== ______ TransportPCE400GPortMappingTesting.test_01_xpdr_device_connection _______ self = def test_01_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-A2", ('xpdra2', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/7.1/test02_otn_renderer.py:62: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator xpdra2 in OpenROADM device version 7.1... Searching for pattern 'Data tree change listeners registered' in xpdra2-71.log... Pattern found! simulator for xpdra2 started ----------------------------- Captured stdout call ----------------------------- execution of test_01_xpdr_device_connection Searching for pattern 'Triggering notification stream NETCONF for node XPDR-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not added to tpce topology... _____ TransportPCE400GPortMappingTesting.test_02_service_path_create_otuc2 _____ self = def test_02_service_path_create_otuc2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC2', 'wave-number': '0', 'modulation-format': 'dp-qpsk', 'operation': 'create', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_service_path_create_otuc2 _____ TransportPCE400GPortMappingTesting.test_03_get_portmapping_network1 ______ self = def test_03_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_03_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_04_check_interface_otsi ________ self = def test_04_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-755:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:104: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_check_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 _______ TransportPCE400GPortMappingTesting.test_05_check_interface_otsig _______ self = def test_05_check_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTSIGROUP-200G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_check_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-200G _______ TransportPCE400GPortMappingTesting.test_06_check_interface_otuc2 _______ self = def test_06_check_interface_otuc2(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTUC2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:148: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_check_interface_otuc2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC2 ___ TransportPCE400GPortMappingTesting.test_07_otn_service_path_create_oduc2 ___ self = def test_07_otn_service_path_create_oduc2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC2', 'operation': 'create', 'service-rate': '200', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:178: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_otn_service_path_create_oduc2 _____ TransportPCE400GPortMappingTesting.test_08_get_portmapping_network1 ______ self = def test_08_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_08_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_09_check_interface_oduc2 _______ self = def test_09_check_interface_oduc2(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:194: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_interface_oduc2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC2 ___ TransportPCE400GPortMappingTesting.test_10_otn_service_path_create_100ge ___ self = def test_10_otn_service_path_create_100ge(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_Ethernet', 'operation': 'create', 'service-rate': '100', 'service-format': 'Ethernet', 'nodes': [{'node-id': 'XPDR-A2', 'client-tp': 'XPDR2-CLIENT1', 'network-tp': 'XPDR2-NETWORK1'}], 'ethernet-encoding': 'eth encode', 'opucn-trib-slots': ['1.1', '1.20'] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:235: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_otn_service_path_create_100ge ___ TransportPCE400GPortMappingTesting.test_11_check_interface_100ge_client ____ self = def test_11_check_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-CLIENT1-ETHERNET-100G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:249: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_check_interface_100ge_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G ____ TransportPCE400GPortMappingTesting.test_12_check_interface_odu4_client ____ self = def test_12_check_interface_odu4_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-CLIENT1-ODU4:service_Ethernet") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:266: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_check_interface_odu4_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service_Ethernet ___ TransportPCE400GPortMappingTesting.test_13_check_interface_odu4_network ____ self = def test_13_check_interface_odu4_network(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-ODU4:service_Ethernet") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:290: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_check_interface_odu4_network Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service_Ethernet ____ TransportPCE400GPortMappingTesting.test_14_check_odu_connection_xpdra2 ____ self = def test_14_check_odu_connection_xpdra2(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "odu-connection", "XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:321: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_odu_connection_xpdra2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4 ___ TransportPCE400GPortMappingTesting.test_15_otn_service_path_delete_100ge ___ self = def test_15_otn_service_path_delete_100ge(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_Ethernet', 'operation': 'delete', 'service-rate': '100', 'service-format': 'Ethernet', 'nodes': [{'node-id': 'XPDR-A2', 'client-tp': 'XPDR2-CLIENT1', 'network-tp': 'XPDR2-NETWORK1'}], 'ethernet-encoding': 'eth encode', 'trib-slot': ['1'], 'trib-port-number': '1' }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:349: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_otn_service_path_delete_100ge ______ TransportPCE400GPortMappingTesting.test_16_check_no_odu_connection ______ self = def test_16_check_no_odu_connection(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "odu-connection", "XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:356: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_check_no_odu_connection Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4 __ TransportPCE400GPortMappingTesting.test_17_check_no_interface_odu_network ___ self = def test_17_check_no_interface_odu_network(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-ODU4:service_Ethernet") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:361: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_17_check_no_interface_odu_network Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service_Ethernet ___ TransportPCE400GPortMappingTesting.test_18_check_no_interface_odu_client ___ self = def test_18_check_no_interface_odu_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-CLIENT1-ODU4:service_Ethernet") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:366: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_no_interface_odu_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service_Ethernet __ TransportPCE400GPortMappingTesting.test_19_check_no_interface_100ge_client __ self = def test_19_check_no_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-CLIENT1-ETHERNET-100G") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:371: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_check_no_interface_100ge_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G ___ TransportPCE400GPortMappingTesting.test_20_otn_service_path_delete_oduc2 ___ self = def test_20_otn_service_path_delete_oduc2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC2', 'operation': 'delete', 'service-rate': '200', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:384: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_otn_service_path_delete_oduc2 _____ TransportPCE400GPortMappingTesting.test_21_check_no_interface_oduc2 ______ self = def test_21_check_no_interface_oduc2(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC2") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:391: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_21_check_no_interface_oduc2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC2 __________ TransportPCE400GPortMappingTesting.test_21a_check_no_oduc2 __________ self = def test_21a_check_no_oduc2(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:395: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_21a_check_no_oduc2 _____ TransportPCE400GPortMappingTesting.test_22_service_path_delete_otuc2 _____ self = def test_22_service_path_delete_otuc2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC2', 'wave-number': '0', 'modulation-format': 'dp-qpsk', 'operation': 'delete', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:416: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_22_service_path_delete_otuc2 _____ TransportPCE400GPortMappingTesting.test_23_check_no_interface_otuc2 ______ self = def test_23_check_no_interface_otuc2(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-OTUC2") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:422: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_check_no_interface_otuc2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC2 _____ TransportPCE400GPortMappingTesting.test_24_check_no_interface_otsig ______ self = def test_24_check_no_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTSIGROUP-200G") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:427: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_24_check_no_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-200G ______ TransportPCE400GPortMappingTesting.test_25_check_no_interface_otsi ______ self = def test_25_check_no_interface_otsi(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-755:768") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:431: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_25_check_no_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 __________ TransportPCE400GPortMappingTesting.test_25a_check_no_otuc2 __________ self = def test_25a_check_no_otuc2(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_25a_check_no_otuc2 _____ TransportPCE400GPortMappingTesting.test_26_service_path_create_otuc3 _____ self = def test_26_service_path_create_otuc3(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC3', 'wave-number': '0', 'modulation-format': 'dp-qam8', 'operation': 'create', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:454: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_26_service_path_create_otuc3 _____ TransportPCE400GPortMappingTesting.test_27_get_portmapping_network1 ______ self = def test_27_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:466: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_27_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_28_check_interface_otsi ________ self = def test_28_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-755:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:476: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_28_check_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 _______ TransportPCE400GPortMappingTesting.test_29_check_interface_otsig _______ self = def test_29_check_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTSIGROUP-300G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:502: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_29_check_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-300G _______ TransportPCE400GPortMappingTesting.test_30_check_interface_otuc3 _______ self = def test_30_check_interface_otuc3(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTUC3") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:521: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_30_check_interface_otuc3 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC3 ___ TransportPCE400GPortMappingTesting.test_31_otn_service_path_create_oduc3 ___ self = def test_31_otn_service_path_create_oduc3(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC3', 'operation': 'create', 'service-rate': '300', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:551: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_31_otn_service_path_create_oduc3 _____ TransportPCE400GPortMappingTesting.test_32_get_portmapping_network1 ______ self = def test_32_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:558: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_32_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_33_check_interface_oduc3 _______ self = def test_33_check_interface_oduc3(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC3") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:567: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_33_check_interface_oduc3 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC3 ___ TransportPCE400GPortMappingTesting.test_34_otn_service_path_delete_oduc3 ___ self = def test_34_otn_service_path_delete_oduc3(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC3', 'operation': 'delete', 'service-rate': '300', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:611: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_34_otn_service_path_delete_oduc3 _____ TransportPCE400GPortMappingTesting.test_35_check_no_interface_oduc3 ______ self = def test_35_check_no_interface_oduc3(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC3") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:617: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_35_check_no_interface_oduc3 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC3 __________ TransportPCE400GPortMappingTesting.test_35a_check_no_oduc3 __________ self = def test_35a_check_no_oduc3(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:620: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_35a_check_no_oduc3 _____ TransportPCE400GPortMappingTesting.test_36_service_path_delete_otuc3 _____ self = def test_36_service_path_delete_otuc3(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC3', 'wave-number': '0', 'modulation-format': 'dp-qam8', 'operation': 'delete', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:640: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_36_service_path_delete_otuc3 _____ TransportPCE400GPortMappingTesting.test_37_check_no_interface_otuc3 ______ self = def test_37_check_no_interface_otuc3(self): response = test_utils.check_node_attribute_request("XPDR-A1", "interface", "XPDR2-NETWORK1-OTUC3") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:646: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_37_check_no_interface_otuc3 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC3 _____ TransportPCE400GPortMappingTesting.test_38_check_no_interface_otsig ______ self = def test_38_check_no_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A1", "interface", "XPDR2-NETWORK1-OTSIGROUP-300G") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:651: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_38_check_no_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-300G ______ TransportPCE400GPortMappingTesting.test_39_check_no_interface_otsi ______ self = def test_39_check_no_interface_otsi(self): response = test_utils.check_node_attribute_request("XPDR-A1", "interface", "XPDR2-NETWORK1-755:768") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:655: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_39_check_no_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 __________ TransportPCE400GPortMappingTesting.test_39a_check_no_otuc3 __________ self = def test_39a_check_no_otuc3(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_39a_check_no_otuc3 _____ TransportPCE400GPortMappingTesting.test_40_service_path_create_otuc4 _____ self = def test_40_service_path_create_otuc4(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC4', 'wave-number': '0', 'modulation-format': 'dp-qam16', 'operation': 'create', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:678: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_40_service_path_create_otuc4 _____ TransportPCE400GPortMappingTesting.test_41_get_portmapping_network1 ______ self = def test_41_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:690: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_41_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_42_check_interface_otsi ________ self = def test_42_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-755:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:700: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_42_check_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 _______ TransportPCE400GPortMappingTesting.test_43_check_interface_otsig _______ self = def test_43_check_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTSIGROUP-400G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:726: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_43_check_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-400G _______ TransportPCE400GPortMappingTesting.test_44_check_interface_otuc4 _______ self = def test_44_check_interface_otuc4(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR2-NETWORK1-OTUC4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:745: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_44_check_interface_otuc4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC4 ___ TransportPCE400GPortMappingTesting.test_45_otn_service_path_create_oduc3 ___ self = def test_45_otn_service_path_create_oduc3(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC4', 'operation': 'create', 'service-rate': '400', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:775: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_45_otn_service_path_create_oduc3 _____ TransportPCE400GPortMappingTesting.test_46_get_portmapping_network1 ______ self = def test_46_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:782: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_46_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_47_check_interface_oduc4 _______ self = def test_47_check_interface_oduc4(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:791: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_47_check_interface_oduc4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 ___ TransportPCE400GPortMappingTesting.test_48_otn_service_path_delete_oduc4 ___ self = def test_48_otn_service_path_delete_oduc4(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'otn-service-path', { 'service-name': 'service_ODUC4', 'operation': 'delete', 'service-rate': '400', 'service-format': 'ODU', 'nodes': [{'node-id': 'XPDR-A2', 'network-tp': 'XPDR2-NETWORK1'}] }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:835: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_48_otn_service_path_delete_oduc4 _____ TransportPCE400GPortMappingTesting.test_49_check_no_interface_oduc4 ______ self = def test_49_check_no_interface_oduc4(self): response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-ODUC4") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test02_otn_renderer.py:841: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_49_check_no_interface_oduc4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 __________ TransportPCE400GPortMappingTesting.test_49a_check_no_oduc4 __________ self = def test_49a_check_no_oduc4(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_49a_check_no_oduc4 _____ TransportPCE400GPortMappingTesting.test_50_service_path_delete_otuc4 _____ self = def test_50_service_path_delete_otuc4(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_OTUC4', 'wave-number': '0', 'modulation-format': 'dp-qam16', 'operation': 'delete', 'nodes': [{'node-id': 'XPDR-A2', 'dest-tp': 'XPDR2-NETWORK1'}], 'center-freq': 196.1, 'nmc-width': 75, 'min-freq': 196.0375, 'max-freq': 196.125, 'lower-spectral-slot-number': 755, 'higher-spectral-slot-number': 768 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test02_otn_renderer.py:864: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_50_service_path_delete_otuc4 _____ TransportPCE400GPortMappingTesting.test_51_check_no_interface_otuc4 ______ self = def test_51_check_no_interface_otuc4(self): response = test_utils.check_node_attribute_request("XPDR-A1", "interface", "XPDR2-NETWORK1-OTUC4") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:870: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_51_check_no_interface_otuc4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC4 _____ TransportPCE400GPortMappingTesting.test_52_check_no_interface_otsig ______ self = def test_52_check_no_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A1", "interface", "XPDR2-NETWORK1-OTSIGROUP-400G") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:875: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_52_check_no_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-400G ______ TransportPCE400GPortMappingTesting.test_53_check_no_interface_otsi ______ self = def test_53_check_no_interface_otsi(self): response = test_utils.check_node_attribute_request("XPDR-A1", "interface", "XPDR2-NETWORK1-755:768") > self.assertIn(response['status_code'], (requests.codes.conflict, requests.codes.service_unavailable)) E AssertionError: 500 not found in (409, 503) transportpce_tests/7.1/test02_otn_renderer.py:879: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_53_check_no_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 __________ TransportPCE400GPortMappingTesting.test_53a_check_no_otuc4 __________ self = def test_53a_check_no_otuc4(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test02_otn_renderer.py:882: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR2-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_53a_check_no_otuc4 _____ TransportPCE400GPortMappingTesting.test_54_xpdr_device_disconnection _____ self = def test_54_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-A2") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/7.1/test02_otn_renderer.py:888: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_54_xpdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ XPDR\-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not deleted from tpce topology... _____ TransportPCE400GPortMappingTesting.test_55_xpdr_device_disconnected ______ self = def test_55_xpdr_device_disconnected(self): > response = test_utils.check_device_connection("XPDR-A2") transportpce_tests/7.1/test02_otn_renderer.py:891: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2' def check_device_connection(node: str): url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}?content=nonconfig', 'draft-bierman02': '{}/operational/network-topology:network-topology/topology/topology-netconf/node/{}'} response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'network-topology:node', 'draft-bierman02': 'node'} if return_key[RESTCONF_VERSION] in res.keys(): connection_status = res[return_key[RESTCONF_VERSION]][0]['netconf-node-topology:connection-status'] else: > connection_status = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:376: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_55_xpdr_device_disconnected _____ TransportPCE400GPortMappingTesting.test_56_xpdr_device_not_connected _____ self = def test_56_xpdr_device_not_connected(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "node-info", None) transportpce_tests/7.1/test02_otn_renderer.py:899: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'node-info', value = None def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_56_xpdr_device_not_connected --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_01_xpdr_device_connection FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_02_service_path_create_otuc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_03_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_04_check_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_05_check_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_06_check_interface_otuc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_07_otn_service_path_create_oduc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_08_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_09_check_interface_oduc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_10_otn_service_path_create_100ge FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_11_check_interface_100ge_client FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_12_check_interface_odu4_client FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_13_check_interface_odu4_network FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_14_check_odu_connection_xpdra2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_15_otn_service_path_delete_100ge FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_16_check_no_odu_connection FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_17_check_no_interface_odu_network FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_18_check_no_interface_odu_client FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_19_check_no_interface_100ge_client FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_20_otn_service_path_delete_oduc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_21_check_no_interface_oduc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_21a_check_no_oduc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_22_service_path_delete_otuc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_23_check_no_interface_otuc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_24_check_no_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_25_check_no_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_25a_check_no_otuc2 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_26_service_path_create_otuc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_27_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_28_check_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_29_check_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_30_check_interface_otuc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_31_otn_service_path_create_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_32_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_33_check_interface_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_34_otn_service_path_delete_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_35_check_no_interface_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_35a_check_no_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_36_service_path_delete_otuc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_37_check_no_interface_otuc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_38_check_no_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_39_check_no_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_39a_check_no_otuc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_40_service_path_create_otuc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_41_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_42_check_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_43_check_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_44_check_interface_otuc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_45_otn_service_path_create_oduc3 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_46_get_portmapping_network1 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_47_check_interface_oduc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_48_otn_service_path_delete_oduc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_49_check_no_interface_oduc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_49a_check_no_oduc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_50_service_path_delete_otuc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_51_check_no_interface_otuc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_52_check_no_interface_otsig FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_53_check_no_interface_otsi FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_53a_check_no_otuc4 FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_54_xpdr_device_disconnection FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_55_xpdr_device_disconnected FAILED transportpce_tests/7.1/test02_otn_renderer.py::TransportPCE400GPortMappingTesting::test_56_xpdr_device_not_connected 62 failed in 506.94s (0:08:26) tests71: exit 1 (546.60 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 pid=40330 tests71: FAIL ✖ in 9 minutes 12.53 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.1,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==70.1.0,urllib3==2.2.2,wheel==0.43.0 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ........................................... [100%] 35 passed in 74.89s (0:01:14) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 41.91s pytest -q transportpce_tests/2.2.1/test03_topology.py .................................................................... [100%] 44 passed in 662.43s (0:11:02) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py [100%] 44 passed in 133.30s (0:02:13) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 71.97s (0:01:11) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 112.65s (0:01:52) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ................................ [100%] 31 passed in 34.69s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .............................. [100%] 24 passed in 272.46s (0:04:32) pytest -q transportpce_tests/1.2.1/test05_olm.py ...................... [100%] 26 passed in 93.56s (0:01:33) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ................................................... [100%] 22 passed in 102.81s (0:01:42) pytest -q transportpce_tests/2.2.1/test09_olm.py ......... [100%] 40 passed in 181.78s (0:03:01) pytest -q transportpce_tests/1.2.1/test06_end2end.py .................................................................... [100%] 40 passed in 183.37s (0:03:03) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ............................................................................................ [ 74%] ............................ [100%] 97 passed in 489.21s (0:08:09) pytest -q transportpce_tests/2.2.1/test12_end2end.py ....................... [100%] 54 passed in 718.77s (0:11:58) ................................. [100%] 54 passed in 442.71s (0:07:22) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 669.80s (0:11:09) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 596.67s (0:09:56) tests121: OK ✔ in 42 minutes 5.26 seconds tests221: OK ✔ in 51 minutes 7.28 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==72.1.0,urllib3==2.2.2,wheel==0.44.0 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 145.00s (0:02:24) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 612.91s (0:10:12) 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 =========================== 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 in 557.76s (0:09:17) tests_hybrid: exit 1 (1316.42 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=60461 tests_hybrid: FAIL ✖ in 22 minutes 2.33 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.0,charset-normalizer==3.3.2,cryptography==43.0.0,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==72.1.0,urllib3==2.2.2,wheel==0.44.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (113.27=setup[7.38]+cmd[105.89] seconds) testsPCE: OK (344.88=setup[104.92]+cmd[239.96] seconds) sims121: OK (11.02=setup[7.59]+cmd[3.43] seconds) build_karaf_tests121: OK (49.33=setup[7.46]+cmd[41.87] seconds) tests121: OK (2525.26=setup[7.73]+cmd[2517.53] seconds) sims221: OK (11.43=setup[7.47]+cmd[3.96] seconds) build_karaf_tests221: OK (66.07=setup[10.29]+cmd[55.78] seconds) tests_tapi: OK (799.64=setup[24.02]+cmd[775.62] seconds) tests221: OK (3067.28=setup[16.51]+cmd[3050.77] seconds) sims71: OK (12.87=setup[10.10]+cmd[2.77] seconds) build_karaf_tests71: OK (60.98=setup[17.35]+cmd[43.63] seconds) tests71: FAIL code 1 (552.53=setup[5.93]+cmd[546.60] seconds) build_karaf_tests_hybrid: OK (86.52=setup[37.23]+cmd[49.29] seconds) tests_hybrid: FAIL code 1 (1322.33=setup[5.91]+cmd[1316.42] seconds) buildlighty: OK (23.88=setup[6.18]+cmd[17.70] seconds) docs: OK (38.21=setup[35.75]+cmd[2.46] seconds) docs-linkcheck: OK (38.80=setup[35.70]+cmd[3.10] seconds) checkbashisms: OK (2.46=setup[1.56]+cmd[0.01,0.06,0.84] seconds) pre-commit: OK (53.57=setup[3.24]+cmd[0.00,0.00,39.92,10.40] seconds) pylint: OK (25.54=setup[5.11]+cmd[20.44] seconds) evaluation failed :( (5956.10 seconds)