def show_job(service, service_config, host, job_name, instance_id):
  real_instance_id = get_real_instance_id(instance_id)
  host_id = get_host_id(service_config.jobs[job_name].hosts, host)
  task_id = get_task_id(service_config.jobs[job_name].hosts, host_id, instance_id)
  Log.print_info("Showing task %d of %s on %s(%d)" % (
    task_id, job_name, host, real_instance_id))
  supervisor_client = get_supervisor_client(host, service,
      service_config.cluster.name, job_name, instance_id)
  state = supervisor_client.show()
  if state == 'RUNNING':
    Log.print_success("Task %d of %s on %s(%d) is %s" % (
      task_id, job_name, host, real_instance_id, state))
  else:
    Log.print_error("Task %d of %s on %s(%d) is %s" % (
      task_id, job_name, host, real_instance_id, state))
Get the first build (by date created) containing a test case.
dataset/ETHPy150Open XiaoMi/minos/client/deploy_utils.py/show_job--crossover with--dataset/ETHPy150Open dropbox/changes/changes/api/build_flaky_tests.py/BuildFlakyTestsAPIView._get_first_build