Fix Eltex.MES5448.get_version script

6 jobs for eltex_mes5448_version in 1 minute and 47 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #40156
docker
flake8

00:00:22

passed #40160
docker
futurize

00:00:23

passed #40159
docker
pylint

00:00:25

failed #40158
docker allowed to fail
radon

00:00:21

failed #40157
docker allowed to fail
yapf

00:00:11

 
  Test
failed #40161
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=40161 responseStatus=201 Created token=YxTh7Yjm
ERROR: Job failed: exit code 2
failed
radon Lint
++ FLIST=sa/profiles/Eltex/MES5448/get_version.py
++ 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'
++ '[' '!' -z sa/profiles/Eltex/MES5448/get_version.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Eltex/MES5448/get_version.py
++ let x+=0
ERROR: Job failed: exit code 1
failed
yapf Lint
         r"^Burned In MAC Address\.+ (?P<mac>\S+)\s*\n"
r"(^Boot version\.+ (?P<bootprom>\S+)\s*\n)?"
- r"^Software Version\.+ (?P<version>\S+)\s*\n",
- re.MULTILINE
+ r"^Software Version\.+ (?P<version>\S+)\s*\n", re.MULTILINE
)

def execute_cli(self):
ERROR: Job failed: exit code 1