Fix DLink.DxS.get_spanning_tree script.

6 jobs for fix-dluh-dlink-get-stp-script-213 in 1 minute and 4 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Lint
passed #37850
docker
flake8

00:00:13

passed #37854
docker
futurize

00:00:17

passed #37853
docker
pylint

00:00:21

failed #37852
docker allowed to fail
radon

00:00:15

failed #37851
docker allowed to fail
yapf

00:00:16

 
  Test
failed #37855
docker allowed to fail
test_noc

00:00:42

36.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 36%
Coverage Statements : 25758
Coverage Missing : 16407
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 462 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=37855 responseStatus=201 Created token=E6H9xPyh
ERROR: Job failed: exit code 2
failed
yapf Lint
-        c = self.cli(
- "show stp ports", obj_parser=self.parse_stp,
- cmd_next="n", cmd_stop="q"
- )
+ c = self.cli("show stp ports", obj_parser=self.parse_stp, cmd_next="n", cmd_stop="q")
self.cli("", ignore_errors=True) # Clear "nq" on DGS-3620
for i in self.instances:
stp["instances"][i]["interfaces"] = self.instances[i]
ERROR: Job failed: exit code 1
failed
radon Lint
++ echo '$ x=0'
++ x=0
++ echo '$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi'
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ '[' '!' -z sa/profiles/DLink/DxS/get_spanning_tree.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/DLink/DxS/get_spanning_tree.py
++ let x+=0
ERROR: Job failed: exit code 1