Project

General

Profile

Actions

Feature #5846

open

[Workbench] [Fiddlesticks] Live job log should show recent history

Added by Peter Amstutz over 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
2.0

Description

Jobs can get in this state if the arv-put process that crunch-job ran to create the log fails. See, e.g., qr1hi-8i9sb-yuch10zftex4cip.

This happens because _show_log.html.erb has a couple of expressions like logcollection.files[0][2]. In this case, logcollection.files[0] is nil.

Functional requirements: Workbench should check when a job's log field is nil or the empty collection. In either of those cases, it should fetch logs from the log table and render those, along with a warning that the logs might be incomplete because of throttling.

Implementation: When you go to the live log tab on a pipeline, it gets the last 1000-2000 lines of history. However, the live log tab for an individual job does not show any history. The job log should behave similarly to the pipeline instance.


Related issues 1 (0 open1 closed)

Has duplicate Arvados - Bug #6993: [Workbench] Job log tab crashes when the job's log is the empty collectionDuplicate08/14/2015

Actions
Actions

Also available in: Atom PDF