-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LTP results are sent to KCIDB under multiple names #290
Comments
@mgalka promised to take a look at this 😁 |
How should the test cases inside the test suite be named? Is there a convention for that too? |
That's entirely up to the test suite. We can't really control that. |
OK, then we still won't be able to actually compare results between the different data sources other than manual inspection. |
Hmm, why? Doesn't LTP generally keep the test names the same? |
Could you describe how you'd like the results compared? |
If individual test cases coming from different CI systems don't have the same names then they can't be automatically compared. Take this one for example: The full test case names are made up because each test is run several times as part of the test suite, when there are several media interfaces. It wasn't really designed to be automated so the test case names can't be used directly as they're found in the log. For LTP, I believe test cases have a more controlled naming based on the executable. Still, what if they're part of a subset? Take this one for example: Should the test names be like |
Well, I'm not sure I understand what's happening there completely, I would need to know more. However, either it's OK (e.g. different names describe a meaningful test change), or we need to talk to the test maintainers about making test names stable and putting the instance information somewhere else, or maybe we could apply a simple (and reliable) transformation to clean them up.
That's exactly the situation I'm talking about. Even if you're running a subset of LTP tests, their test paths should still start with I.e. it should look like this: However, perhaps that name is required to make the KernelCI framework work, and that's OK. However, those names should be transformed before submitting to KCIDB then. |
So basically, KCIDB doesn't specify exactly the test names but the guidelines are to not mangle at all the test names when they're clearly defined by the test suite (e.g. just the executable name for LTP) and coordinate with other CI systems when the test names aren't clearly defined by the test suite such as for v4l2-compliance. |
Just to make sure I got it right, each of those |
Yes they are just a subset of the LTP tests being run. For example, |
Yep. That's what we could do with the situation realistically, I think. |
Well, then that's what I expected it to be, and in KCIDB their paths should start with |
And coordinate with the test suite authors, of course, if possible. |
KernelCI native LTP results are sent under multiple names to KCIDB. An example revision has five instances of LTP reported, all under different names (
ltp-timers
,ltp-pty
,ltp-mm
,ltp-ipc
, andltp-fcntl-locktests
):See the attached revision data for details.
This violates the agreed-upon test naming scheme, makes it difficult to see complete LTP results (you have to check all the names), and impairs correlation with other submitters (which might use different names, or just the correct single name).
E.g. ARM submissions use a single name:
Underneath which all the subtests are placed together:
Apparently the results use different names, in part because these are executions of different subsets of LTP, split apart for faster parallel execution. However, from KCIDB POV it doesn't matter how many tests of a suite were executed, the test suite should still be reported under its name.
Please consider sending results of each test, including LTP, under its "canonical" name, regardless of which subset of its subtests is executed.
The text was updated successfully, but these errors were encountered: