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 checkbashisms: freeze> python -m pip freeze --all docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt docs: install_deps> python -I -m pip install -r docs/requirements.txt checkbashisms: pip==25.0.1,setuptools==75.8.0,wheel==0.45.1 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + checkbashisms: OK ✔ in 3.66 seconds pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.17.0,identify==2.6.7,nodeenv==1.9.1,pip==25.0.1,platformdirs==4.3.6,pre_commit==4.1.0,PyYAML==6.0.2,setuptools==75.8.0,virtualenv==20.29.2,wheel==0.45.1 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. buildcontroller: freeze> python -m pip freeze --all [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. buildcontroller: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.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 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 21 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. 21 ok, java is 21 or newer [INFO] Initializing environment for https://github.com/perltidy/perltidy. Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.5, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-131-generic", arch: "amd64", family: "unix" [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... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs: freeze> python -m pip freeze --all docs-linkcheck: freeze> python -m pip freeze --all docs: alabaster==1.0.0,attrs==25.1.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.1.31,charset-normalizer==3.4.1,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.56.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.5,jsonschema==3.2.0,kiwisolver==1.4.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.0,numpy==2.2.3,nwdiag==3.0.0,packaging==24.2,pillow==11.1.0,pip==25.0.1,Pygments==2.19.1,pyparsing==3.2.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,roman-numerals-py==3.0.0,seqdiag==3.0.0,setuptools==75.8.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.2.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.3.0,webcolors==24.11.1,wheel==0.45.1 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html docs-linkcheck: alabaster==1.0.0,attrs==25.1.0,babel==2.17.0,blockdiag==3.0.0,certifi==2025.1.31,charset-normalizer==3.4.1,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.56.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.5,jsonschema==3.2.0,kiwisolver==1.4.8,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.10.0,numpy==2.2.3,nwdiag==3.0.0,packaging==24.2,pillow==11.1.0,pip==25.0.1,Pygments==2.19.1,pyparsing==3.2.1,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,roman-numerals-py==3.0.0,seqdiag==3.0.0,setuptools==75.8.0,six==1.17.0,snowballstemmer==2.2.0,Sphinx==8.2.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.3.0,webcolors==24.11.1,wheel==0.45.1 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: OK ✔ in 35.26 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Passed autopep8.................................................................docs-linkcheck: OK ✔ in 36.53 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.8,dill==0.3.9,isort==6.0.0,mccabe==0.7.0,pip==25.0.1,platformdirs==4.3.6,pylint==3.3.4,setuptools==75.8.0,tomlkit==0.13.2,wheel==0.45.1 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}$' '{}' + Failed - hook id: autopep8 - files were modified by this hook perltidy.................................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/tests/transportpce_tests/pce/test02_pce_400G.py b/tests/transportpce_tests/pce/test02_pce_400G.py index 43e47d3cf..7c78d0adb 100644 --- a/tests/transportpce_tests/pce/test02_pce_400G.py +++ b/tests/transportpce_tests/pce/test02_pce_400G.py @@ -397,6 +397,5 @@ class TransportPCE400Gtesting(unittest.TestCase): time.sleep(2) - if __name__ == "__main__": unittest.main(verbosity=2) pre-commit: exit 1 (37.99 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure pid=2508 ------------------------------------ Your code has been rated at 10.00/10 pre-commit: FAIL ✖ in 40.87 seconds pylint: OK ✔ in 30.65 seconds buildcontroller: OK ✔ in 1 minute 50.73 seconds build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_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 build_karaf_tests121: freeze> python -m pip freeze --all sims: freeze> python -m pip freeze --all sims: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh build_karaf_tests121: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh Using lighynode version 20.1.0.4 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory build_karaf_tests221: freeze> python -m pip freeze --all build_karaf_tests221: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh sims: OK ✔ in 10.12 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests221: OK ✔ in 1 minute 16.49 seconds build_karaf_tests121: OK ✔ in 1 minute 16.52 seconds build_karaf_tests190: 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: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: OK ✔ in 1 minute 11.54 seconds build_karaf_tests190: freeze> python -m pip freeze --all build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests190: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,cryptography==44.0.1,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.1,netconf-client==3.1.3,packaging==24.2,paramiko==3.5.1,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.8.0,urllib3==2.3.0,wheel==0.45.1 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.1,certifi==2025.1.31,cffi==1.17.1,charset-normalizer==3.4.1,click==8.1.8,contourpy==1.3.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.56.0,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.5,kiwisolver==1.4.8,lxml==5.3.1,MarkupSafe==3.0.2,matplotlib==3.10.0,netconf-client==3.1.3,networkx==2.8.8,numpy==1.26.4,packaging==24.2,pandas==1.5.3,paramiko==3.5.1,pbr==5.11.1,pillow==11.1.0,pip==25.0.1,pluggy==1.5.0,psutil==7.0.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.1,pytest==8.3.4,python-dateutil==2.9.0.post0,pytz==2025.1,requests==2.32.3,scipy==1.15.2,setuptools==50.3.2,six==1.17.0,urllib3==2.3.0,Werkzeug==2.0.3,wheel==0.45.1,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 testsPCE: exit 1 (29.39 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pid=4439 testsPCE: FAIL ✖ in 2 minutes 13.33 seconds build_karaf_tests190: exit -15 (44.47 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh pid=4213