Project

General

Profile

Actions

Bug #3381

closed

[Workbench] "jobs" view in Workbench shows failed job job but green progress bar

Added by Abram Connelly over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
1.0

Description

A job failed and the status in the "jobs" view in Workbench shows it as failed but the proress bar is fully green.

The relevant job is qr1hi-8i9sb-n1yv047kymyjtxs .

Screenshot is attached.

(TC) This is probably caused by Workbench's attempt to show {#done, #failed, #running, #todo} in the progress bar as {green,red,blue,empty} respectively: {150,2,0,0} is likely indistinguishable from {100,0,0,0} in a 100-pixel progress bar. Requirements (which we expect to address this case as well as similar situations like "1 task failed, 999 never attempted"):
  1. Do not show a progress bar at all for a job that is not running right now. Instead, each job should show exactly one status indicator: a progress bar if running, a label if queued/complete/failed. (Currently we display a progress bar and a label for each job, which makes it harder to distinguish states.)
  2. Do not try to express #failed/running in the progress bar. Only show #done. Use green ("success" class in bootstrap) if no tasks have failed yet, orange ("warning" class) if any failures have occurred.
    • Rationale: 0/1000 and 1/1000 are nearly equal if you're measuring doneness, but they're very different if you're measuring failures. Displaying a number of failures as a proportion of total work is not especially sensible.
  3. Near (beside or below) each progress bar, show "A tasks done, B failures, C todo, D running". (This is a better way to provide the additional detail that we previously tried to pack in to the progressbar.)

Incidentally, the dashboard mockups at Workbench UI images show pipelines as sets of tiny "progress or status" blobs. It isn't necessary to match the styling in the mockups -- just offering as a preview / reference point.


Files

failed_success_workbench.png (180 KB) failed_success_workbench.png Abram Connelly, 07/28/2014 10:09 AM
Job-progressbar-incorrect.tiff (190 KB) Job-progressbar-incorrect.tiff Percentage sum is 101% Radhika Chippada, 09/22/2014 02:16 PM

Subtasks 2 (0 open2 closed)

Task #4112: Update pipeline/job page display of job statusResolvedPeter Amstutz09/22/2014Actions
Task #3950: Review branch: 3381-job-progress-bar-bugResolvedPeter Amstutz09/22/2014Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Bug #4085: [Workbench] On pipeline instance page, queued jobs should have Cancel buttonsResolvedActions
Actions

Also available in: Atom PDF