Bug #8721

[Crunch] crunch-job can miss the final log output of a job

Added by Joshua Randall over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Crunch
Target version:
Start date:
03/16/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

I have not completely confirmed this yet, but I think crunch-job has a bug in which it can miss the last chunk of output from a job if the job writes the output between the time readfrompipes() finishes reading that job and when reapchildren() checks to see if it has exited (and it has).

The fix should probably be to have reapchildren flush the output of the job and handle it in the same manner as readfrompipes (it would probably be good to split that functionality out to facilitate doing that - perhaps into `readfrompipe`).

History

#1 Updated by Joshua Randall over 4 years ago

  • Subject changed from crunch-job can miss the final output of a job to crunch-job can miss the final log output of a job

#2 Updated by Brett Smith over 4 years ago

  • Subject changed from crunch-job can miss the final log output of a job to [Crunch] crunch-job can miss the final log output of a job
  • Assigned To deleted (Joshua Randall)

#3 Updated by Brett Smith over 4 years ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF