[Avocado-devel] RFC on Job phases

Cleber Rosa crosa at redhat.com
Thu Sep 29 13:16:23 UTC 2016


On 09/21/2016 05:08 PM, Cleber Rosa wrote:
> This is a simple proposal for the execution phases/steps of the
> Avocado Job class.  Based on its natural organic evolution, some of
> the job steps purposes do not have a clearly defined responsibility.
> 
> The original motivation of this RFC is to discuss and fix issue
> reported on GitHub PR #1412.  On that issue/PR, it was noticed that
> result plugins would be run after the `--archive|-z` feature, thus
> missing some of the results.  To add to the confusion, the user's own
> Post-Job plugin was also executed in an order that was not intended.
> 
> Clear job phases, and also order control on plugin execution (not the
> scope of this RFC) are being proposed as two abstract mechanisms that
> would allow a definitive fix for that (and other similar) issues.
> 

FIY, a pull request was posted at:

https://github.com/avocado-framework/avocado/pull/1498

That gives a general idea of how this would look like.

-- 
Cleber Rosa
[ Sr Software Engineer - Virtualization Team - Red Hat ]
[ Avocado Test Framework - avocado-framework.github.io ]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160929/0bc9abcf/attachment.sig>


More information about the Avocado-devel mailing list