SuccessConsole Output

[POL-stage_2_v10.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
✔ OK black in 7.822 seconds
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: /opt/jenkins/workspace/POL-stage_2_v10.0
flake8 installed: flake8==4.0.1,mccabe==0.6.1,-e git+https://osm.etsi.org/gerrit/osm/POL.git@472844a0cacb9e3b49929393133e358267f2974b#egg=osm_policy_module,pycodestyle==2.8.0,pyflakes==2.4.0
flake8 run-test-pre: PYTHONHASHSEED='2639421309'
flake8 run-test: commands[0] | flake8 osm_policy_module/ setup.py
osm_policy_module/alarming/service.py:79:41: W503 line break before binary operator
                                        == alarm_descriptor["alarm-id"],
                                        ^
osm_policy_module/alarming/service.py:81:41: W503 line break before binary operator
                                        == vnfr["member-vnf-index-ref"],
                                        ^
osm_policy_module/alarming/service.py:96:41: W503 line break before binary operator
                                        == alarm_descriptor["vnf-monitoring-param-ref"],
                                        ^
osm_policy_module/alarming/service.py:131:41: W503 line break before binary operator
                                        and action_type in alarm_descriptor["actions"]
                                        ^
osm_policy_module/autoscaling/service.py:130:49: W503 line break before binary operator
                                                == scaling_criteria["name"],
                                                ^
osm_policy_module/autoscaling/service.py:132:49: W503 line break before binary operator
                                                == scaling_policy["name"],
                                                ^
osm_policy_module/autoscaling/service.py:163:53: W503 line break before binary operator
                                                    == scaling_aspect["name"]
                                                    ^
osm_policy_module/core/agent.py:102:13: W503 line break before binary operator
            or nslcmop["operationState"] == "PARTIALLY_COMPLETED"
            ^
osm_policy_module/core/agent.py:121:13: W503 line break before binary operator
            or nslcmop["operationState"] == "PARTIALLY_COMPLETED"
            ^
osm_policy_module/core/agent.py:140:13: W503 line break before binary operator
            or content["operationState"] == "PARTIALLY_COMPLETED"
            ^
ERROR: InvocationError for command /tmp/.tox/flake8/bin/flake8 osm_policy_module/ setup.py (exited with code 1)

=================================== log end ====================================
✖ FAIL flake8 in 15.332 seconds
✔ OK safety in 20.933 seconds
✔ OK cover in 47.634 seconds
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-0.log
================================== log start ===================================
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/opt/jenkins/workspace/POL-stage_2_v10.0/requirements.txt, -r/opt/jenkins/workspace/POL-stage_2_v10.0/requirements-dev.txt, -r/opt/jenkins/workspace/POL-stage_2_v10.0/requirements-test.txt, pylint
pylint develop-inst: /opt/jenkins/workspace/POL-stage_2_v10.0
pylint installed: aiokafka==0.7.2,astroid==2.11.5,cached-property==1.5.2,certifi==2021.10.8,charset-normalizer==2.0.10,click==8.0.3,coverage==6.2,dataclasses==0.6,dill==0.3.4,idna==3.3,isort==5.10.1,jsonschema==2.6.0,kafka-python==2.0.2,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,nose2==0.10.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@9940ad9753e8c2284674efc2c581f3bc2cc0c67a,-e git+https://osm.etsi.org/gerrit/osm/POL.git@472844a0cacb9e3b49929393133e358267f2974b#egg=osm_policy_module,peewee==3.8.2,peewee-migrate==1.1.6,platformdirs==2.5.2,pycrypto==2.6.1,pylint==2.13.9,pymongo==3.12.3,PyMySQL==0.9.3,PyYAML==5.4.1,requests==2.27.1,six==1.16.0,tomli==2.0.1,typing_extensions==4.2.0,urllib3==1.26.8,wrapt==1.14.1
pylint run-test-pre: PYTHONHASHSEED='2842915347'
pylint run-test: commands[0] | pylint -E osm_policy_module
************* Module osm_policy_module.alarming.service
osm_policy_module/alarming/service.py:169:29: E1133: Non-iterable value VnfAlarmRepository.list(VnfAlarm.nsr_id == nsr_id) is used in an iterating context (not-an-iterable)
osm_policy_module/alarming/service.py:199:29: E1133: Non-iterable value VnfAlarmRepository.list(VnfAlarm.nsr_id == nsr_id) is used in an iterating context (not-an-iterable)
osm_policy_module/alarming/service.py:242:31: E0701: Bad except clauses order (RequestException is an ancestor class of ConnectionError) (bad-except-order)
************* Module osm_policy_module.autoscaling.service
osm_policy_module/autoscaling/service.py:254:41: E1133: Non-iterable value ScalingGroupRepository.list(ScalingGroup.nsr_id == nsr_id) is used in an iterating context (not-an-iterable)
osm_policy_module/autoscaling/service.py:290:41: E1133: Non-iterable value ScalingGroupRepository.list(ScalingGroup.nsr_id == nsr_id) is used in an iterating context (not-an-iterable)
osm_policy_module/autoscaling/service.py:373:29: E1133: Non-iterable value alarms is used in an iterating context (not-an-iterable)
ERROR: InvocationError for command /tmp/.tox/pylint/bin/pylint -E osm_policy_module (exited with code 2)

=================================== log end ====================================
✖ FAIL pylint in 59.609 seconds
___________________________________ summary ____________________________________
  black: commands succeeded
  cover: commands succeeded
ERROR:   flake8: parallel child exit code 1
ERROR:   pylint: parallel child exit code 1