Bug 1202739

Summary: [RFE] allow tasks in a recipe definition to be flagged as "setup" or "teardown"
Product: [Retired] Beaker Reporter: Ales Zelinka <azelinka>
Component: schedulerAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: developCC: cbouchar
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 21:35:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 846334, 1124770, 1124801    

Description Ales Zelinka 2015-03-17 11:01:36 UTC
use-cases:

Test /test needs some custom environment setup. It is implemented in a separate task /setup. Workflow is aware of such requirement and tags the /setup task as 'setup'. Job runs, /setup task fails.

#1a invalid (because a 'setup' task /setup failed.)  results of /test can be ignored 

#1b harness can skip running /test altogether when /setup fails

#2 beaker-jobwatch cancels (and or reschedules) the job immediately after the setup task fails to save real and machine time.