MikroTik.RouterOS: Match multi-line prompts

6 jobs from noc-routeros-multiline in 1 minute and 54 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #42713
docker
flake8

00:00:29

passed #42717
docker
futurize

00:00:31

passed #42716
docker
pylint

00:00:27

failed #42715
docker allowed to fail
radon

00:00:28

failed #42714
docker allowed to fail
yapf

00:00:21

 
  Test
failed #42718
docker allowed to fail
test_noc

00:01:22

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20674
Coverage Missing : 16237
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 378 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=42718 responseStatus=201 Created token=_sPwsqWM
ERROR: Job failed: exit code 2
failed
radon Lint
$ 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/MikroTik/RouterOS/__init__.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/MikroTik/RouterOS/__init__.py
ERROR:xenon:block "sa/profiles/MikroTik/RouterOS/__init__.py:66 parse_detail" has a rank of C
ERROR: Job failed: exit code 1
failed
yapf Lint
             r"^\s*(?P<line>\d+)\s+"
r"(?P<flags>[%s]+(?:\s+[%s]+)*\s+)?"
- r"(?P<rest>.+)$" % (f, f))
+ r"(?P<rest>.+)$" % (f, f)
+ )
r = []
for l in ns:
match = rx.match(l)
ERROR: Job failed: exit code 1