Fix Huawei.MA5300 get_interface_status_ex

6 jobs from fix/interface_status_ex(2) in 1 minute and 44 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Lint
passed #40688
docker
flake8

00:00:21

passed #40692
docker
futurize

00:00:22

passed #40691
docker
pylint

00:00:21

failed #40690
docker allowed to fail
radon

00:00:16

failed #40689
docker allowed to fail
yapf

00:00:22

 
  Test
failed #40693
docker allowed to fail
test_noc

00:01:21

36.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 36%
Coverage Statements : 26221
Coverage Missing : 16750
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 475 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=40693 responseStatus=201 Created token=Q3yiFj3J
ERROR: Job failed: exit code 2
failed
yapf Lint
             ostatus = i.get("oper_status")
if iface.oper_status != ostatus and ostatus is not None:
- self.logger.info("[%s] set oper status to %s",
- i["interface"], ostatus)
+ self.logger.info("[%s] set oper status to %s", i["interface"], ostatus)
iface.set_oper_status(ostatus)
if bulk:
self.logger.info("Commiting changes to database")
ERROR: Job failed: exit code 1
failed
radon Lint
sa/profiles/Qtech/BFC_PBIC_S/get_interface_status_ex.py
sa/profiles/Raisecom/RCIOS/get_interface_status_ex.py
sa/profiles/Rotek/RTBS/get_interface_status_ex.py
sa/profiles/Rotek/RTBSv1/get_interface_status_ex.py
sa/profiles/Zyxel/MSAN/__init__.py
sa/profiles/Zyxel/MSAN/get_interface_status_ex.py
services/discovery/jobs/periodic/interfacestatus.py'
++ let x+=0
ERROR: Job failed: exit code 1