Home | History | Annotate | Download | only in model

Lines Matching full:incremental

112         """Merge incremental json into aggregated json results.
116 incremental_json: incremental json object.
139 """Merge incremental non tests property data into aggregated json results.
143 incremental_json: incremental json object.
154 # Loop through all incremental builds, start from the oldest run.
157 logging.debug("Merging build %s, incremental json index: %d.",
160 # Return if not all build numbers in the incremental json results
164 logging.warning(("Build %d in incremental json is older than "
175 logging.warning("Duplicate build %d in incremental json",
187 """Merge one build of incremental json into aggregated json results.
191 incremental_json: incremental json object.
192 incremental_index: index of the incremental json results to merge.
216 incremental_json: incremental json object.
243 """Inserts the incremental run-length encoded results into the aggregated
247 incremental_item: incremental run-length encoded results.
352 def merge(cls, builder, aggregated, incremental, num_runs, sort_keys=False):
353 """Merge incremental json file data with aggregated json file data.
358 incremental: incremental json file data.
366 if not incremental:
370 logging.info("Loading incremental json...")
371 incremental_json = cls._load_json(incremental)
375 logging.info("Checking incremental json...")
382 return incremental
386 return incremental
401 def update(cls, master, builder, test_type, incremental):
402 """Update datastore json file data by merging it with incremental json
410 incremental: incremental json file data to merge.
416 small_file_updated = cls.update_file(master, builder, test_type, incremental, JSON_RESULTS_FILE_SMALL, JSON_RESULTS_MAX_BUILDS_SMALL)
417 large_file_updated = cls.update_file(master, builder, test_type, incremental, JSON_RESULTS_FILE, JSON_RESULTS_MAX_BUILDS)
422 def update_file(cls, master, builder, test_type, incremental, filename, num_runs):
426 new_results = cls.merge(builder, file.data, incremental, num_runs)
428 # Use the incremental data if there is no aggregated file to merge.
434 new_results = incremental
435 logging.info("No existing json results, incremental json is saved.")