jjb: lava: Run fuzzing job daily regardless of code changes
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 21 Mar 2018 14:57:04 +0000 (10:57 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 21 Mar 2018 18:35:41 +0000 (14:35 -0400)
Since the kprobe fuzzing has in important random aspect, we can run it
daily to increase the instrumentation coverage.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
scripts/system-tests/system-trigger.groovy

index db5b1b571ce6b963431ff68d4b34427954055bf3..151e9d5ab6512e7de92e56775811bd0f878f5b8d 100644 (file)
@@ -396,9 +396,12 @@ def ongoingJobs = 0;
 
 currentJobs.each { jobName, jobInfo ->
   // If the job ran in the past, we check if the IDs changed since.
-  if (pastJobs.containsKey(jobName) && !jobName.contains('_canary')) {
+  // Fetch past results only if the job is not of type canary or fuzzing.
+  if (!jobName.contains('_canary') && !jobName.contains('_fuzzing') &&
+         pastJobs.containsKey(jobName)) {
     pastJob = pastJobs[jobName];
-    // Have the IDs changed?
+
+    // If the code has not changed report previous status.
     if (pastJob['config'] == jobInfo['config']) {
       // if the config has not changed, we keep it.
       // if it's failed, we don't launch a new job and keep it failed.
This page took 0.023628 seconds and 4 git commands to generate.