Fix Huawei.VPR profile system patter_prompt

6 jobs for noc-939 in 1 minute and 51 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #43356
docker
flake8

00:00:33

passed #43360
docker
futurize

00:00:26

passed #43359
docker
pylint

00:00:34

failed #43358
docker allowed to fail
radon

00:00:24

failed #43357
docker allowed to fail
yapf

00:00:30

 
  Test
failed #43361
docker allowed to fail
test_noc

00:01:16

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20679
Coverage Missing : 16239
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 378 matching files
./var/report: found 2 matching files

Uploading artifacts to coordinator... ok
id=43361 responseStatus=201 Created token=4c1C9CAU
ERROR: Job failed: exit code 2
failed
yapf Lint
-            r"\s*(?P<key>.+?):\s+(?P<value>.+?)(?:\s\s|\n)", re.IGNORECASE)
- part_splitter = re.compile(
- r"\s*(?P<part_name>\S+?):\s*\n", re.IGNORECASE)
+ k_v_splitter = re.compile(r"\s*(?P<key>.+?):\s+(?P<value>.+?)(?:\s\s|\n)", re.IGNORECASE)
+ part_splitter = re.compile(r"\s*(?P<part_name>\S+?):\s*\n", re.IGNORECASE)

# r = {}
is_table = False # Table block, start after -----
ERROR: Job failed: exit code 1
failed
radon Lint
++ 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'
++ '[' '!' -z sa/profiles/Huawei/VRP/__init__.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Huawei/VRP/__init__.py
ERROR:xenon:block "sa/profiles/Huawei/VRP/__init__.py:314 parse_ifaces" has a rank of C
ERROR:xenon:block "sa/profiles/Huawei/VRP/__init__.py:253 parse_table" has a rank of C
ERROR:xenon:block "sa/profiles/Huawei/VRP/__init__.py:390 parse_block" has a rank of C
ERROR: Job failed: exit code 1