Bug 754632

Summary: workflow-kernel can't deal with --install option by command line
Product: [Retired] Beaker Reporter: yanfu,wang <yanwang>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.7CC: bpeck, dcallagh, mcsontos, pbenas, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-20 14:27:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description yanfu,wang 2011-11-17 06:24:14 UTC
Description of problem:
/distribution/pkginstall can't included in job xml when submit workflow-kernel with --install option by command line.

Version-Release number of selected component (if applicable):
$ rpm -qa|grep beaker
beaker-redhat-0.1.42-1.el6eso.noarch
beakerlib-1.3-7.el6.noarch
beakerlib-redhat-1-5.el6.noarch
beaker-client-0.7.3-4.el6eso.noarch
beaker-redhat-repo-0.2-6.el6eso.noarch
beaker-0.7.3-4.el6eso.noarch

How reproducible:
always

Steps to Reproduce:
$ bkr workflow-kernel --arch=x86_64 --distro=RHEL6-6.1 --variant=server  --install=nfs-utils-lib --repo=http://lacrosse.corp.redhat.com/~yanwang/nfs-utils/ --task=/kernel/filesystems/nfs/ltp-nfstests  --prettyxml --debug --dryrun --lite

Actual results:
<job retention_tag="Scratch">
	<whiteboard>
		None None
	</whiteboard>
	<recipeSet>
		<recipe ks_meta="method=nfs" whiteboard="">
			<distroRequires>
				<and>
					<distro_name op="=" value="RHEL6-6.1"/>
					<distro_variant op="=" value="server"/>
					<distro_method op="=" value="nfs"/>
					<distro_arch op="=" value="x86_64"/>
				</and>
			</distroRequires>
			<hostRequires>
				<and>
					<key_value key="CPUVENDOR" op="=" value="GenuineIntel"/>
					<arch op="=" value="x86_64"/>
					<cpu_count op="&gt;" value="1"/>
					<hypervisor op="=" value=""/>
				</and>
			</hostRequires>
			<repos>
				<repo name="myrepo_0" url="http://lacrosse.corp.redhat.com/~yanwang/nfs-utils/"/>
			</repos>
			<partitions/>
			<task name="/distribution/install" role="STANDALONE">
				<params/>
			</task>
			<autopick random="true"/>
			<task name="/kernel/filesystems/nfs/ltp-nfstests" role="STANDALONE">
				<params/>
			</task>
		</recipe>
	</recipeSet>


Expected results:
/distribution/pkginstall task should be included in xml.

Additional info:

Comment 1 Bill Peck 2012-08-20 14:24:55 UTC
Which version of beaker-redhat do you have installed?

Comment 2 Bill Peck 2012-08-20 14:27:01 UTC
didn't notice the date on this one.  Pretty sure this is taken care of.  Make sure you are running on the latest version.