Bug 1229938 - bkr job-list --tag <retention tag> does not work
Summary: bkr job-list --tag <retention tag> does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 21.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-10 01:04 UTC by Jun'ichi NOMURA
Modified: 2018-02-06 00:41 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-21 03:25:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Jun'ichi NOMURA 2015-06-10 01:04:07 UTC
Description of problem:
  bkr job-list --tag <retention tag> does not work

Version-Release number of selected component (if applicable):
  beaker-client-0.18.2-2.el6eng

How reproducible:
  Always

Steps to Reproduce:
  Use '--tag' option

Expected results:
  The result should show jobs with specified tags.

Actual results:
  The result shows all jobs.

Additional information:

  Here, J:7592, J:7591 and J:7530 have 'audit' tag.
  But '--tag' option does not limit the search.

    $ bkr job-list --mine --min-id 7500
    ["J:7592", "J:7591", "J:7530"]
    $ bkr job-list --mine --min-id 7500 --tag scratch
    ["J:7592", "J:7591", "J:7530"]
    $ bkr job-list --mine --min-id 7500 --tag audit
    ["J:7592", "J:7591", "J:7530"]

Comment 1 Tomoaki Nishimura 2015-06-10 15:34:15 UTC
This problem is reproduced on Beaker 20.1 with beaker-client-19.1-1.fc19.noarch.

  $ rpm -q beaker-client
  beaker-client-19.1-1.fc19.noarch
  $ bkr job-list --owner tonishim --min-id 970000 --tag 60days
  ["J:979319", "J:979317"]
  $ bkr job-list --owner tonishim --min-id 970000 --tag scratch
  ["J:979319", "J:979317"]

Comment 2 Dan Callaghan 2015-08-24 07:34:00 UTC
http://gerrit.beaker-project.org/4363

Comment 3 Dan Callaghan 2015-08-26 05:47:21 UTC
This bug fix is included in beaker-client-21.1-0.git.3.58733b1 which is currently available for testing here:

https://beaker-project.org/nightlies/release-21/

Comment 5 Dan Callaghan 2015-10-21 03:25:25 UTC
Beaker 21.1 has been released.


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