juniper.junos metric Subscribers without caps

6 jobs for fix_juniper_metric2 in 3 minutes and 50 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Lint
passed #42835
docker
flake8

00:00:13

passed #42839
docker
futurize

00:00:47

passed #42838
docker
pylint

00:00:33

failed #42837
docker allowed to fail
radon

00:00:18

failed #42836
docker allowed to fail
yapf

00:00:24

 
  Test
failed #42840
docker allowed to fail
test_noc

00:03:02

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=42840 responseStatus=201 Created token=sbHhXasb
ERROR: Job failed: exit code 2
failed
yapf Lint
             metric = self.snmp.get("1.3.6.1.4.1.2636.3.64.1.1.1.2.0")
self.set_metric(
id=("Subscribers | Summary", None),
path=("0", "", ""),
value=int(metric),
- multi=True)
+ multi=True
+ )
ERROR: Job failed: exit code 1
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/Juniper/JUNOS/get_metrics.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Juniper/JUNOS/get_metrics.py
++ let x+=0
ERROR: Job failed: exit code 1