Bug 1229938

Summary: bkr job-list --tag <retention tag> does not work
Product: [Retired] Beaker Reporter: Jun'ichi NOMURA <junichi.nomura>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.18CC: aigao, dcallagh, dowang, ebaak, kueda, naoya.horiguchi, rjoost, tatsu-ab1, tnishimura, tonishim
Target Milestone: 21.1Keywords: NeedsTestCase, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-21 03:25:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.