Ignored this patch.
Thanks, Xueliang
On Thu, Dec 17, 2020 at 02:44:11PM +0800, Cao Xueliang wrote:
- Delete redundant bad job fields.
- Add to make /tmp/lkp/result dir.
Signed-off-by: Cao Xueliang caoxl78320@163.com
src/delimiter/utils.rb | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/delimiter/utils.rb b/src/delimiter/utils.rb index b60ada0..e87bbbe 100644 --- a/src/delimiter/utils.rb +++ b/src/delimiter/utils.rb @@ -108,8 +108,11 @@ module Utils
job.delete('error_ids') job.delete('start_time')
job.delete('job_state') job.delete('end_time') job.delete('loadavg')
job.delete('stats')
job.delete('id') return job
end
@@ -123,6 +126,7 @@ module Utils end
def create_bisect_log(git_dir)
FileUtils.mkdir_p TMP_RESULT_ROOT unless File.exist? TMP_RESULT_ROOT log_file = File.join(TMP_RESULT_ROOT, "bisect.log") log_content = parse_bisect_log(git_dir) File.open(log_file, 'w') do |f|
-- 2.23.0