From 211f0e05437806cefed2bce918a569a32984b42c Mon Sep 17 00:00:00 2001 From: SungHun Hwang Date: Tue, 28 Feb 2017 15:21:34 +0900 Subject: [PATCH] [BuildMonitor] fix 'BUILD-MONITOR(Post_Image)' job fail issue after 'SR Accept' 1. After 'SR Accept', occasionally, 'BUILD-MONITOR' job which bm_stage is 'Post_Image' failed this is bcz env file is overlapped and the order of inserting the table_id is twisted So I fixed the trigger_next code 2. fix typo Change-Id: I2714c58fd54fb46f3e0a891e8f330ea5a5f37c8e Signed-off-by: SungHun Hwang --- job_create_snapshot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job_create_snapshot.py b/job_create_snapshot.py index 4e9c788..7c9d1a0 100755 --- a/job_create_snapshot.py +++ b/job_create_snapshot.py @@ -248,7 +248,7 @@ def make_repo(project, backenddb, base_path, live_repo_base): } #print '[%s] for rest pkgs!! BM_PKG_LIMIT(%s), bm_pkg_count(%s), bm_trg_count(%s)\n' \ # % (__file__, BM_PKG_LIMIT, bm_pkg_count, bm_trg_count) - trigger_next("BUILD-MONITOR-3-%s-%s-%s-trb_%s" % (bm_stage, bm_repo, bm_arch, bm_trg_count), bm_data) + trigger_next("BUILD-MONITOR-3-%s-%s-%s-trg_%s" % (bm_stage, bm_repo, bm_arch, bm_trg_count), bm_data) # Generate image info to builddata/ dir repomaker.gen_image_info() @@ -383,7 +383,7 @@ def main(): "bm_start_datetime" : str(bm_start_datetime), "project" : project, } - trigger_next("BUILD-MONITOR-POST", bm_data) + trigger_next("BUILD-MONITOR_Post_Image", bm_data) if __name__ == '__main__': try: -- 2.7.4