Skip to content

Commit

Permalink
Add more batch logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmetzman committed Dec 12, 2023
1 parent e1a147c commit 051ec7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/clusterfuzz/_internal/bot/tasks/task_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,5 +327,5 @@ def schedule_tasks(tasks: List[Task]):
continue
_preprocess(task)
uworker_tasks.append(task)
logs.log('Starting utask_mains.')
logs.log(f'Starting utask_mains: {len(uworker_tasks)}.')
start_utask_mains(uworker_tasks)
1 change: 1 addition & 0 deletions src/clusterfuzz/_internal/google_cloud_utils/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def create_uworker_main_batch_jobs(batch_tasks):
spec = get_spec_from_config(batch_task.command, batch_task.job_type)
job_specs[spec].append(batch_task.input_download_url)

logs.log('Creating batch jobs', specs=job_specs)
return [
_create_job(spec, input_urls) for spec, input_urls in job_specs.items()
]
Expand Down

0 comments on commit 051ec7c

Please sign in to comment.