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 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 checkbashisms: freeze> python -m pip freeze --all checkbashisms: pip==24.2,setuptools==74.1.2,wheel==0.44.0 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.88 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.16.0,identify==2.6.0,nodeenv==1.9.1,pip==24.2,platformdirs==4.3.2,pre-commit==3.8.0,PyYAML==6.0.2,setuptools==74.1.2,virtualenv==20.26.4,wheel==0.44.0 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 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. buildcontroller: freeze> python -m pip freeze --all [INFO] Initializing environment for https://github.com/perltidy/perltidy. buildcontroller: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 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] 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.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-190-generic", arch: "amd64", family: "unix" [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs: freeze> python -m pip freeze --all docs-linkcheck: freeze> python -m pip freeze --all docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==74.1.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.8.0,wheel==0.44.0 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==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.8,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==74.1.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.2,webcolors==24.8.0,wheel==0.44.0 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 trim trailing whitespace.................................................Passed docs: OK ✔ in 32.86 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' Tabs remover.............................................................Passed autopep8.................................................................Passed perltidy.................................................................Passed docs-linkcheck: OK ✔ in 34.54 seconds pre-commit: commands[3] /w/workspace/transportpce-tox-verify-calcium/tests> pre-commit run gitlint-ci --hook-stage manual [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... pylint: freeze> python -m pip freeze --all pylint: astroid==3.2.4,dill==0.3.8,isort==5.13.2,mccabe==0.7.0,pip==24.2,platformdirs==4.3.2,pylint==3.2.7,setuptools==74.1.2,tomlkit==0.13.2,wheel==0.44.0 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 43.65 seconds pylint: OK ✔ in 30.33 seconds buildcontroller: OK ✔ in 2 minutes 9.4 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 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 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: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all sims: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 sims: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./install_lightynode.sh build_karaf_tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh Using lighynode version 20.1.0.2 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory build_karaf_tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh sims: OK ✔ in 12.41 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh build_karaf_tests221: OK ✔ in 1 minute 2 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 build_karaf_tests121: OK ✔ in 1 minute 5.94 seconds 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_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./build_karaf_for_tests.sh tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py build_karaf_tests71: OK ✔ in 1 minute 7.08 seconds testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,click==8.1.7,contourpy==1.3.0,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.53.1,gnpy4tpce==2.4.7,idna==3.8,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==2.1.5,matplotlib==3.9.2,netconf-client==3.1.1,networkx==2.8.8,numpy==1.26.4,packaging==24.1,pandas==1.5.3,paramiko==3.4.1,pbr==5.11.1,pillow==10.4.0,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.1.4,pytest==8.3.2,python-dateutil==2.9.0.post0,pytz==2024.1,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.2,Werkzeug==2.0.3,wheel==0.44.0,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 116.05s (0:01:56) pytest -q transportpce_tests/pce/test02_pce_400G.py .FF....F....... [100%] 9 passed in 41.09s pytest -q transportpce_tests/pce/test03_gnpy.py .F..F......... [100%] 8 passed in 37.77s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py .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.2.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 222.92s (0:03:42) build_karaf_tests_hybrid: OK ✔ in 1 minute 0.62 seconds tests_tapi: exit 1 (223.32 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh tapi pid=31578 tests_tapi: FAIL ✖ in 3 minutes 54.16 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 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%] 3 passed in 40.18s testsPCE: OK ✔ in 5 minutes 29.14 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ............ [100%] 12 passed in 229.25s (0:03:49) pytest -q transportpce_tests/7.1/test02_otn_renderer.py ............................................................................. [100%] 62 passed in 154.35s (0:02:34) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py .................................. [100%] 21 passed in 444.12s (0:07:24) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py .................... [100%] 48 passed in 133.56s (0:02:13) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ...................... [100%] 22 passed in 71.41s (0:01:11) tests71: OK ✔ in 9 minutes 55.44 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 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%] 6 passed in 220.80s (0:03:40) pytest -q transportpce_tests/1.2.1/test03_topology.py ... [100%] 35 passed in 254.18s (0:04:14) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 43.26s pytest -q transportpce_tests/2.2.1/test03_topology.py ........................................................ [100%] 44 passed in 136.50s (0:02:16) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 58.92s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ........................ [100%] 16 passed in 113.48s (0:01:53) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 36.08s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .................................. [100%] 26 passed in 89.87s (0:01:29) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ................ [100%] 44 passed in 669.21s (0:11:09) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ...................... [100%] 22 passed in 100.34s (0:01:40) pytest -q transportpce_tests/2.2.1/test09_olm.py ................................F........ [100%] 40 passed in 180.28s (0:03:00) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ............................FFFFFFFFF.F.F.F.F.F.F.F.F.F.F.F.F.............................F... [ 74%] ......................... [100%] 97 passed in 489.49s (0:08:09) pytest -q transportpce_tests/2.2.1/test12_end2end.py ..............F [100%] =================================== FAILURES =================================== ___________ TransportPCERendererTesting.test_01_rdm_device_connected ___________ self = def test_01_rdm_device_connected(self): response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:50: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator xpdra in OpenROADM device version 1.2.1... Searching for pattern 'Data tree change listeners registered' in xpdra-121.log... Pattern found! simulator for xpdra started starting simulator roadma in OpenROADM device version 1.2.1... Searching for pattern 'Data tree change listeners registered' in roadma-121.log... Pattern found! simulator for roadma started ----------------------------- Captured stdout call ----------------------------- execution of test_01_rdm_device_connected Searching for pattern 'Triggering notification stream NETCONF for node ROADMA01' in karaf.log... Pattern not found after 180 seconds! Node ROADMA01 still not added to tpce topology... __________ TransportPCERendererTesting.test_02_xpdr_device_connected ___________ self = def test_02_xpdr_device_connected(self): response = test_utils.mount_device("XPDRA01", ('xpdra', 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/1.2.1/test04_renderer_service_path_nominal.py:54: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_xpdr_device_connected Searching for pattern 'Triggering notification stream NETCONF for node XPDRA01' in karaf.log... Pattern not found after 180 seconds! Node XPDRA01 still not added to tpce topology... _____________ TransportPCERendererTesting.test_03_rdm_portmapping ______________ self = def test_03_rdm_portmapping(self): > response = test_utils.get_portmapping_node_attr("ROADMA01", None, None) transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'ROADMA01', attr = 'nodes', value = None def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 'draft-bierman02': '{}/config/transportpce-portmapping:network/nodes/{}'} target_url = url[RESTCONF_VERSION].format('{}', node) if attr is not None: target_url = (target_url + '/{}').format('{}', attr) if value is not None: suffix = {'rfc8040': '={}', 'draft-bierman02': '/{}'} target_url = (target_url + suffix[RESTCONF_VERSION]).format('{}', value) else: attr = 'nodes' response = get_request(target_url) res = response.json() return_key = {'rfc8040': 'transportpce-portmapping:' + attr, 'draft-bierman02': attr} if return_key[RESTCONF_VERSION] in res.keys(): return_output = res[return_key[RESTCONF_VERSION]] else: > return_output = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:477: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_03_rdm_portmapping _____________ TransportPCERendererTesting.test_04_xpdr_portmapping _____________ self = def test_04_xpdr_portmapping(self): > response = test_utils.get_portmapping_node_attr("XPDRA01", None, None) transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDRA01', attr = 'nodes', 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_04_xpdr_portmapping ___________ TransportPCERendererTesting.test_05_service_path_create ____________ self = def test_05_service_path_create(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_test', 'wave-number': '7', 'modulation-format': 'dp-qpsk', 'operation': 'create', 'nodes': [{'node-id': 'ROADMA01', 'src-tp': 'SRG1-PP7-TXRX', 'dest-tp': 'DEG1-TTP-TXRX'}, {'node-id': 'XPDRA01', 'src-tp': 'XPDR1-CLIENT1', 'dest-tp': 'XPDR1-NETWORK1'}], 'center-freq': 195.8, 'nmc-width': 40, 'min-freq': 195.775, 'max-freq': 195.825, 'lower-spectral-slot-number': 713, 'higher-spectral-slot-number': 720 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:106: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_service_path_create ______ TransportPCERendererTesting.test_06_service_path_create_rdm_check _______ self = def test_06_service_path_create_rdm_check(self): response = test_utils.check_node_attribute_request("ROADMA01", "interface", "DEG1-TTP-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:111: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_service_path_create_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=DEG1-TTP-TXRX-713:720 ______ TransportPCERendererTesting.test_07_service_path_create_rdm_check _______ self = def test_07_service_path_create_rdm_check(self): response = test_utils.check_node_attribute_request("ROADMA01", "interface", "SRG1-PP7-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:127: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_service_path_create_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=SRG1-PP7-TXRX-713:720 ______ TransportPCERendererTesting.test_08_service_path_create_rdm_check _______ self = def test_08_service_path_create_rdm_check(self): response = test_utils.check_node_attribute_request( "ROADMA01", "roadm-connections", "SRG1-PP7-TXRX-DEG1-TTP-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:144: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_service_path_create_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/roadm-connections=SRG1-PP7-TXRX-DEG1-TTP-TXRX-713:720 ______ TransportPCERendererTesting.test_09_service_path_create_xpdr_check ______ self = def test_09_service_path_create_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-713:720") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:157: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_service_path_create_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-713:720 ______ TransportPCERendererTesting.test_10_service_path_create_xpdr_check ______ self = def test_10_service_path_create_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:175: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_service_path_create_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU ______ TransportPCERendererTesting.test_11_service_path_create_xpdr_check ______ self = def test_11_service_path_create_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-ODU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:192: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_service_path_create_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU ______ TransportPCERendererTesting.test_12_service_path_create_xpdr_check ______ self = def test_12_service_path_create_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-CLIENT1-ETHERNET") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:215: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_service_path_create_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET ______ TransportPCERendererTesting.test_13_service_path_create_xpdr_check ______ self = def test_13_service_path_create_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "circuit-packs", "1%2F0%2F1-PLUG-NET") # FIXME: https://jira.opendaylight.org/browse/TRNSPRTPCE-591 > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:236: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_service_path_create_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/circuit-packs=1%2F0%2F1-PLUG-NET ___________ TransportPCERendererTesting.test_14_service_path_delete ____________ self = def test_14_service_path_delete(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'service-name': 'service_test', 'wave-number': '7', 'modulation-format': 'dp-qpsk', 'operation': 'delete', 'nodes': [{'node-id': 'ROADMA01', 'src-tp': 'SRG1-PP7-TXRX', 'dest-tp': 'DEG1-TTP-TXRX'}, {'node-id': 'XPDRA01', 'src-tp': 'XPDR1-CLIENT1', 'dest-tp': 'XPDR1-NETWORK1'}], 'center-freq': 195.8, 'nmc-width': 40, 'min-freq': 195.775, 'max-freq': 195.825, 'lower-spectral-slot-number': 713, 'higher-spectral-slot-number': 720 }) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:256: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_service_path_delete ______ TransportPCERendererTesting.test_15_service_path_delete_rdm_check _______ self = def test_15_service_path_delete_rdm_check(self): response = test_utils.check_node_attribute_request("ROADMA01", "interface", "DEG1-TTP-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:261: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_service_path_delete_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=DEG1-TTP-TXRX-713:720 ______ TransportPCERendererTesting.test_16_service_path_delete_rdm_check _______ self = def test_16_service_path_delete_rdm_check(self): response = test_utils.check_node_attribute_request("ROADMA01", "interface", "SRG1-PP7-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:265: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_service_path_delete_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=SRG1-PP7-TXRX-713:720 ______ TransportPCERendererTesting.test_17_service_path_delete_rdm_check _______ self = def test_17_service_path_delete_rdm_check(self): response = test_utils.check_node_attribute_request( "ROADMA01", "roadm-connections", "SRG1-PP7-TXRX-DEG1-TTP-TXRX-713:720") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:270: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_17_service_path_delete_rdm_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/roadm-connections=SRG1-PP7-TXRX-DEG1-TTP-TXRX-713:720 ______ TransportPCERendererTesting.test_18_service_path_delete_xpdr_check ______ self = def test_18_service_path_delete_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-713:720") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:274: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_service_path_delete_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-713:720 ______ TransportPCERendererTesting.test_19_service_path_delete_xpdr_check ______ self = def test_19_service_path_delete_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:278: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_service_path_delete_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU ______ TransportPCERendererTesting.test_20_service_path_delete_xpdr_check ______ self = def test_20_service_path_delete_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-NETWORK1-ODU") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:282: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_service_path_delete_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU ______ TransportPCERendererTesting.test_21_service_path_delete_xpdr_check ______ self = def test_21_service_path_delete_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-CLIENT1-ETHERNET") > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:286: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_21_service_path_delete_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET ______ TransportPCERendererTesting.test_22_service_path_delete_xpdr_check ______ self = def test_22_service_path_delete_xpdr_check(self): response = test_utils.check_node_attribute_request("XPDRA01", "circuit-packs", "1%2F0%2F1-PLUG-NET") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:290: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_22_service_path_delete_xpdr_check Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01/yang-ext:mount/org-openroadm-device:org-openroadm-device/circuit-packs=1%2F0%2F1-PLUG-NET _________ TransportPCERendererTesting.test_23_rdm_device_disconnected __________ self = def test_23_rdm_device_disconnected(self): response = test_utils.unmount_device("ROADMA01") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:295: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_rdm_device_disconnected Searching for pattern 'onDeviceDisConnected:\ ROADMA01' in karaf.log... Pattern not found after 180 seconds! Node ROADMA01 still not deleted from tpce topology... _________ TransportPCERendererTesting.test_24_xpdr_device_disconnected _________ self = def test_24_xpdr_device_disconnected(self): response = test_utils.unmount_device("XPDRA01") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py:299: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_24_xpdr_device_disconnected Searching for pattern 'onDeviceDisConnected:\ XPDRA01' in karaf.log... Pattern not found after 180 seconds! Node XPDRA01 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_01_rdm_device_connected FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_02_xpdr_device_connected FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_03_rdm_portmapping FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_04_xpdr_portmapping FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_05_service_path_create FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_06_service_path_create_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_07_service_path_create_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_08_service_path_create_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_09_service_path_create_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_10_service_path_create_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_11_service_path_create_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_12_service_path_create_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_13_service_path_create_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_14_service_path_delete FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_15_service_path_delete_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_16_service_path_delete_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_17_service_path_delete_rdm_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_18_service_path_delete_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_19_service_path_delete_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_20_service_path_delete_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_21_service_path_delete_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_22_service_path_delete_xpdr_check FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_23_rdm_device_disconnected FAILED transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py::TransportPCERendererTesting::test_24_xpdr_device_disconnected 24 failed in 799.02s (0:13:19) tests121: exit 1 (2134.04 seconds) /w/workspace/transportpce-tox-verify-calcium/tests> ./launch_tests.sh 1.2.1 pid=35954 ........................................ [100%] 54 passed in 445.71s (0:07:25) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 670.37s (0:11:10) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 599.51s (0:09:59) tests121: FAIL ✖ in 35 minutes 40.53 seconds tests221: OK ✔ in 53 minutes 47.38 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 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 150.76s (0:02:30) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 432.02s (0:07:12) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 259.58s (0:04:19) tests_hybrid: OK ✔ in 14 minutes 9.39 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.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.3.2,cryptography==43.0.1,dict2xml==1.7.6,idna==3.8,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,paramiko==3.4.1,pip==24.2,pluggy==1.5.0,psutil==6.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.2,requests==2.32.3,setuptools==74.1.2,urllib3==2.2.2,wheel==0.44.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-calcium/lighty> ./build.sh buildcontroller: OK (129.40=setup[8.69]+cmd[120.71] seconds) testsPCE: OK (329.14=setup[92.84]+cmd[236.30] seconds) sims: OK (12.41=setup[9.88]+cmd[2.53] seconds) build_karaf_tests121: OK (65.93=setup[10.12]+cmd[55.81] seconds) tests121: FAIL code 1 (2140.53=setup[6.49]+cmd[2134.04] seconds) build_karaf_tests221: OK (62.00=setup[9.88]+cmd[52.12] seconds) tests_tapi: FAIL code 1 (234.16=setup[10.84]+cmd[223.32] seconds) tests221: OK (3227.38=setup[6.40]+cmd[3220.98] seconds) build_karaf_tests71: OK (67.08=setup[10.76]+cmd[56.32] seconds) tests71: OK (595.44=setup[5.94]+cmd[589.50] seconds) build_karaf_tests_hybrid: OK (60.62=setup[12.39]+cmd[48.22] seconds) tests_hybrid: OK (849.39=setup[6.16]+cmd[843.23] seconds) buildlighty: OK (24.03=setup[6.04]+cmd[18.00] seconds) docs: OK (32.86=setup[30.79]+cmd[2.07] seconds) docs-linkcheck: OK (34.54=setup[30.84]+cmd[3.69] seconds) checkbashisms: OK (2.88=setup[2.03]+cmd[0.01,0.05,0.79] seconds) pre-commit: OK (43.65=setup[3.28]+cmd[0.00,0.00,32.34,8.03] seconds) pylint: OK (30.32=setup[7.31]+cmd[23.02] seconds) evaluation failed :( (5125.81 seconds)