checkbashisms: freeze> python -m pip freeze --all 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-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' CentOS Stream 8 - AppStream 39 MB/s | 27 MB 00:00 buildcontroller: freeze> python -m pip freeze --all buildcontroller: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 11 11 install java 17 Waiting for process with pid 6901 to finish. CentOS Stream 8 - BaseOS 3.0 MB/s | 10 MB 00:03 CentOS Stream 8 - Extras 90 kB/s | 18 kB 00:00 CentOS Stream 8 - Extras common packages 24 kB/s | 6.9 kB 00:00 CentOS Stream 8 - PowerTools 11 MB/s | 4.8 MB 00:00 Docker CE Stable - x86_64 686 kB/s | 57 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 16 MB/s | 16 MB 00:00 Node.js Packages for Enterprise Linux 8 - x86_6 2.6 MB/s | 710 kB 00:00 Puppet Repository el 8 - x86_64 32 MB/s | 19 MB 00:00 Last metadata expiration check: 0:00:05 ago on Fri 09 Feb 2024 04:37:02 PM UTC. docs-linkcheck: freeze> python -m pip freeze --all docs: freeze> python -m pip freeze --all docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,certifi==2024.2.2,charset-normalizer==3.3.2,contourpy==1.2.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.48.1,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.8.2,numpy==1.26.4,nwdiag==3.0.0,packaging==23.2,pillow==10.2.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.0,webcolors==1.13,wheel==0.42.0 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,certifi==2024.2.2,charset-normalizer==3.3.2,contourpy==1.2.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.48.1,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.8.2,numpy==1.26.4,nwdiag==3.0.0,packaging==23.2,pillow==10.2.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.4,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.0,webcolors==1.13,wheel==0.42.0 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html No match for argument: devscripts-checkbashisms Package java-17-openjdk-1:17.0.6.0.9-0.3.ea.el8.x86_64 is already installed. Package java-17-openjdk-devel-1:17.0.6.0.9-0.3.ea.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:08 ago on Fri 09 Feb 2024 04:37:02 PM UTC. docs: OK ✔ in 32.42 seconds pre-commit: install_deps> python -I -m pip install pre-commit No match for argument: devscripts-minimal docs-linkcheck: OK ✔ in 33.8 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' Last metadata expiration check: 0:00:11 ago on Fri 09 Feb 2024 04:37:02 PM UTC. No match for argument: devscripts pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.13.1,identify==2.5.33,nodeenv==1.8.0,pip==23.3.1,platformdirs==4.2.0,pre-commit==3.6.0,PyYAML==6.0.1,setuptools==69.0.2,virtualenv==20.25.0,wheel==0.42.0 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure Last metadata expiration check: 0:00:14 ago on Fri 09 Feb 2024 04:37:02 PM UTC. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. pylint: freeze> python -m pip freeze --all [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. pylint: astroid==3.0.3,dill==0.3.8,isort==5.13.2,mccabe==0.7.0,pip==23.3.1,platformdirs==4.2.0,pylint==3.0.3,setuptools==69.0.2,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,wheel==0.42.0 pylint: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. devscripts-checkbashisms-2.19.6-2.fc31.x86_64.r 221 kB/s | 29 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: devscripts-checkbashisms x86_64 2.19.6-2.fc31 @commandline 29 k Transaction Summary ================================================================================ Install 1 Package Total size: 29 k Installed size: 52 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. Installing : devscripts-checkbashisms-2.19.6-2.fc31.x86_64 1/1 Running scriptlet: devscripts-checkbashisms-2.19.6-2.fc31.x86_64 1/1 Verifying : devscripts-checkbashisms-2.19.6-2.fc31.x86_64 1/1 Installed: devscripts-checkbashisms-2.19.6-2.fc31.x86_64 Complete! [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [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... checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + [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... ------------------------------------ Your code has been rated at 10.00/10 trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................Passed checkbashisms: OK ✔ in 43.04 seconds pylint: OK ✔ in 26.79 seconds pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual [INFO] Installing environment for https://github.com/jorisroovers/gitlint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... gitlint..................................................................Passed pre-commit: OK ✔ in 37.26 seconds buildcontroller: OK ✔ in 2 minutes 32.12 seconds testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests121: freeze> python -m pip freeze --all sims221: freeze> python -m pip freeze --all sims121: freeze> python -m pip freeze --all build_karaf_tests121: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims221: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 sims221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 2.2.1 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims121: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 sims121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 1.2.1 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory sims121: OK ✔ in 11.92 seconds build_karaf_tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims221: OK ✔ in 13.72 seconds sims71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims71: freeze> python -m pip freeze --all sims71: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 sims71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 7.1 build_karaf_tests221: freeze> python -m pip freeze --all Removing ./lightynode/lightynode-openroadm-device directory Installing lightynode device to ./lightynode/lightynode-openroadm-device directory build_karaf_tests221: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims71: OK ✔ in 13.01 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests121: OK ✔ in 55.61 seconds build_karaf_tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests221: OK ✔ in 55.19 seconds tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,click==8.1.7,contourpy==1.2.0,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.4,exceptiongroup==1.2.0,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.48.1,gnpy4tpce==2.4.7,idna==3.6,iniconfig==2.0.0,injector==0.21.0,itsdangerous==2.1.2,Jinja2==3.1.3,kiwisolver==1.4.5,lxml==5.1.0,MarkupSafe==2.1.5,matplotlib==3.8.2,netconf-client==3.0.0,networkx==2.8.8,numpy==1.26.4,packaging==23.2,pandas==1.5.3,paramiko==3.4.0,pbr==5.11.1,pillow==10.2.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pyparsing==3.1.1,pytest==8.0.0,python-dateutil==2.8.2,pytz==2024.1,requests==2.31.0,scipy==1.12.0,setuptools==50.3.2,six==1.16.0,tomli==2.0.1,urllib3==2.2.0,Werkzeug==2.0.3,wheel==0.42.0,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py FFFFFF...FF...FFFF.F [100%] =================================== FAILURES =================================== ________________ TransportPCEtesting.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: 401 not found in (201, 204) transportpce_tests/pce/test01_pce.py:112: 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 ! _____________ TransportPCEtesting.test_02_load_simple_topology_bi ______________ self = def test_02_load_simple_topology_bi(self): response = test_utils.put_ietf_network('openroadm-topology', self.simple_topo_bi_dir_data) > self.assertIn(response['status_code'], (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/pce/test01_pce.py:118: AssertionError ____________________ TransportPCEtesting.test_03_get_nodeId ____________________ self = def test_03_get_nodeId(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADMA01-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/pce/test01_pce.py:124: AssertionError ____________________ TransportPCEtesting.test_04_get_linkId ____________________ self = def test_04_get_linkId(self): > response = test_utils.get_ietf_network_link_request( 'openroadm-topology', 'XPDRA01-XPDR1-XPDR1-NETWORK1toROADMA01-SRG1-SRG1-PP1-TXRX', 'config') transportpce_tests/pce/test01_pce.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ network = 'openroadm-topology' link = 'XPDRA01-XPDR1-XPDR1-NETWORK1toROADMA01-SRG1-SRG1-PP1-TXRX' content = 'config' def get_ietf_network_link_request(network: str, link: str, content: str): url = {'rfc8040': '{}/data/ietf-network:networks/network={}/ietf-network-topology:link={}?content={}', 'draft-bierman02': '{}/{}/ietf-network:networks/network/{}/ietf-network-topology:link/{}'} if RESTCONF_VERSION in ('rfc8040'): format_args = ('{}', network, link, content) elif content == 'config': format_args = ('{}', content, network, link) else: format_args = ('{}', 'operational', network, link) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'ietf-network-topology:link', 'draft-bierman02': 'ietf-network-topology:link'} > link = res[return_key[RESTCONF_VERSION]][0] E KeyError: 'ietf-network-topology:link' transportpce_tests/common/test_utils.py:528: KeyError _____________ TransportPCEtesting.test_05_path_computation_xpdr_bi _____________ self = def test_05_path_computation_xpdr_bi(self): > response = test_utils.transportpce_api_rpc_request('transportpce-pce', 'path-computation-request', self.path_computation_input_data) transportpce_tests/pce/test01_pce.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-pce', rpc = 'path-computation-request' payload = {'pce-routing-metric': 'hop-count', 'resource-reserve': 'true', 'service-a-end': {'clli': 'NodeA', 'node-id': 'XPDRA01', 'service-format': 'Ethernet', 'service-rate': '100'}, 'service-handler-header': {'request-id': 'request1'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-pce:output' transportpce_tests/common/test_utils.py:687: KeyError _____________ TransportPCEtesting.test_06_path_computation_rdm_bi ______________ self = def test_06_path_computation_rdm_bi(self): self.path_computation_input_data["service-a-end"]["node-id"] = "ROADMA01" self.path_computation_input_data["service-z-end"]["node-id"] = "ROADMC01" 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: 204 != 200 transportpce_tests/pce/test01_pce.py:153: AssertionError ____________ TransportPCEtesting.test_10_path_computation_xpdr_uni _____________ self = def test_10_path_computation_xpdr_uni(self): self.path_computation_input_data["service-a-end"]["node-id"] = "XPONDER-1-2" self.path_computation_input_data["service-a-end"]["clli"] = "ORANGE1" self.path_computation_input_data["service-z-end"]["node-id"] = "XPONDER-3-2" self.path_computation_input_data["service-z-end"]["clli"] = "ORANGE3" 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: 204 != 200 transportpce_tests/pce/test01_pce.py:188: AssertionError _____________ TransportPCEtesting.test_11_path_computation_rdm_uni _____________ self = def test_11_path_computation_rdm_uni(self): self.path_computation_input_data["service-a-end"]["node-id"] = "OpenROADM-2-1" self.path_computation_input_data["service-a-end"]["clli"] = "cll21" self.path_computation_input_data["service-z-end"]["node-id"] = "OpenROADM-2-2" self.path_computation_input_data["service-z-end"]["clli"] = "ncli22" 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: 204 != 200 transportpce_tests/pce/test01_pce.py:202: AssertionError ____________ TransportPCEtesting.test_15_success1_path_computation _____________ self = def test_15_success1_path_computation(self): self.path_computation_input_data["service-name"] = "service 1" self.path_computation_input_data["service-a-end"] = {"service-format": "Ethernet", "service-rate": "100", "clli": "ORANGE2", "node-id": "XPONDER-2-2"} self.path_computation_input_data["service-z-end"] = {"service-format": "Ethernet", "service-rate": "100", "clli": "ORANGE1", "node-id": "XPONDER-1-2"} self.path_computation_input_data["hard-constraints"] = {"customer-code": ["Some customer-code"], "co-routing": { "service-identifier-list": [{ "service-identifier": "Some existing-service"}] }} self.path_computation_input_data["soft-constraints"] = {"customer-code": ["Some customer-code"], "co-routing": { "service-identifier-list": [{ "service-identifier": "Some existing-service"}] }} 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: 204 != 200 transportpce_tests/pce/test01_pce.py:265: AssertionError ____________ TransportPCEtesting.test_16_success2_path_computation _____________ self = def test_16_success2_path_computation(self): self.path_computation_input_data["service-a-end"]["node-id"] = "XPONDER-1-2" self.path_computation_input_data["service-a-end"]["clli"] = "ORANGE1" self.path_computation_input_data["service-z-end"]["node-id"] = "XPONDER-3-2" self.path_computation_input_data["service-z-end"]["clli"] = "ORANGE3" del self.path_computation_input_data["hard-constraints"] del self.path_computation_input_data["soft-constraints"] 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: 204 != 200 transportpce_tests/pce/test01_pce.py:282: AssertionError ____________ TransportPCEtesting.test_17_success3_path_computation _____________ self = def test_17_success3_path_computation(self): self.path_computation_input_data["hard-constraints"] = {"exclude": {"node-id": ["OpenROADM-2-1", "OpenROADM-2-2"]}} 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: 204 != 200 transportpce_tests/pce/test01_pce.py:298: AssertionError __ TransportPCEtesting.test_18_path_computation_before_oms_attribute_deletion __ self = def test_18_path_computation_before_oms_attribute_deletion(self): self.path_computation_input_data["service-a-end"]["node-id"] = "XPONDER-2-2" self.path_computation_input_data["service-a-end"]["clli"] = "ORANGE2" self.path_computation_input_data["service-z-end"]["node-id"] = "XPONDER-1-2" self.path_computation_input_data["service-z-end"]["clli"] = "ORANGE1" del self.path_computation_input_data["hard-constraints"] 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: 204 != 200 transportpce_tests/pce/test01_pce.py:317: AssertionError __ TransportPCEtesting.test_20_path_computation_after_oms_attribute_deletion ___ self = def test_20_path_computation_after_oms_attribute_deletion(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: 204 != 200 transportpce_tests/pce/test01_pce.py:344: AssertionError --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_01_load_port_mapping FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_02_load_simple_topology_bi FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_03_get_nodeId FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_04_get_linkId FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_05_path_computation_xpdr_bi FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_06_path_computation_rdm_bi FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_10_path_computation_xpdr_uni FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_11_path_computation_rdm_uni FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_15_success1_path_computation FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_16_success2_path_computation FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_17_success3_path_computation FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_18_path_computation_before_oms_attribute_deletion FAILED transportpce_tests/pce/test01_pce.py::TransportPCEtesting::test_20_path_computation_after_oms_attribute_deletion 13 failed, 7 passed in 97.20s (0:01:37) build_karaf_tests71: OK ✔ in 1 minute 10.62 seconds build_karaf_tests_hybrid: OK ✔ in 1 minute 25.76 seconds testsPCE: exit 1 (97.85 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=47193 testsPCE: FAIL ✖ in 2 minutes 51.64 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py .................................................. [100%] 50 passed in 232.63s (0:03:52) pytest -q transportpce_tests/tapi/test02_full_topology.py ..................................... [100%] 21 passed in 270.16s (0:04:30) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py .............. [100%] 30 passed in 269.68s (0:04:29) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ................ [100%] 6 passed in 220.94s (0:03:40) pytest -q transportpce_tests/1.2.1/test03_topology.py ............................................................ [100%] 70 passed in 269.51s (0:04:29) tests_tapi: OK ✔ in 13 minutes 2.76 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_honeynode.sh 7.1 Installing honeynode for 7.1 devices to ./honeynode/7.1/honeynode-simulator directory tests71: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ........................ [100%] 12 passed in 53.44s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] 62 passed in 174.26s (0:02:54) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ........................................................ [100%] 48 passed in 161.71s (0:02:41) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ............................................ [100%] 22 passed in 85.42s (0:01:25) tests71: OK ✔ in 8 minutes 3.75 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt .. [100%] 44 passed in 668.26s (0:11:08) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.1,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.2,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 92.78s (0:01:32) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.22s pytest -q transportpce_tests/2.2.1/test03_topology.py .................................................................. [100%] 44 passed in 133.07s (0:02:13) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py .. [100%] 24 passed in 277.99s (0:04:37) pytest -q transportpce_tests/1.2.1/test05_olm.py ....................... [100%] 12 passed in 70.75s (0:01:10) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ......................................... [100%] 16 passed in 117.54s (0:01:57) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py .... [100%] 40 passed in 195.62s (0:03:15) pytest -q transportpce_tests/1.2.1/test06_end2end.py ............................... [100%] 31 passed in 51.26s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py ..................................................... [100%] 26 passed in 104.03s (0:01:44) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py .................................. [100%] 22 passed in 100.64s (0:01:40) pytest -q transportpce_tests/2.2.1/test09_olm.py .................................................. [100%] 40 passed in 181.30s (0:03:01) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ............................ [100%] 54 passed in 556.67s (0:09:16) ................................................. [ 74%] ......................... [100%] 97 passed in 490.87s (0:08:10) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 443.53s (0:07:23) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 488.34s (0:08:08) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 596.19s (0:09:56) tests121: OK ✔ in 36 minutes 39.01 seconds tests221: OK ✔ in 48 minutes 44.71 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.2,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.3,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_honeynode.sh Installing honeynode for 1.2.1 devices to ./honeynode/1.2.1/honeynode-simulator directory Installing honeynode for 2.2.1 devices to ./honeynode/2.2.1/honeynode-simulator directory Removing ./honeynode/7.1/honeynode-simulator directory Installing honeynode for 7.1 devices to ./honeynode/7.1/honeynode-simulator directory tests_hybrid: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 185.92s (0:03:05) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 463.75s (0:07:43) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 303.27s (0:05:03) tests_hybrid: OK ✔ in 16 minutes 3.75 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.1.2,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,cryptography==42.0.2,dict2xml==1.7.4,exceptiongroup==1.2.0,idna==3.6,iniconfig==2.0.0,lxml==5.1.0,netconf-client==3.0.0,packaging==23.2,paramiko==3.4.0,pip==23.3.2,pluggy==1.4.0,psutil==5.9.8,pycparser==2.21,PyNaCl==1.5.0,pytest==8.0.0,requests==2.31.0,setuptools==69.0.3,tomli==2.0.1,urllib3==2.2.0,wheel==0.42.0 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh buildcontroller: OK (152.12=setup[9.29]+cmd[142.83] seconds) testsPCE: FAIL code 1 (171.64=setup[73.78]+cmd[97.85] seconds) sims121: OK (11.91=setup[8.24]+cmd[3.67] seconds) build_karaf_tests121: OK (55.61=setup[8.09]+cmd[47.52] seconds) tests121: OK (2199.01=setup[7.69]+cmd[2191.32] seconds) sims221: OK (13.69=setup[8.10]+cmd[5.59] seconds) build_karaf_tests221: OK (55.19=setup[12.02]+cmd[43.17] seconds) tests_tapi: OK (782.76=setup[10.12]+cmd[772.64] seconds) tests221: OK (2924.71=setup[7.03]+cmd[2917.68] seconds) sims71: OK (13.00=setup[9.81]+cmd[3.19] seconds) build_karaf_tests71: OK (70.62=setup[9.39]+cmd[61.23] seconds) tests71: OK (483.75=setup[6.86]+cmd[1.07,475.82] seconds) build_karaf_tests_hybrid: OK (85.76=setup[11.19]+cmd[74.58] seconds) tests_hybrid: OK (963.75=setup[6.74]+cmd[3.36,953.65] seconds) buildlighty: OK (27.28=setup[7.55]+cmd[19.73] seconds) docs: OK (32.42=setup[30.53]+cmd[1.89] seconds) docs-linkcheck: OK (33.80=setup[30.47]+cmd[3.33] seconds) checkbashisms: OK (43.03=setup[2.62]+cmd[39.33,1.07] seconds) pre-commit: OK (37.26=setup[4.99]+cmd[25.25,7.02] seconds) pylint: OK (26.79=setup[4.40]+cmd[22.40] seconds) evaluation failed :( (5401.66 seconds)