-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add subresults support for reportportal report plugin #3331
base: feature/reportportal-improvements
Are you sure you want to change the base?
Add subresults support for reportportal report plugin #3331
Conversation
1e50f45
to
757da3f
Compare
757da3f
to
11d5bc3
Compare
0014f19
to
0fb5d3f
Compare
0fb5d3f
to
a6da49f
Compare
a6da49f
to
3b7b5a4
Compare
b2f5688
to
c1518ce
Compare
0d383fb
to
bdb49f9
Compare
I think it might be handy to control subresults import on a per test level through test fmf metadata. |
These are just some screenshots from my testing. BTW: @kkaarreell Do you have any idea why the subresult items have the Launch overview (parent tmt results):Beakerlib test detail (subresults / child test items):Details of shell test subresults when calling
|
I have tested the current code but it doesn't work (at least) for beakerlib tests. There are no logs for individual test phases (I am not even sure if beakerlib even produces them at all) and therefore there is nothing RP AA could work with or a reviewer look at when reviewing a particular failed phase. One can access logs for the whole test but because subresults are imported one can't assign a test result for a whole test as it needs to be done for individual phases. As a result, this feature is not usable ATM. As a precaution, phase reporting should be enabled only for tests that provide individual phase logs. |
Hello @kkaarreell,
I am aware the logs for subresults are not imported. I was troubleshooting this yesterday and the problem why the shell subresults (created by Regarding the logs for beakerlib subresults/phases, we want them, for sure. I was troubleshooting why the phase logs are not saved by
If I understand this correctly, if we always provide logs for ReportPortal child items (beakerlib phases and logs reported by calling With both PRs (#3370, #3372) applied, the result is following: Parent beakerlib result detail:Parent beakerlib result logs:Subresult logs (setup phase):Subresult logs (myfail phase): |
On the last screenshot there is a test phase failure but the error log is missing. |
f19af6c
to
d3fbee8
Compare
…the subresult parent item
ba94e41
to
c8d1ec9
Compare
This PR adds support for tmt subresults for tmt reportportal plugin. It tries to map the subresults as child items of parent test result in a specific launch.
Please don't review this PR while it is marked as a draft.
More info:
TODOs:
status:interrupted
issues for subresults in RP, why is this happening?Blocked by:
Related:
Pull Request Checklist