we use es-jobs to track bisect process job, for example: es-jobs group_id=z9.3117489 | grep job_stat
kvcount.job_state=failed: 1 kvcount.job_state=finished: 2 raw.id.[job_state=failed]: ["z9.3117506"] raw.id.[job_state=finished]: ["z9.3117490","z9.3117512"]
Signed-off-by: Cao Xueliang caoxl78320@163.com --- src/delimiter/utils.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/delimiter/utils.rb b/src/delimiter/utils.rb index c782ea2..5ecbeb5 100644 --- a/src/delimiter/utils.rb +++ b/src/delimiter/utils.rb @@ -136,12 +136,13 @@ module Utils job = JSON.parse job_yaml record_jobs(job['id'], job['upstream_commit'])
- job['suite'] = 'bisect' + job['suite'] = 'bisect-process' job['my_name'] = ENV['my_name'] job['my_email'] = ENV['my_email'] job['my_token'] = ENV['secrets_my_token'] job['bad_job_id'] = job_id job['testbox'] = job['tbox_group'] + job['group_id'] = "#{ENV['id']}"
job.delete('id') job.delete('queue')