Bug 754632 - workflow-kernel can't deal with --install option by command line
Summary: workflow-kernel can't deal with --install option by command line
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.7
Hardware: All
OS: Linux
medium
medium vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 06:24 UTC by yanfu,wang
Modified: 2012-08-20 14:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-20 14:27:01 UTC


Attachments (Terms of Use)

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.


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