Bug 725010 - bkr workflow-simple shuffles given task order what makes the client tool unusable
Summary: bkr workflow-simple shuffles given task order what makes the client tool unus...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.6
Hardware: Unspecified
OS: Linux
unspecified
high vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard: Regression
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-22 15:03 UTC by Tomas Lestach
Modified: 2011-07-22 15:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-22 15:08:52 UTC


Attachments (Terms of Use)

Description Tomas Lestach 2011-07-22 15:03:01 UTC
Description of problem:
bkr workflow-simple produces a xml with different task order.

Version-Release number of selected component (if applicable):
beaker-client-0.6.8-5.git.47.219578f.fc14.noarch

How reproducible:
always

Steps to Reproduce:
$ /usr/bin/bkr workflow-simple --distro="RHEL5-Server-U6" --whiteboard="spwN_rhel56" --arch=x86_64     --task=/CoreOS/Spacewalk/Installer/Workaround/cobbler-issue     --task=/CoreOS/Spacewalk/Installer/Sanity/Whole-installation/SW-nightly-Oracle-XE     --task=/CoreOS/Spacewalk/Installer/Sanity/extra-packages-in-compose     --task=/distribution/reservesys     --debug --prettyxml

  
Actual results:
<job retention_tag="Scratch">
	<whiteboard>
		-bash
	</whiteboard>
	<recipeSet priority="Normal">
		<recipe ks_meta="method=nfs" whiteboard="-bash">
			<distroRequires>
				<and>
					<distro_name op="=" value="RHEL5-Server-U6"/>
					<distro_method op="=" value="nfs"/>
					<distro_arch op="=" value="x86_64"/>
				</and>
			</distroRequires>
			<hostRequires>
				<and/>
			</hostRequires>
			<repos/>
			<task name="/distribution/install" role="STANDALONE">
				<params/>
			</task>
			<task name="/distribution/reservesys" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Sanity/extra-packages-in-compose" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Workaround/cobbler-issue" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Sanity/Whole-installation/SW-nightly-Oracle-XE" role="STANDALONE">
				<params/>
			</task>
		</recipe>
	</recipeSet>
</job>

Note that the tasks are listed in another order that specifying on the cmd line. The order of the tasks is very important, since the task depend on each other.

Expected results:
Keep the task order as specified on cmd line.

Additional info:
Note this is a regression.

Comment 1 Bill Peck 2011-07-22 15:08:52 UTC
Please update to a recent version..

[bpeck@localhost ~]$ bkr workflow-simple --distro="RHEL5-Server-U6" --whiteboard="spwN_rhel56" --arch=x86_64  --task=/CoreOS/Spacewalk/Installer/Workaround/cobbler-issue --task=/CoreOS/Spacewalk/Installer/Sanity/Whole-installation/SW-nightly-Oracle-XE --task=/CoreOS/Spacewalk/Installer/Sanity/extra-packages-in-compose --task=/distribution/reservesys     --debug --prettyxml

<job retention_tag="Scratch">
	<whiteboard>
		spwN_rhel56
	</whiteboard>
	<recipeSet priority="Normal">
		<recipe ks_meta="method=nfs" whiteboard="spwN_rhel56">
			<distroRequires>
				<and>
					<distro_name op="=" value="RHEL5-Server-U6"/>
					<distro_method op="=" value="nfs"/>
					<distro_arch op="=" value="x86_64"/>
				</and>
			</distroRequires>
			<hostRequires>
				<and/>
			</hostRequires>
			<repos/>
			<task name="/distribution/install" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Workaround/cobbler-issue" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Sanity/Whole-installation/SW-nightly-Oracle-XE" role="STANDALONE">
				<params/>
			</task>
			<task name="/CoreOS/Spacewalk/Installer/Sanity/extra-packages-in-compose" role="STANDALONE">
				<params/>
			</task>
			<task name="/distribution/reservesys" role="STANDALONE">
				<params/>
			</task>
		</recipe>
	</recipeSet>
</job>

beaker-client-0.6.14 works


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