Bug 929202

Summary: beaker-wizard: Package detection doesn't work
Product: [Retired] Beaker Reporter: Branislav Náter <bnater>
Component: command lineAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED CURRENTRELEASE QA Contact: Xin Zhang <xinzhang>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.11CC: asaha, dapospis, dcallagh, isenfeld, llim, qwan, rglasz, rmancy, szhou, todoleza, xinzhang
Target Milestone: 0.13Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: BeakerWizard
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-25 06:28:10 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:
Attachments:
Description Flags
Proposed patch none

Description Branislav Náter 2013-03-29 13:27:38 UTC
Description of problem:
Package detection doesn't work for my ksh test. "Package", "Run for package" and "Required package" are filled with "k" instead of "ksh".

Version-Release number of selected component (if applicable):
beaker-client-0.11.2-1.el6eng.noarch

Steps to Reproduce:
1. beaker-wizard -b 913110
2. accept all defaults to get to final review
  
Actual results:
/CoreOS/k/Regression/bz913110-ksh-for-loop-or-function-return-value

             Namespace : CoreOS
               Package : k
             Test type : Regression
         Relative path : None
<snip>
  Reproducers to fetch : None

      Run for packages : k
     Required packages : k
         Architectures : All
              Releases : All

Expected results:
/CoreOS/k/Regression/bz913110-ksh-for-loop-or-function-return-value

             Namespace : CoreOS
               Package : ksh
             Test type : Regression
         Relative path : None
<snip>
  Reproducers to fetch : None

      Run for packages : ksh
     Required packages : ksh
         Architectures : All
              Releases : All

Comment 1 Dalibor Pospíšil 2013-04-03 08:39:18 UTC
The same on rsync.

Comment 2 Dalibor Pospíšil 2013-04-03 14:45:55 UTC
rsyslog suffers too. Try # beaker-wizard -b 876341

Comment 3 Iveta Wiedermann 2013-04-05 07:32:29 UTC
Created attachment 731844 [details]
Proposed patch

Comment 4 Petr Šplíchal 2013-04-10 13:16:56 UTC
Thanks for the patch, Iveta. I've submitted slightly adjusted
version to gerrit for review:

http://gerrit.beaker-project.org/#/c/1874/

Comment 8 Xin Zhang 2013-05-28 08:11:38 UTC
Verified."Package", "Run for package" and "Required package" are filled with "ksh".


beaker-client version:
beaker-client-0.12.1-1.git.138.df77d66.el6eng

Comment 9 Dalibor Pospíšil 2013-05-28 14:25:52 UTC
I don't agree. It seems to me that it is not fixed.

[dapospis@dhcp-25-115 sudo]$ pwd
/home/dapospis/test/git/sudo
[dapospis@dhcp-25-115 sudo]$ rpm -q beaker-client
beaker-client-0.12.1-1.el6eng.noarch
[dapospis@dhcp-25-115 sudo]$ beaker-wizard -b 856901
Contacting bugzilla...
Fetching details for BZ#856901

Ready to create the test, please review
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/CoreOS/s/Regression/bz856901-Defauts-user-syntax-in-sudoers-doesn-t-seem-to

             Namespace : CoreOS
               Package : s
             Test type : Regression
         Relative path : None
             Test name : bz856901-Defauts-user-syntax-in-sudoers-doesn-t-seem-to
           Description : Test for BZ#856901 (Defauts!<user> syntax in sudoers doesn't seem to)

    Bug or CVE numbers : BZ#856901
  Prefix the test name : Yes
  Reproducers to fetch : None

      Run for packages : s
     Required packages : s
         Architectures : All
              Releases : All
               Version : 1.0
                  Time : 5m

              Priority : Normal
               License : GPLv2
          Confidential : No
           Destructive : No

              Skeleton : beakerlib
                Author : Dalibor Pospisil
                 Email : dapospis

Comment 10 Nick Coghlan 2013-05-29 01:44:24 UTC
Dalibor, note the different RPM versions for the client - the new version hasn't been released yet, it's only available from the nightly builds (http://beaker-project.org/nightlies/).

This will be moved to CLOSED CURRENTRELEASE once beaker-client-0.13 is up in the main repos (the relevant client RPMs will be available before then when the release candidate goes up in client-testing)

Comment 11 Dan Callaghan 2013-06-12 22:53:40 UTC
*** Bug 972644 has been marked as a duplicate of this bug. ***

Comment 13 Amit Saha 2013-06-25 06:28:10 UTC
Beaker 0.13.1 has been released.