Project

General

Profile

Actions

Feature #5846

closed

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

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

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
Story points:
2.0
Release:
Release relationship:
Auto

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

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

Also available in: Atom PDF