New issue
Advanced search Search tips

Issue 696095 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

is a -c (--count) option feasible for dut-status?

Project Member Reported by semenzato@chromium.org, Feb 25 2017

Issue description

I am automating collection of provisioning failures.  As part of the collection, I'd like to list a small number of jobs (say 5) following the failed job.  Right now I can specify a start time and a duration, but the number of jobs that are included is highly variable.

Or maybe I should just give it 12 hours and pipe through head -5.  It will work most times...

 

Comment 1 by aut...@google.com, Mar 1 2017

@semenzato - are you planning to make this change yourself? If not, I'll move it to fixit
#1: it depends.  If the answer to the question in the subject line is "yes", I'll be happy to make the change.

Maybe I'll ask separately.

Owner: semenzato@chromium.org
I will do this, if I find out that it's possible and practical.
I'm not super familiar with the code, but I still hazard to say that it's a practical change.

Under the covers dut-status is doing DB queries. Just adding an additional LIMIT to the query shouldn't be that hard.
Status: Assigned (was: Untriaged)
This bug is Untriaged and very old.  Because it has an owner, the status will be set to assigned to avoid closing a bug someone is using.  If this bug still needs triage, change it back to Untriaged.

Sign in to add a comment