checkbashisms: freeze> python -m pip freeze --all docs: install_deps> python -I -m pip install -r docs/requirements.txt docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt checkbashisms: pip==24.3.1,setuptools==75.6.0,wheel==0.45.1 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-calcium/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-calcium/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 2.77 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.16.1,identify==2.6.3,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.0.1,PyYAML==6.0.2,setuptools==75.6.0,virtualenv==20.28.0,wheel==0.45.1 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-calcium/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-calcium/tests> pre-commit run --all-files --show-diff-on-failure [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_controller.sh java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... 21 21 ok, java is 21 or newer Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.5, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-200-generic", arch: "amd64", family: "unix" [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs: freeze> python -m pip freeze --all docs-linkcheck: freeze> python -m pip freeze --all docs: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.2.0,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 docs: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-calcium/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-calcium/docs/_build/html docs-linkcheck: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.2,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.2.0,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-calcium/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-calcium/docs/_build/linkcheck docs: OK ✔ in 46.08 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................Passed perltidy.................................................................Passed docs-linkcheck: OK ✔ in 48.7 seconds pre-commit: commands[3] /w/workspace/transportpce-tox-verify-calcium/tests> pre-commit run gitlint-ci --hook-stage manual pylint: freeze> python -m pip freeze --all [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... pylint: astroid==3.3.6,dill==0.3.9,isort==5.13.2,mccabe==0.7.0,pip==24.3.1,platformdirs==4.3.6,pylint==3.3.2,setuptools==75.6.0,tomlkit==0.13.2,wheel==0.45.1 pylint: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + gitlint..................................................................Passed ------------------------------------ Your code has been rated at 10.00/10 pre-commit: OK ✔ in 57.75 seconds pylint: OK ✔ in 26.84 seconds buildcontroller: OK ✔ in 2 minutes 0.69 seconds testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests221: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh sims: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 sims: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./install_lightynode.sh Using lighynode version 20.1.0.2 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory build_karaf_tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh sims: OK ✔ in 10.71 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 52.39 seconds build_karaf_tests221: OK ✔ in 52.46 seconds build_karaf_tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt build_karaf_tests71: OK ✔ in 49.18 seconds build_karaf_tests_hybrid: freeze> python -m pip freeze --all tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh pytest -q transportpce_tests/tapi/test01_abstracted_topology.py testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,click==8.1.7,contourpy==1.3.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.55.2,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==3.0.2,matplotlib==3.9.3,netconf-client==3.1.3,networkx==2.8.8,numpy==1.26.4,packaging==24.2,pandas==1.5.3,paramiko==3.5.0,pbr==5.11.1,pillow==11.0.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.0,pytest==8.3.4,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.17.0,urllib3==2.2.3,Werkzeug==2.0.3,wheel==0.45.1,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py ................FF.F..F...F...FF....FF...FF [100%] 20 passed in 122.10s (0:02:02) pytest -q transportpce_tests/pce/test02_pce_400G.py ....FF.FFFFFFFFF.F [100%] =================================== FAILURES =================================== ______________ TransportPCE400Gtesting.test_01_load_port_mapping _______________ self = def test_01_load_port_mapping(self): response = test_utils.post_portmapping(self.port_mapping_data) > self.assertIn(response['status_code'], (requests.codes.created, requests.codes.no_content)) E AssertionError: 500 not found in (201, 204) transportpce_tests/pce/test02_pce_400G.py:121: AssertionError ---------------------------- Captured stdout setup ----------------------------- sample files content loaded starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! ----------------------------- Captured stdout call ----------------------------- execution of test_01_load_port_mapping __________ TransportPCE400Gtesting.test_02_load_openroadm_topology_bi __________ self = def test_02_load_openroadm_topology_bi(self): response = test_utils.put_ietf_network('openroadm-topology', self.topo_bi_dir_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/pce/test02_pce_400G.py:127: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_load_openroadm_topology_bi ________ TransportPCE400Gtesting.test_03_path_computation_400G_xpdr_bi _________ self = def test_03_path_computation_400G_xpdr_bi(self): response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:135: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_path_computation_400G_xpdr_bi _____________ TransportPCE400Gtesting.test_04_load_otn_topology_bi _____________ self = def test_04_load_otn_topology_bi(self): response = test_utils.put_ietf_network('otn-topology', self.otn_topo_bi_dir_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/pce/test02_pce_400G.py:165: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_load_otn_topology_bi ________ TransportPCE400Gtesting.test_05_path_computation_OTUC4_xpdr_bi ________ self = def test_05_path_computation_OTUC4_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-OTUC4" self.path_computation_input_data["service-a-end"]["service-format"] = "OTU" self.path_computation_input_data["service-a-end"]["tx-direction"] =\ {"port": {"port-device-name": "XPDR-A2-XPDR2"}} self.path_computation_input_data["service-z-end"]["service-format"] = "OTU" self.path_computation_input_data["service-z-end"]["tx-direction"] =\ {"port": {"port-device-name": "XPDR-C2-XPDR2"}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:180: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_path_computation_OTUC4_xpdr_bi __________ TransportPCE400Gtesting.test_06_load_otuc4_otn_topology_bi __________ self = def test_06_load_otuc4_otn_topology_bi(self): response = test_utils.put_ietf_network('otn-topology', self.otuc4_otn_topo_bi_dir_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/pce/test02_pce_400G.py:210: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_load_otuc4_otn_topology_bi ________ TransportPCE400Gtesting.test_07_path_computation_ODUC4_xpdr_bi ________ self = def test_07_path_computation_ODUC4_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-ODUC4" self.path_computation_input_data["service-a-end"]["service-format"] = "ODU" self.path_computation_input_data["service-a-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-A2-XPDR2"}} self.path_computation_input_data["service-z-end"]["service-format"] = "ODU" self.path_computation_input_data["service-z-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-C2-XPDR2"}} response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:225: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_path_computation_ODUC4_xpdr_bi __________ TransportPCE400Gtesting.test_08_load_oduc4_otn_topology_bi __________ self = def test_08_load_oduc4_otn_topology_bi(self): response = test_utils.put_ietf_network('otn-topology', self.oduc4_otn_topo_bi_dir_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/pce/test02_pce_400G.py:243: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_load_oduc4_otn_topology_bi ________ TransportPCE400Gtesting.test_09_path_computation_100G_xpdr_bi _________ self = def test_09_path_computation_100G_xpdr_bi(self): self.path_computation_input_data["service-name"] = "service-100GE" self.path_computation_input_data["service-a-end"]["service-rate"] = "100" self.path_computation_input_data["service-a-end"]["service-format"] = "Ethernet" self.path_computation_input_data["service-a-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-A2-XPDR2", "port-name": "XPDR2-CLIENT1"}} self.path_computation_input_data["service-z-end"]["service-rate"] = "100" self.path_computation_input_data["service-z-end"]["service-format"] = "Ethernet" self.path_computation_input_data["service-z-end"]["tx-direction"] = \ {"port": {"port-device-name": "XPDR-C2-XPDR2", "port-name": "XPDR2-CLIENT1"}} self.path_computation_input_data["service-z-end"]["service-format"] = "ODU" response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/pce/test02_pce_400G.py:263: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_path_computation_100G_xpdr_bi --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_01_load_port_mapping FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_02_load_openroadm_topology_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_03_path_computation_400G_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_04_load_otn_topology_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_05_path_computation_OTUC4_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_06_load_otuc4_otn_topology_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_07_path_computation_ODUC4_xpdr_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_08_load_oduc4_otn_topology_bi FAILED transportpce_tests/pce/test02_pce_400G.py::TransportPCE400Gtesting::test_09_path_computation_100G_xpdr_bi 9 failed in 27.83s build_karaf_tests_hybrid: OK ✔ in 54.87 seconds testsPCE: exit 1 (150.77 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh pce pid=31497 testsPCE: FAIL ✖ in 3 minutes 43.65 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py .F..F..F.FF..F.... [100%] =================================== FAILURES =================================== _____________ TransportTapitesting.test_01_get_tapi_topology_T100G _____________ self = def test_01_get_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:190: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! installing tapi feature... installing feature odl-transportpce-tapi client: JAVA_HOME not set; results may vary odl-transportpce-tapi │ 9.3.0.SNAPSHOT │ x │ Started │ odl-transportpce-tapi │ OpenDaylight :: transportpce :: tapi Restarting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! starting simulator xpdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in xpdra-221.log... Pattern found! simulator for xpdra started starting simulator roadma in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadma-221.log... Pattern found! simulator for roadma started starting simulator roadmb in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadmb-221.log... Pattern found! simulator for roadmb started starting simulator roadmc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadmc-221.log... Pattern found! simulator for roadmc started starting simulator xpdrc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in xpdrc-221.log... Pattern found! simulator for xpdrc started starting simulator spdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdra-221.log... Pattern found! simulator for spdra started starting simulator spdrc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdrc-221.log... Pattern found! simulator for spdrc started ---------------------------- Captured stderr setup ----------------------------- SLF4J(W): No SLF4J providers were found. SLF4J(W): Defaulting to no-operation (NOP) logger implementation SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier. SLF4J(W): Ignoring binding found at [jar:file:/w/workspace/transportpce-tox-verify-calcium/karaf221/target/assembly/system/org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation. ----------------------------- Captured stdout call ----------------------------- execution of test_01_get_tapi_topology_T100G ______________ TransportTapitesting.test_02_get_tapi_topology_T0 _______________ self = def test_02_get_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:206: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_get_tapi_topology_T0 ________________ TransportTapitesting.test_04_check_tapi_topos _________________ self = def test_04_check_tapi_topos(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:218: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_check_tapi_topos ________________ TransportTapitesting.test_07_check_tapi_topos _________________ self = def test_07_check_tapi_topos(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:241: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_check_tapi_topos ________________ TransportTapitesting.test_10_check_tapi_topos _________________ self = def test_10_check_tapi_topos(self): > self.test_01_get_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:190: in test_01_get_tapi_topology_T100G self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_10_check_tapi_topos ____________ TransportTapitesting.test_13_check_tapi_topology_T100G ____________ self = def test_13_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:299: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_check_tapi_topology_T100G _____________ TransportTapitesting.test_14_check_tapi_topology_T0 ______________ self = def test_14_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:310: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_tapi_topology_T0 ____________ TransportTapitesting.test_18_check_tapi_topology_T100G ____________ self = def test_18_check_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:350: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_tapi_topology_T100G _____________ TransportTapitesting.test_19_check_tapi_topology_T0 ______________ self = def test_19_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:364: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_check_tapi_topology_T0 ____________ TransportTapitesting.test_22_check_tapi_topology_T100G ____________ self = def test_22_check_tapi_topology_T100G(self): > self.test_18_check_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:350: in test_18_check_tapi_topology_T100G self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_22_check_tapi_topology_T100G _____________ TransportTapitesting.test_23_check_tapi_topology_T0 ______________ self = def test_23_check_tapi_topology_T0(self): > self.test_19_check_tapi_topology_T0() transportpce_tests/tapi/test01_abstracted_topology.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:364: in test_19_check_tapi_topology_T0 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_23_check_tapi_topology_T0 ____________ TransportTapitesting.test_28_check_tapi_topology_T100G ____________ self = def test_28_check_tapi_topology_T100G(self): > self.test_18_check_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:433: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:350: in test_18_check_tapi_topology_T100G self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_28_check_tapi_topology_T100G _____________ TransportTapitesting.test_29_check_tapi_topology_T0 ______________ self = def test_29_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:439: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_29_check_tapi_topology_T0 _____________ TransportTapitesting.test_32_check_tapi_topology_T0 ______________ self = def test_32_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:494: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_32_check_tapi_topology_T0 _____________ TransportTapitesting.test_34_check_tapi_topology_T0 ______________ self = def test_34_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:533: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_34_check_tapi_topology_T0 _____________ TransportTapitesting.test_37_check_tapi_topology_T0 ______________ self = def test_37_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:578: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_37_check_tapi_topology_T0 _____________ TransportTapitesting.test_40_check_tapi_topology_T0 ______________ self = def test_40_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:616: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_40_check_tapi_topology_T0 _____________ TransportTapitesting.test_42_check_tapi_topology_T0 ______________ self = def test_42_check_tapi_topology_T0(self): self.tapi_topo["topology-id"] = test_utils.T0_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_42_check_tapi_topology_T0 _____________ TransportTapitesting.test_43_get_tapi_topology_T100G _____________ self = def test_43_get_tapi_topology_T100G(self): self.tapi_topo["topology-id"] = test_utils.T100GE_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/tapi/test01_abstracted_topology.py:652: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_43_get_tapi_topology_T100G ________________ TransportTapitesting.test_46_check_tapi_topos _________________ self = def test_46_check_tapi_topos(self): > self.test_01_get_tapi_topology_T100G() transportpce_tests/tapi/test01_abstracted_topology.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/tapi/test01_abstracted_topology.py:190: in test_01_get_tapi_topology_T100G self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_46_check_tapi_topos =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_01_get_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_02_get_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_04_check_tapi_topos FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_07_check_tapi_topos FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_10_check_tapi_topos FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_13_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_14_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_18_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_19_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_22_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_23_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_28_check_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_29_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_32_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_34_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_37_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_40_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_42_check_tapi_topology_T0 FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_43_get_tapi_topology_T100G FAILED transportpce_tests/tapi/test01_abstracted_topology.py::TransportTapitesting::test_46_check_tapi_topos 20 failed, 30 passed in 230.13s (0:03:50) tests_tapi: exit 1 (230.37 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh tapi pid=30819 tests_tapi: FAIL ✖ in 3 minutes 59.33 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests71: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ............ [100%] 12 passed in 41.58s pytest -q transportpce_tests/7.1/test02_otn_renderer.py ................................................................................ [100%] 21 passed in 260.99s (0:04:20) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ... [100%] 62 passed in 158.24s (0:02:38) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ...F... [100%] 6 passed in 234.99s (0:03:54) pytest -q transportpce_tests/1.2.1/test03_topology.py FFFFFFFFFFFFFFFFFFFFFF.F.F.F.F.F.F.F.F.F.F.F.FFFFFFFF........FFF...F.F.F. [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/test03_renderer_or_modes.py:66: 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 starting simulator xpdrc2 in OpenROADM device version 7.1... Searching for pattern 'Data tree change listeners registered' in xpdrc2-71.log... Pattern found! simulator for xpdrc2 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_01a_xpdr_device_connection ______ self = def test_01a_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-C2", ("xpdrc2", 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/test03_renderer_or_modes.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_01a_xpdr_device_connection Searching for pattern 'Triggering notification stream NETCONF for node XPDR-C2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-C2 still not added to tpce topology... _____ TransportPCE400GPortMappingTesting.test_02_check_client_capabilities _____ self = def test_02_check_client_capabilities(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR3-CLIENT1") transportpce_tests/7.1/test03_renderer_or_modes.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR3-CLIENT1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_02_check_client_capabilities _____ TransportPCE400GPortMappingTesting.test_03_check_client_capabilities _____ self = def test_03_check_client_capabilities(self): > response = test_utils.get_portmapping_node_attr("XPDR-C2", "mapping", "XPDR3-CLIENT1") transportpce_tests/7.1/test03_renderer_or_modes.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-C2', attr = 'mapping', value = 'XPDR3-CLIENT1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_03_check_client_capabilities ___ TransportPCE400GPortMappingTesting.test_04_100g_ofec_service_path_create ___ self = def test_04_100g_ofec_service_path_create(self): response = test_utils.transportpce_api_rpc_request( "transportpce-device-renderer", "service-path", { "service-name": "service_100GE_ofec", "wave-number": "0", "modulation-format": "dp-qpsk", "operation": "create", "nodes": [{ "node-id": "XPDR-A2", "src-tp": "XPDR3-CLIENT1", "dest-tp": "XPDR3-NETWORK1" }, { "node-id": "XPDR-C2", "src-tp": "XPDR3-CLIENT1", "dest-tp": "XPDR3-NETWORK1" }], "center-freq": 193.0, "nmc-width": 37.5, "min-freq": 192.975, "max-freq": 193.025, "lower-spectral-slot-number": 265, "higher-spectral-slot-number": 272, }) > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:116: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_100g_ofec_service_path_create _____ TransportPCE400GPortMappingTesting.test_05_get_portmapping_network1 ______ self = def test_05_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR3-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR3-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_05_get_portmapping_network1 _____ TransportPCE400GPortMappingTesting.test_06_get_portmapping_network1 ______ self = def test_06_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-C2", "mapping", "XPDR3-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:175: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-C2', attr = 'mapping', value = 'XPDR3-NETWORK1' def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_06_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_07_check_interface_otsi ________ self = def test_07_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR3-NETWORK1-265:272") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:187: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_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=XPDR3-NETWORK1-265:272 _______ TransportPCE400GPortMappingTesting.test_08_check_interface_otsi ________ self = def test_08_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-C2", "interface", "XPDR3-NETWORK1-265:272") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:212: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_check_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-265:272 _______ TransportPCE400GPortMappingTesting.test_09_check_interface_otsig _______ self = def test_09_check_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-OTSIGROUP-100G") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:237: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_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=XPDR3-NETWORK1-OTSIGROUP-100G _______ TransportPCE400GPortMappingTesting.test_10_check_interface_otsig _______ self = def test_10_check_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-OTSIGROUP-100G") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:256: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_check_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-OTSIGROUP-100G _______ TransportPCE400GPortMappingTesting.test_11_check_interface_otuc1 _______ self = def test_11_check_interface_otuc1(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-OTUC1") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:275: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_check_interface_otuc1 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-OTUC1 _______ TransportPCE400GPortMappingTesting.test_12_check_interface_otuc1 _______ self = def test_12_check_interface_otuc1(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-OTUC1") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:297: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_check_interface_otuc1 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-OTUC1 _______ TransportPCE400GPortMappingTesting.test_13_check_interface_oduc1 _______ self = def test_13_check_interface_oduc1(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-ODUC1") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:319: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_check_interface_oduc1 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODUC1 _______ TransportPCE400GPortMappingTesting.test_14_check_interface_oduc1 _______ self = def test_14_check_interface_oduc1(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-ODUC1") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:345: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_interface_oduc1 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODUC1 _______ TransportPCE400GPortMappingTesting.test_15_check_interface_odu4 ________ self = def test_15_check_interface_odu4(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-ODU4") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:372: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_check_interface_odu4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU4 _______ TransportPCE400GPortMappingTesting.test_16_check_interface_odu4 ________ self = def test_16_check_interface_odu4(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-ODU4") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:400: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_check_interface_odu4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU4 ___ TransportPCE400GPortMappingTesting.test_17_check_interface_100ge_client ____ self = def test_17_check_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-CLIENT1-ETHERNET") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:428: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_17_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=XPDR3-CLIENT1-ETHERNET ___ TransportPCE400GPortMappingTesting.test_18_check_interface_100ge_client ____ self = def test_18_check_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-CLIENT1-ETHERNET") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:446: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_interface_100ge_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ETHERNET _____ TransportPCE400GPortMappingTesting.test_19_service_path_delete_100ge _____ self = def test_19_service_path_delete_100ge(self): response = test_utils.transportpce_api_rpc_request( "transportpce-device-renderer", "service-path", { "service-name": "service_100GE_ofec", "wave-number": "0", "modulation-format": "dp-qpsk", "operation": "delete", "nodes": [{ "node-id": "XPDR-A2", "src-tp": "XPDR3-CLIENT1", "dest-tp": "XPDR3-NETWORK1" }, { "node-id": "XPDR-C2", "src-tp": "XPDR3-CLIENT1", "dest-tp": "XPDR3-NETWORK1" }], "center-freq": 193.0, "nmc-width": 37.5, "min-freq": 192.975, "max-freq": 193.025, "lower-spectral-slot-number": 265, "higher-spectral-slot-number": 272, }) > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:487: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_service_path_delete_100ge __ TransportPCE400GPortMappingTesting.test_20_check_no_interface_100ge_client __ self = def test_20_check_no_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-CLIENT1-ETHERNET") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:493: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_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=XPDR3-CLIENT1-ETHERNET __ TransportPCE400GPortMappingTesting.test_21_check_no_interface_100ge_client __ self = def test_21_check_no_interface_100ge_client(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-CLIENT1-ETHERNET") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:498: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_21_check_no_interface_100ge_client Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-CLIENT1-ETHERNET ______ TransportPCE400GPortMappingTesting.test_22_check_no_interface_odu4 ______ self = def test_22_check_no_interface_odu4(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-ODU4") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:503: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_22_check_no_interface_odu4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU4 ______ TransportPCE400GPortMappingTesting.test_23_check_no_interface_odu4 ______ self = def test_23_check_no_interface_odu4(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-ODU4") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:508: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_check_no_interface_odu4 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODU4 _____ TransportPCE400GPortMappingTesting.test_24_check_no_interface_otuc2 ______ self = def test_24_check_no_interface_otuc2(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-ODUC1") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:513: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_24_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=XPDR3-NETWORK1-ODUC1 _____ TransportPCE400GPortMappingTesting.test_25_check_no_interface_otuc2 ______ self = def test_25_check_no_interface_otuc2(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-ODUC1") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:518: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_25_check_no_interface_otuc2 Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-ODUC1 __________ TransportPCE400GPortMappingTesting.test_26_check_no_otuc1 ___________ self = def test_26_check_no_otuc1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR3-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2', attr = 'mapping', value = 'XPDR3-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_26_check_no_otuc1 __________ TransportPCE400GPortMappingTesting.test_27_check_no_otuc1 ___________ self = def test_27_check_no_otuc1(self): > response = test_utils.get_portmapping_node_attr("XPDR-C2", "mapping", "XPDR3-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:526: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-C2', attr = 'mapping', value = 'XPDR3-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_check_no_otuc1 _____ TransportPCE400GPortMappingTesting.test_28_check_no_interface_otsig ______ self = def test_28_check_no_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-OTSIGROUP-100G") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:532: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_28_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=XPDR3-NETWORK1-OTSIGROUP-100G _____ TransportPCE400GPortMappingTesting.test_29_check_no_interface_otsig ______ self = def test_29_check_no_interface_otsig(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-OTSIGROUP-100G") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:537: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_29_check_no_interface_otsig Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-OTSIGROUP-100G ______ TransportPCE400GPortMappingTesting.test_30_check_no_interface_otsi ______ self = def test_30_check_no_interface_otsi(self): response = test_utils.check_node_attribute_request( "XPDR-A2", "interface", "XPDR3-NETWORK1-265:272") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:542: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_30_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=XPDR3-NETWORK1-265:272 ______ TransportPCE400GPortMappingTesting.test_31_check_no_interface_otsi ______ self = def test_31_check_no_interface_otsi(self): response = test_utils.check_node_attribute_request( "XPDR-C2", "interface", "XPDR3-NETWORK1-265:272") > self.assertEqual(response["status_code"], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/7.1/test03_renderer_or_modes.py:547: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_31_check_no_interface_otsi Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR3-NETWORK1-265:272 _____ TransportPCE400GPortMappingTesting.test_32_service_path_create_otuc2 _____ self = def test_32_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-qam16", "operation": "create", "nodes": [{ "node-id": "XPDR-A2", "dest-tp": "XPDR2-NETWORK1" }, { "node-id": "XPDR-C2", "dest-tp": "XPDR2-NETWORK1" }], "center-freq": 193.0, "nmc-width": 37.5, "min-freq": 192.975, "max-freq": 193.025, "lower-spectral-slot-number": 265, "higher-spectral-slot-number": 272, }) > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:573: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_32_service_path_create_otuc2 _____ TransportPCE400GPortMappingTesting.test_33_get_portmapping_network1 ______ self = def test_33_get_portmapping_network1(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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_33_get_portmapping_network1 _______ TransportPCE400GPortMappingTesting.test_34_check_interface_otsi ________ self = def test_34_check_interface_otsi(self): # pylint: disable=line-too-long response = test_utils.check_node_attribute_request("XPDR-A2", "interface", "XPDR2-NETWORK1-265:272") > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:619: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_34_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-265:272 _______ TransportPCE400GPortMappingTesting.test_35_check_interface_otsig _______ self = def test_35_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/test03_renderer_or_modes.py:644: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_35_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_36_check_interface_otuc2 _______ self = def test_36_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/test03_renderer_or_modes.py:663: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_36_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_37_service_path_delete_otuc2 _____ self = def test_37_service_path_delete_otuc2(self): response = test_utils.transportpce_api_rpc_request( "transportpce-device-renderer", "service-path", { "modulation-format": "dp-qam16", "operation": "delete", "service-name": "service_OTUC2", "wave-number": "0", "center-freq": 193.0, "nmc-width": 37.5, "min-freq": 192.975, "max-freq": 193.025, "lower-spectral-slot-number": 265, "higher-spectral-slot-number": 272, "nodes": [ { "node-id": "XPDR-A2", "dest-tp": "XPDR2-NETWORK1" }, { "node-id": "XPDR-C2", "dest-tp": "XPDR2-NETWORK1" } ] }) > self.assertEqual(response["status_code"], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/7.1/test03_renderer_or_modes.py:710: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_37_service_path_delete_otuc2 _____ TransportPCE400GPortMappingTesting.test_38_check_no_interface_otuc2 ______ self = def test_38_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/test03_renderer_or_modes.py:716: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_38_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_39_check_no_interface_otsig ______ self = def test_39_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/test03_renderer_or_modes.py:721: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_39_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_40_check_no_interface_otsi ______ self = def test_40_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/test03_renderer_or_modes.py:725: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_40_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_41_check_no_otuc2 ___________ self = def test_41_check_no_otuc2(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") transportpce_tests/7.1/test03_renderer_or_modes.py:728: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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_check_no_otuc2 _____ TransportPCE400GPortMappingTesting.test_42_xpdr_device_disconnection _____ self = def test_42_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/test03_renderer_or_modes.py:734: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_42_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_43_xpdr_device_disconnected ______ self = def test_43_xpdr_device_disconnected(self): > response = test_utils.check_device_connection("XPDR-A2") transportpce_tests/7.1/test03_renderer_or_modes.py:737: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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_43_xpdr_device_disconnected _____ TransportPCE400GPortMappingTesting.test_44_xpdr_device_not_connected _____ self = def test_44_xpdr_device_not_connected(self): > response = test_utils.get_portmapping_node_attr("XPDR-A2", "node-info", None) transportpce_tests/7.1/test03_renderer_or_modes.py:745: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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_44_xpdr_device_not_connected _____ TransportPCE400GPortMappingTesting.test_45_xpdr_device_disconnection _____ self = def test_45_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-C2") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/7.1/test03_renderer_or_modes.py:754: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_45_xpdr_device_disconnection Searching for pattern 'onDeviceDisConnected:\ XPDR\-C2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-C2 still not deleted from tpce topology... _____ TransportPCE400GPortMappingTesting.test_46_xpdr_device_disconnected ______ self = def test_46_xpdr_device_disconnected(self): > response = test_utils.check_device_connection("XPDR-C2") transportpce_tests/7.1/test03_renderer_or_modes.py:757: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-C2' 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_46_xpdr_device_disconnected _____ TransportPCE400GPortMappingTesting.test_47_xpdr_device_not_connected _____ self = def test_47_xpdr_device_not_connected(self): > response = test_utils.get_portmapping_node_attr("XPDR-C2", "node-info", None) transportpce_tests/7.1/test03_renderer_or_modes.py:765: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-C2', 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_47_xpdr_device_not_connected --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_01_xpdr_device_connection FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_01a_xpdr_device_connection FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_02_check_client_capabilities FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_03_check_client_capabilities FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_04_100g_ofec_service_path_create FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_05_get_portmapping_network1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_06_get_portmapping_network1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_07_check_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_08_check_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_09_check_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_10_check_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_11_check_interface_otuc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_12_check_interface_otuc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_13_check_interface_oduc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_14_check_interface_oduc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_15_check_interface_odu4 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_16_check_interface_odu4 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_17_check_interface_100ge_client FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_18_check_interface_100ge_client FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_19_service_path_delete_100ge FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_20_check_no_interface_100ge_client FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_21_check_no_interface_100ge_client FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_22_check_no_interface_odu4 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_23_check_no_interface_odu4 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_24_check_no_interface_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_25_check_no_interface_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_26_check_no_otuc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_27_check_no_otuc1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_28_check_no_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_29_check_no_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_30_check_no_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_31_check_no_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_32_service_path_create_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_33_get_portmapping_network1 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_34_check_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_35_check_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_36_check_interface_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_37_service_path_delete_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_38_check_no_interface_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_39_check_no_interface_otsig FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_40_check_no_interface_otsi FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_41_check_no_otuc2 FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_42_xpdr_device_disconnection FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_43_xpdr_device_disconnected FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_44_xpdr_device_not_connected FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_45_xpdr_device_disconnection FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_46_xpdr_device_disconnected FAILED transportpce_tests/7.1/test03_renderer_or_modes.py::TransportPCE400GPortMappingTesting::test_47_xpdr_device_not_connected 48 failed in 859.93s (0:14:19) tests71: exit 1 (1060.45 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 7.1 pid=35271 tests71: FAIL ✖ in 17 minutes 46.77 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt ...tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests221: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ............... [100%] 44 passed in 669.96s (0:11:09) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ................................... [100%] 35 passed in 74.68s (0:01:14) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 43.40s pytest -q transportpce_tests/2.2.1/test03_topology.py ................................................. [100%] 44 passed in 134.72s (0:02:14) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ....................... [100%] 24 passed in 260.74s (0:04:20) pytest -q transportpce_tests/1.2.1/test05_olm.py ........ [100%] 12 passed in 58.51s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ............................................. [100%] 16 passed in 120.73s (0:02:00) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py .................................... [100%] 31 passed in 35.17s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py ...... [100%] 40 passed in 189.29s (0:03:09) pytest -q transportpce_tests/1.2.1/test06_end2end.py ....................................... [100%] 26 passed in 93.75s (0:01:33) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................................F.FFFFFFFFFFFFFFFFFFF.F.... [100%] 54 passed in 717.94s (0:11:57) F [100%] =================================== FAILURES =================================== _________________ TransportPCEtesting.test_01_connect_SPDR_SA1 _________________ self = def test_01_connect_SPDR_SA1(self): response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:49: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator spdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdra-221.log... Pattern found! simulator for spdra started starting simulator spdrc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdrc-221.log... Pattern found! simulator for spdrc started ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... _________________ TransportPCEtesting.test_02_connect_SPDR_SC1 _________________ self = def test_02_connect_SPDR_SC1(self): response = test_utils.mount_device("SPDR-SC1", ('spdrc', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not added to tpce topology... _______________ TransportPCEtesting.test_03_service_create_OTU4 ________________ self = def test_03_service_create_OTU4(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-OTU4-ODU4', 'connection-type': 'infrastructure', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'OTU', 'otu-service-rate': 'org-openroadm-otn-common-types:OTU4', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'OTU', 'otu-service-rate': 'org-openroadm-otn-common-types:OTU4', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 100, 'modulation-format': 'dp-qpsk', 'aToZ-wavelength-number': 1, 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } } ], 'aToZ-min-frequency': 196.075, 'aToZ-max-frequency': 196.125 }, 'zToA-direction': { 'zToA-wavelength-number': '1', 'rate': '100', 'modulation-format': 'dp-qpsk', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } } ], 'zToA-min-frequency': 196.075, 'zToA-max-frequency': 196.125 } } }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:166: AssertionError _______________ TransportPCEtesting.test_04_check_interface_och ________________ self = def test_04_check_interface_och(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-761:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:174: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 _______________ TransportPCEtesting.test_05_check_interface_OTU ________________ self = def test_05_check_interface_OTU(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:190: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU _______________ TransportPCEtesting.test_06_check_interface_och ________________ self = def test_06_check_interface_och(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-761:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:213: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 _______________ TransportPCEtesting.test_07_check_interface_OTU ________________ self = def test_07_check_interface_OTU(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:229: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU _______________ TransportPCEtesting.test_08_service_create_ODU4 ________________ self = def test_08_service_create_ODU4(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-OTU4-ODU4', 'connection-type': 'infrastructure', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'ODU', 'odu-service-rate': 'org-openroadm-otn-common-types:ODU4', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'ODU', 'odu-service-rate': 'org-openroadm-otn-common-types:ODU4', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 100, 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } } ] }, 'zToA-direction': { 'rate': '100', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } } ] } } }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:344: AssertionError _______________ TransportPCEtesting.test_09_check_interface_ODU4 _______________ self = def test_09_check_interface_ODU4(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:352: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _______________ TransportPCEtesting.test_10_check_interface_ODU4 _______________ self = def test_10_check_interface_ODU4(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:379: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _______________ TransportPCEtesting.test_11_service_create_10GE ________________ self = def test_11_service_create_10GE(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-10G', 'connection-type': 'service', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'Ethernet', 'service-rate': '10', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'Ethernet', 'service-rate': '10', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 10, 'min-trib-slot': '1.1', 'max-trib-slot': '1.8', 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } } ] }, 'zToA-direction': { 'rate': '10', 'min-trib-slot': '1.1', 'max-trib-slot': '1.8', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } } ] } } }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:501: AssertionError ___________ TransportPCEtesting.test_12_check_interface_10GE_CLIENT ____________ self = def test_12_check_interface_10GE_CLIENT(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-CLIENT1-ETHERNET10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:509: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G ___________ TransportPCEtesting.test_13_check_interface_ODU2E_CLIENT ___________ self = def test_13_check_interface_ODU2E_CLIENT(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "interface", "XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:523: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G ______________ TransportPCEtesting.test_14_check_ODU2E_connection ______________ self = def test_14_check_ODU2E_connection(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "odu-connection", "XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:548: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e __________ TransportPCEtesting.test_15_check_interface_ODU2E_NETWORK ___________ self = def test_15_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:564: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G __________ TransportPCEtesting.test_16_check_interface_ODU2E_NETWORK ___________ self = def test_16_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:595: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G ___________ TransportPCEtesting.test_17_check_interface_10GE_CLIENT ____________ self = def test_17_check_interface_10GE_CLIENT(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-CLIENT1-ETHERNET10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:624: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G ___________ TransportPCEtesting.test_18_check_interface_ODU2E_CLIENT ___________ self = def test_18_check_interface_ODU2E_CLIENT(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G ______________ TransportPCEtesting.test_19_check_ODU2E_connection ______________ self = def test_19_check_ODU2E_connection(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "odu-connection", "XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:662: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e __________ TransportPCEtesting.test_20_check_interface_ODU2E_NETWORK ___________ self = def test_20_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:678: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G _______________ TransportPCEtesting.test_21_disconnect_SPDR_SA1 ________________ self = def test_21_disconnect_SPDR_SA1(self): response = test_utils.unmount_device("SPDR-SA1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:712: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... _______________ TransportPCEtesting.test_22_disconnect_SPDR_SC1 ________________ self = def test_22_disconnect_SPDR_SC1(self): response = test_utils.unmount_device("SPDR-SC1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:716: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_01_connect_SPDR_SA1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_02_connect_SPDR_SC1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_03_service_create_OTU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_04_check_interface_och FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_05_check_interface_OTU FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_06_check_interface_och FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_07_check_interface_OTU FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_08_service_create_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_09_check_interface_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_10_check_interface_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_11_service_create_10GE FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_12_check_interface_10GE_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_13_check_interface_ODU2E_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_14_check_ODU2E_connection FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_15_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_16_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_17_check_interface_10GE_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_18_check_interface_ODU2E_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_19_check_ODU2E_connection FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_20_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_21_disconnect_SPDR_SA1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_22_disconnect_SPDR_SC1 22 failed in 793.90s (0:13:13) tests121: OK ✔ in 39 minutes 2.2 seconds tests221: exit 1 (1356.68 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 2.2.1 pid=38914 tests221: FAIL ✖ in 22 minutes 42.05 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh hybrid using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 151.28s (0:02:31) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 428.65s (0:07:08) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 259.14s (0:04:19) tests_hybrid: OK ✔ in 14 minutes 7.47 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-calcium/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-calcium/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-calcium/lighty> ./build.sh buildcontroller: OK (120.69=setup[19.56]+cmd[101.13] seconds) testsPCE: FAIL code 1 (223.65=setup[72.88]+cmd[150.77] seconds) sims: OK (10.71=setup[6.40]+cmd[4.31] seconds) build_karaf_tests121: OK (52.39=setup[6.50]+cmd[45.89] seconds) tests121: OK (2342.20=setup[6.86]+cmd[2335.34] seconds) build_karaf_tests221: OK (52.46=setup[6.37]+cmd[46.08] seconds) tests_tapi: FAIL code 1 (239.33=setup[8.96]+cmd[230.37] seconds) tests221: FAIL code 1 (1362.05=setup[5.37]+cmd[1356.68] seconds) build_karaf_tests71: OK (49.18=setup[13.44]+cmd[35.73] seconds) tests71: FAIL code 1 (1066.77=setup[6.32]+cmd[1060.45] seconds) build_karaf_tests_hybrid: OK (54.87=setup[9.03]+cmd[45.84] seconds) tests_hybrid: OK (847.47=setup[7.72]+cmd[839.76] seconds) buildlighty: OK (22.94=setup[5.57]+cmd[17.38] seconds) docs: OK (46.08=setup[43.98]+cmd[2.10] seconds) docs-linkcheck: OK (48.70=setup[44.31]+cmd[4.39] seconds) checkbashisms: OK (2.77=setup[1.81]+cmd[0.02,0.05,0.89] seconds) pre-commit: OK (57.75=setup[15.32]+cmd[0.00,0.00,34.14,8.28] seconds) pylint: OK (26.84=setup[6.59]+cmd[20.25] seconds) evaluation failed :( (3711.78 seconds)