-
Notifications
You must be signed in to change notification settings - Fork 97
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
Propagate error_code and error_msg to test cases #2524
Comments
What would this for a user evaluating regressions essentially? Seems something that will facilitate grouping? |
Basically, uniformity of results, which is at the core of other processes/tasks: If a test fails in lava due to an infrastructure error, this is encoded only in the test suite node, but users querying for test cases won't be aware of it. The results may be misleading. This isn't currently a problem with regressions because I already worked around this issue when I wrote the code for detecting and creating them, but no code is doing that for test results. |
A similar issue was already addressed previously: #2418 |
Do we need to work on this topic or it is mostly completed? Or can be closed? |
AFAIK no work has been done on this yet, but things may have changed after the recent changes in the modeling of the node structure. IMO it's still useful (very useful) to have this information in the test case nodes. @JenySadadia what do you think? |
Hello, |
Of course, every feature has a drawback. I'm thinking about design, other considerations (DB space, performance, optimization) should be evaluated separately. Without concrete estimations and measurements it's pointless to talk about these potential drawbacks, though --> will this feature make the DB bigger? yes. Will that have a noticeable impact? we don't know. So it's up to the Maestro team to decide whether it's worth it to implement this or not. |
In some cases,
data.error_code
anddata.error_msg
are only filled in test suite nodes, but not in their child nodes (test cases).Example:
This makes it inviable to properly automate queries for test cases based on these parameters, as the real values are in a different node (the parent).
Wouldn't it make sense to propagate these values, if present, to all the child nodes?
The text was updated successfully, but these errors were encountered: