Bug 872428 - Worked example showing process of updating, submitting and executing tasks
Summary: Worked example showing process of updating, submitting and executing tasks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: Doc
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.11
Assignee: Amit Saha
QA Contact:
URL:
Whiteboard: Doc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-02 03:55 UTC by Nick Coghlan
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-17 04:34:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 870904 0 unspecified CLOSED Documentation needs overall makeover 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 872421 0 unspecified CLOSED Docs should explain test environment created by Beaker 2021-02-22 00:41:40 UTC

Internal Links: 870904 872421

Description Nick Coghlan 2012-11-02 03:55:21 UTC
The docs are missing a full example showing the process of:

- creating/updating a task
- uploading that task to the task library
- submitting a job to execute that task
- getting the results of the task execution

The "dogfood" task [1] that executes Beaker's own test suite inside a running Beaker instance might serve as a suitable example, that isn't completely trivial, but isn't too hard to understand, and can be guaranteed to be available to anyone setting up or working on Beaker.

Such an example could also be used as a useful integration test for someone *setting up* a new Beaker installation: in that case, the dogfood tests (which we know work in a properly configured Beaker instance) would really be testing the correct operation of the *installation* rather than the Beaker software.

[1] http://git.beaker-project.org/cgit/beaker/tree/Tasks/distribution/beaker/dogfood

Comment 2 Amit Saha 2012-11-06 02:21:37 UTC
(In reply to comment #0)
> The docs are missing a full example showing the process of:
> 
> - creating/updating a task
> - uploading that task to the task library
> - submitting a job to execute that task
> - getting the results of the task execution
> 
> The "dogfood" task [1] that executes Beaker's own test suite inside a
> running Beaker instance might serve as a suitable example, that isn't
> completely trivial, but isn't too hard to understand, and can be guaranteed
> to be available to anyone setting up or working on Beaker.
> 
> Such an example could also be used as a useful integration test for someone
> *setting up* a new Beaker installation: in that case, the dogfood tests
> (which we know work in a properly configured Beaker instance) would really
> be testing the correct operation of the *installation* rather than the
> Beaker software.
> 
> [1]
> http://git.beaker-project.org/cgit/beaker/tree/Tasks/distribution/beaker/
> dogfood

To start with, I am thinking about guiding the user who has just setup a Beaker installation, to create a task which would carry out a simple task like checking if ext4 support is available out of the box, or say it can access Internet resources, for example. And then write a Job XML to execute this task.

Does that sounds like good value addition?

Comment 4 Nick Coghlan 2012-11-06 06:46:52 UTC
It turns out there's a actually quite nice overview of this in the existing docs: http://beaker-project.org/guide/Administration-Chronological_Overview.html

Moving or copying that into the User Guide near the new example would be a *good* thing.

Comment 6 Amit Saha 2012-11-12 04:15:45 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/1469/

Comment 7 Nick Coghlan 2012-11-28 02:57:46 UTC
Possibly related would be a very basic "Writing your first test" guide:

1. Enabling the appropriate beaker-project.org repos
2. Installing beaker-client and rhts-test-env
3. Point readers to beakerlib docs* for info on how to write test cases

*https://fedorahosted.org/beakerlib/wiki/Manual

Comment 8 Amit Saha 2012-11-28 03:01:33 UTC
Fresh patch: http://gerrit.beaker-project.org/#/c/1520/

Comment 9 Amit Saha 2012-11-28 03:15:46 UTC
(In reply to comment #7)
> Possibly related would be a very basic "Writing your first test" guide:
> 
> 1. Enabling the appropriate beaker-project.org repos

I think the position of this guide is way too deep for this information.

> 2. Installing beaker-client and rhts-test-env
> 3. Point readers to beakerlib docs* for info on how to write test cases

The latest patch addresses these two I think.
> 
> *https://fedorahosted.org/beakerlib/wiki/Manual

Comment 12 Amit Saha 2012-12-04 06:03:03 UTC
Additional time used in updating the doc and investigating beaker-wizard's functionality and code (Also: https://bugzilla.redhat.com/show_bug.cgi?id=883203).

Comment 13 Raymond Mancy 2013-01-03 06:02:07 UTC
Verified on local build of beaker-project.org

Comment 14 Dan Callaghan 2013-01-17 04:34:28 UTC
Beaker 0.11.0 has been released.


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