[Fuego] question on test plans in fuego
Tim.Bird at sony.com
Tue Jun 30 19:59:17 UTC 2020
> -----Original Message-----
> From: Fuego <fuego-bounces at lists.linuxfoundation.org> On Behalf Of Töws, Heinrich
> Hey altogether,
> I have a question regarding test plans ..
> Under "overlays/testplans/" (fuego-core) I see a lot of them.
> What I discovered is that when I trigger a test plan batch job the tests
> are not scheduled in the some order as they are defined within the
> respective JSON file.
> Why is that so? I'd like them to be scheduled in a specific order - is
> that possible?
You have caught Fuego in the middle of a change. For various reasons,
including the ordering problem you mention, we were not very happy
with the old testplan system. We have been working on a replacement
system called batch jobs.
The testplans in overlays/testplans are deprecated. We have replacement
jobs for some of the testplans, but not all of them.
For a comparison to see how we now prefer to do things, compare
In the batch job, fuego_test.sh has an embedded testplan, which is
used to populate the Jenkins interface with the jobs, and to provide
default parameters for the jobs. However, the tests are run in sequence
inside the test's test_run() function. This preserves the order of tests.
So, please use batch tests instead of testplans. When you add a Jenkins
job for a batch test, then Fuego will add the dependent jobs for that test
automatically. This needs to be updated in the documentation.
Sorry about that.
I hope this helps.
P.S. One downside to the new "batch job" approach is that (from the
point of view of Jenkins) the batch test will have control of the board for
the duration of all sub-tests. This might be too long.
We are still working on a solution to that issue.
> Best regards,
> Heinrich Toews
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
More information about the Fuego