Huawei.MA5600T move profile settings to profile.py

6 jobs for <span class="ref-name">patch-avs-huawei-ma5600T-move-profile</span> in 4 minutes and 18 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #42887
docker
flake8

00:00:21

passed #42891
docker
futurize

00:00:21

passed #42890
docker
pylint

00:00:21

failed #42889
docker allowed to fail
radon

00:00:18

failed #42888
docker allowed to fail
yapf

00:00:11

 
  Test
failed #42892
docker allowed to fail
test_noc

00:03:55

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20672
Coverage Missing : 16233
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 378 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=42892 responseStatus=201 Created token=_5yu6jcy
ERROR: Job failed: exit code 2
failed
radon Lint
sa/profiles/Huawei/MA5600T/profile.py' ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B 'sa/profiles/Huawei/MA5600T/__init__.py
sa/profiles/Huawei/MA5600T/get_cpe.py
sa/profiles/Huawei/MA5600T/profile.py'
$ x=0
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ let x+=0
ERROR: Job failed: exit code 1
failed
yapf Lint
             t = match.group("type")
- s[match.group("port")] = match.group("state").lower() in ["online", "activated", "registered"]
+ s[match.group("port")] = match.group("state").lower() in [
+ "online", "activated", "registered"
+ ]
return {"n": i, "t": t, "s": s}

def fill_ports(self, script):
ERROR: Job failed: exit code 1