Bug 609202 - [RFE] new bkr command displaying task details
Summary: [RFE] new bkr command displaying task details
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On: 607937
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-29 16:15 UTC by Ales Zelinka
Modified: 2011-06-13 18:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-05 17:55:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Ales Zelinka 2010-06-29 16:15:22 UTC
Please provide a command line interface to task library allowing display of task metadata (= what can be seen on http://...//tasks/<taskid>, in test's Metadata or testinfo.desc).

it might work like this:
$ bkr task-details --task=/CoreOS/samba/Sanity/autofs-cifs
Owner:           Ales Zelinka <azelinka>
Name:            /CoreOS/samba/Sanity/autofs-cifs
TestVersion:     1.0
Path:            /mnt/tests/CoreOS/samba/Sanity/autofs-cifs
Description:     mounts a cifs filesystem using autofs
Type:            Sanity
TestTime:        15m
RunFor:          autofs cifs-utils samba samba-client
Requires:        autofs cifs-utils samba samba-client
Priority:        Normal
License:         GPLv2
Confidential:    no
Destructive:     no

Any machine-parsable format (xml) is fine.

We use test metadata quite heavily in BaseOS QE test tiers. Currently we have to download test rpm and extract the testinfo.desc. 

Other use case is integration of Beaker and TCMS: tcms-submit[1] now also uses testinfo.desc directly.

[1] https://wiki.test.redhat.com/BaseOs/Projects/tcms-submit

Comment 1 Marian Csontos 2010-06-30 05:23:26 UTC
Glad to see my RFE has an use-case...


Note You need to log in before you can comment on or make changes to this bug.