Fix

6 jobs from noc/periodic_alarm in 1 minute and 31 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Lint
passed #41961
docker
flake8

00:00:18

passed #41965
docker
futurize

00:00:19

passed #41964
docker
pylint

00:00:19

failed #41963
docker allowed to fail
radon

00:00:14

failed #41962
docker allowed to fail
yapf

00:00:20

 
  Test
failed #41966
docker allowed to fail
test_noc

00:01:10

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20659
Coverage Missing : 16228
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 378 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=41966 responseStatus=201 Created token=pX1Nexrv
ERROR: Job failed: exit code 2
failed
yapf Lint
+        return (
+ super(PeriodicDiscoveryJob, self).can_run() and
+ self.object.object_profile.enable_periodic_discovery and
+ self.object.object_profile.periodic_discovery_interval
+ )

def get_interval(self):
if self.object:
ERROR: Job failed: exit code 1
failed
radon Lint
sa/migrations/0194_managedobjectprofile_periodic_aparms.py
sa/models/managedobjectprofile.py
services/discovery/jobs/box/job.py
services/discovery/jobs/periodic/alarms.py
services/discovery/jobs/periodic/job.py'
$ x=0
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ let x+=0
ERROR: Job failed: exit code 1