Console Output
[LCM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/flake8/log/flake8-0.log
================================== log start ===================================
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/LCM-stage_2-merge_v10.0
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@46a01a6a772125ee605e59c2ffa402edc6ef37c8#egg=osm_lcm,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='476653238'
flake8 run-test: commands[0] | flake8 osm_lcm/ setup.py
osm_lcm/ns.py:515:39: F541 f-string is missing placeholders
self.logger.debug(f"No vdur in the database. Using the vdur-template to scale")
^
osm_lcm/ns.py:524:21: E265 block comment should start with '# '
#Delete a template from the database after using it
^
osm_lcm/ns.py:526:33: E128 continuation line under-indented for visual indent
{"_id": db_vnfr["_id"]},
^
osm_lcm/ns.py:527:33: E126 continuation line over-indented for hanging indent
None,
^
osm_lcm/ns.py:529:29: E126 continuation line over-indented for hanging indent
)
^
osm_lcm/ns.py:563:35: F541 f-string is missing placeholders
self.logger.debug(f"Scaling to 0 !, creating the template with the last vdur")
^
ERROR: InvocationError for command /tmp/.tox/flake8/bin/flake8 osm_lcm/ setup.py (exited with code 1)
=================================== log end ====================================
✖ FAIL flake8 in 20.554 seconds
✔ OK black in 24.389 seconds
✔ OK safety in 36.65 seconds
✔ OK pylint in 1 minute, 39.871 seconds
✔ OK cover in 1 minute, 40.171 seconds
___________________________________ summary ____________________________________
black: commands succeeded
cover: commands succeeded
ERROR: flake8: parallel child exit code 1
pylint: commands succeeded