Mandatory Jobs

Po-Hsu Lin po-hsu.lin at canonical.com
Tue Aug 25 02:36:20 UTC 2015


Some background history for how this mandatory field came up:
We want to make the "submission-resource" job become mandatory, so
that tester won't forget to select this job and make the submission
empty, bug could be found here:
https://bugs.launchpad.net/bugs/1391774


On Mon, Aug 24, 2015 at 11:31 PM, Maciej Kisielewski
<maciej.kisielewski at canonical.com> wrote:
>> Ahhh, so it's "Have to run" vs "Have to Pass"?  what is a
>> "mandatory_include" field?  Does it go in the job?  in a header or a
>> separate section of the test plan file?
>
>
> It's a field in a test plan.
> http://plainbox.readthedocs.org/en/latest/manpages/plainbox-test-plan-units.html
>
>> Sorry, this is all new to me, an example of things that changed and I
>> never really knew about except by finding it by accident when reading random
>> MRs.
>
>
> Well, isn't it what this list is for? ;-)
>
>
> On Mon, Aug 24, 2015 at 4:03 PM, Jeffrey Lane <jeffrey.lane at canonical.com>
> wrote:
>>
>> Ahhh, so it's "Have to run" vs "Have to Pass"?  what is a
>> "mandatory_include" field?  Does it go in the job?  in a header or a
>> separate section of the test plan file?  Sorry, this is all new to me, an
>> example of things that changed and I never really knew about except by
>> finding it by accident when reading random MRs.
>>
>> On Mon, Aug 24, 2015 at 9:58 AM Maciej Kisielewski
>> <maciej.kisielewski at canonical.com> wrote:
>>>
>>> You may list the jobs that *have* to run every time the test plan is
>>> used, in the `mandatory_include` field of that test plan.
>>> They don't have to pass. Plainbox will just make sure they are run.
>>> Some testing may be useless unless `submission_resource` job is run, so
>>> this job was first to be marked as mandatory.
>>>
>>> On Mon, Aug 24, 2015 at 3:53 PM, Jeffrey Lane
>>> <jeffrey.lane at canonical.com> wrote:
>>>>
>>>> Can someone please fill me in on these new things like "Mandatory Jobs"
>>>> and how they work and the benefits?  Sounds, IIRC from previous merge
>>>> requests, that it's a way to specify jobs that MUST pass and I'm quite
>>>> interested in that.
>>>>
>>>> Thanks
>>>> Jeff
>>>> --
>>>> "Entropy isn't what it used to be."
>>>>
>>>> Jeff Lane - Server Certification Lead, OCP Certification Tools
>>>> Engineering Lead,
>>>>                   Warrior Poet, Biker, Lover of Pie
>>>> Phone: 919-442-8649
>>>> Ubuntu Ham: W4KDH                          Freenode IRC: bladernr or
>>>> bladernr_
>>>> gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD
>>>>
>>>> --
>>>> Checkbox-devel mailing list
>>>> Checkbox-devel at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/checkbox-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Have a good one,
>>> Maciek
>>
>> --
>> "Entropy isn't what it used to be."
>>
>> Jeff Lane - Server Certification Lead, OCP Certification Tools Engineering
>> Lead,
>>                   Warrior Poet, Biker, Lover of Pie
>> Phone: 919-442-8649
>> Ubuntu Ham: W4KDH                          Freenode IRC: bladernr or
>> bladernr_
>> gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD
>
>
>
>
> --
> Have a good one,
> Maciek
>
> --
> Checkbox-devel mailing list
> Checkbox-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/checkbox-devel
>



More information about the Checkbox-devel mailing list