Bug 683913

Summary: bkr workflow-simple does not handle empty recipes filtered by arch quite well
Product: [Retired] Beaker Reporter: Jan Tluka <jtluka>
Component: command lineAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 0.5CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-29 07:13:23 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 Jan Tluka 2011-03-10 16:20:05 UTC
Description of problem:

If a task Makefile contains architecture limitation (e.g. "Architectures: i386 ia64 x86_64") submitting a job that consists just from that task and with no --arch specification would end up in executing recipes for all archs with just /distribution/install task and therefore wastes resources.

Version-Release number of selected component (if applicable):
beaker-client-0.5.63-1.fc14.noarch
(but as Bill said it affects also the new version)

How reproducible:
Everytime

Steps to Reproduce:

bkr workflow-simple --distro RHEL5-Server-U6 --task /kernel/memory/Fujitsu-memory_leak-IT72361 --whiteboard="/kernel/memory/Fujitsu-memory_leak-IT72361 on rhel5.6 fix check"

Actual results:
https://beaker.engineering.redhat.com/jobs/60933
Empty recipes are not discarded and waste lab resources.

Expected results:
Empty recipes are discarded in the job.

Additional info:

Comment 1 Bill Peck 2011-04-01 21:10:08 UTC
sorry, ran out of time due to debugging issues.