Add matchers to Alstec.24xx.get_metrics.

6 jobs for <span class="ref-name">patch-avs-alstec-add-controller-metric</span> in 1 minute and 46 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #43007
docker
flake8

00:00:32

passed #43011
docker
futurize

00:00:25

passed #43010
docker
pylint

00:00:31

failed #43009
docker allowed to fail
radon

00:00:20

failed #43008
docker allowed to fail
yapf

00:00:22

 
  Test
failed #43012
docker allowed to fail
test_noc

00:01:14

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=43012 responseStatus=201 Created token=_TA_MVHa
ERROR: Job failed: exit code 2
failed
yapf Lint
-                                    multi=True)
+ self.set_metric(
+ id=("Environment | Sensor Status", None),
+ metric="Environment | Sensor Status",
+ path=["", "", "", "State_Batteries"],
+ value=bool("On" in v),
+ multi=True
+ )
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/Alstec/24xx/__init__.py
sa/profiles/Alstec/24xx/get_metrics.py' ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B 'sa/profiles/Alstec/24xx/__init__.py
sa/profiles/Alstec/24xx/get_metrics.py'
++ let x+=0
ERROR: Job failed: exit code 1