Hide Forgot
Description of problem: Editing Makefile using beaker-wizard produce incorrect value of TEST (test name). Issue is probably caused by custom test type. Version-Release number of selected component (if applicable): beaker-client-22.1-1.el7sed.noarch How reproducible: easily :) Steps to Reproduce: 1. cd <component> 2. beaker-wizard 3. set test type to some new value "Utils" 4. finish wizard 5. beaker-wizard Makefile Actual results: $ beaker-wizard Makefile Reading the Makefile... Inspecting the metadata section... Checking for the full test name and version... Parsing the individual metadata... Makefile successfully parsed. Ready to write the new Makefile, please review or make the changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /CoreOS/ahoj/Regression/CoreOS/procps/Utils/ahoj <--------------------------------- <snip> Expected results: /CoreOS/procps/Utils/ahoj
I tried to reproduce this problem, but can't. I stuck to the default values, except the type of the test: > Welcome to The Beaker Wizard! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > It seems, you're running the beaker-wizard for the first time. > I'll try to be a little bit more verbose. Should you need > any help in the future, just try using the "?" character. > > > Bugs or CVE's related to the test > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Supply one or more bug or CVE numbers (e.g. 123456 or 2009-7890). Use > the '+' sign to add the bugs instead of replacing the current list. > [None?] > > Test name > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Use few, well chosen words describing what the test does. Special > chars will be automatically converted to dashes. > [a-few-descriptive-words?] > > What is the type of test? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Recommended values: > Possible values: Regression, Performance, Stress, Certification, > Security, Durations, Interoperability, Standardscompliance, > Customeracceptance, Releasecriterium, Crasher, Tier1, Tier2, Alpha, > KernelTier1, KernelTier2, Multihost, MultihostDriver, Install, > FedoraTier1, FedoraTier2, KernelRTTier1, KernelReporting, Sanity, > Library > Specify the type of the test. Hints above. > [Sanity?] Utils > Type 'Utils' does not exist. Confirm creating a new type. > Type 'Utils' does not exist. Confirm creating a new type. > [Utils?] Utils > > Namespace > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Possible values: distribution, installation, kernel, desktop, tools, > CoreOS, cluster, rhn, examples, performance, ISV, virt > Provide a root namespace for the test. > [CoreOS?] > > Short description > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Provide a short sentence describing the test. > [What the test does?] > > Time for test to run > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > The time must be in format [1-99][m|h|d] for 1-99 minutes/hours/days > (e.g. 3m, 2h, 1d) > [5m?] > > Author's name > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Put your name [middle name] and surname here, abbreviations allowed. > [Your Name?] > > Author's email > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Email address in lower case letters, dots and dashes. Underscore > allowed before the "@" only. > [your?] > > Ready to create the test, please review > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > /CoreOS/Utils/Utils/a-few-descriptive-words > > Namespace : CoreOS > Package : Utils > Test type : Utils > Relative path : None > Test name : a-few-descriptive-words > Description : What the test does > > Bug or CVE numbers : None > Prefix the test name : Yes > Reproducers to fetch : None > > Run for packages : Utils > Required packages : Utils > Required RHTS tests/libraries : None > Architectures : All > Releases : -RHEL4, -RHELClient5, -RHELServer5 > Version : 1.0 > Time : 5m > > Priority : Normal > License : GPLv2+ > Confidential : No > Destructive : No > > Skeleton : beakerlib > Author : Your Name > Email : your > > Type a few letters from field name to edit or press ENTER to confirm. > Use the "write" keyword to save current settings as preferences. > [Everything OK?] > Directory Utils/a-few-descriptive-words created > File Utils/a-few-descriptive-words/PURPOSE written > File Utils/a-few-descriptive-words/runtest.sh written > File Utils/a-few-descriptive-words/Makefile written > Preferences saved to /home/dev/.beaker_client/wizard Then passing the Makefile to the beaker-wizard seemed to be working fine: > -bash-4.1$ python ../src/bkr/client/wizard.py Utils/a-few-descriptive-words/Makefile > Reading the Makefile... > Inspecting the metadata section... > Checking for the full test name and version... > Parsing the individual metadata... > Makefile successfully parsed. > > Ready to write the new Makefile, please review or make the changes > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > /CoreOS/Utils/Utils/CoreOS/Utils/Utils/a-few-descriptive-words > > Namespace : CoreOS > Package : Utils > Test type : Utils > Relative path : CoreOS/Utils/Utils > Test name : a-few-descriptive-words > Description : What the test does > > Bug or CVE numbers : None > > Run for packages : Utils > Required packages : Utils > Required RHTS tests/libraries : None > Architectures : All > Releases : -RHEL4, -RHELClient5, -RHELServer5 > Version : 1.0 > Time : 5m > > Priority : Normal > License : GPLv2+ > Confidential : No > Destructive : No > > Author : Your Name > Email : your > > [Everything OK?] I was using beaker-wizard in current develop branch, but it seems it hasn't changed since the 22.1 release. What am I missing?
(In reply to Roman Joost from comment #1) <snip> > > Ready to create the test, please review > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > /CoreOS/Utils/Utils/a-few-descriptive-words Here ^^^ is the path created in first run > > > > Namespace : CoreOS > > Package : Utils > > Test type : Utils > > Relative path : None > > Test name : a-few-descriptive-words > > Description : What the test does > > > > Bug or CVE numbers : None > > Prefix the test name : Yes > > Reproducers to fetch : None > > > > Run for packages : Utils > > Required packages : Utils > > Required RHTS tests/libraries : None > > Architectures : All > > Releases : -RHEL4, -RHELClient5, -RHELServer5 > > Version : 1.0 > > Time : 5m > > > > Priority : Normal > > License : GPLv2+ > > Confidential : No > > Destructive : No > > > > Skeleton : beakerlib > > Author : Your Name > > Email : your > > > > Type a few letters from field name to edit or press ENTER to confirm. > > Use the "write" keyword to save current settings as preferences. > > [Everything OK?] > > Directory Utils/a-few-descriptive-words created > > File Utils/a-few-descriptive-words/PURPOSE written > > File Utils/a-few-descriptive-words/runtest.sh written > > File Utils/a-few-descriptive-words/Makefile written > > Preferences saved to /home/dev/.beaker_client/wizard > > Then passing the Makefile to the beaker-wizard seemed to be working fine: > > > > -bash-4.1$ python ../src/bkr/client/wizard.py Utils/a-few-descriptive-words/Makefile > > Reading the Makefile... > > Inspecting the metadata section... > > Checking for the full test name and version... > > Parsing the individual metadata... > > Makefile successfully parsed. > > > > Ready to write the new Makefile, please review or make the changes > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > /CoreOS/Utils/Utils/CoreOS/Utils/Utils/a-few-descriptive-words And path ^^^ constructed when editing Makefile. > > > > Namespace : CoreOS > > Package : Utils > > Test type : Utils > > Relative path : CoreOS/Utils/Utils > > Test name : a-few-descriptive-words > > Description : What the test does > > > > Bug or CVE numbers : None > > > > Run for packages : Utils > > Required packages : Utils > > Required RHTS tests/libraries : None > > Architectures : All > > Releases : -RHEL4, -RHELClient5, -RHELServer5 > > Version : 1.0 > > Time : 5m > > > > Priority : Normal > > License : GPLv2+ > > Confidential : No > > Destructive : No > > > > Author : Your Name > > Email : your > > > > [Everything OK?] > > I was using beaker-wizard in current develop branch, but it seems it hasn't > changed since the 22.1 release. What am I missing?