Fix Raisecom.ROS.get_interfaces script

6 jobs for <span class="ref-name">Raisecom.ROS.interfaces</span> in 1 minute and 46 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Lint
passed #40144
docker
flake8

00:00:12

passed #40148
docker
futurize

00:00:20

passed #40147
docker
pylint

00:00:25

failed #40146
docker allowed to fail
radon

00:00:17

failed #40145
docker allowed to fail
yapf

00:00:19

 
  Test
failed #40149
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=40149 responseStatus=201 Created token=BujosxRt
ERROR: Job failed: exit code 2
failed
yapf Lint
+                        "mac": mac,
+ "vlan_ids": [int(match.group('vid'))],
+ "enabled_afi": ['IPv4']
+ }
+ ]
}
addr = match.group("ip")
mask = match.group("mask")
ERROR: Job failed: exit code 1
failed
radon Lint
++ '[' '!' -z sa/profiles/Raisecom/ROS/get_interfaces.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Raisecom/ROS/get_interfaces.py
ERROR:xenon:block "sa/profiles/Raisecom/ROS/get_interfaces.py:168 execute_cli" has a rank of E
ERROR:xenon:block "sa/profiles/Raisecom/ROS/get_interfaces.py:18 Script" has a rank of C
ERROR:xenon:block "sa/profiles/Raisecom/ROS/get_interfaces.py:93 execute_iscom2624g" has a rank of C
ERROR:xenon:average complexity is ranked C
ERROR:xenon:module 'sa/profiles/Raisecom/ROS/get_interfaces.py' has a rank of C
ERROR: Job failed: exit code 1