Support fetching results from ReportPortal#1
Open
therazix wants to merge 1 commit into
Open
Conversation
70c96e8 to
b6ee245
Compare
LecrisUT
approved these changes
Jul 8, 2026
| TMT_TO_RP_RESULT_STATUS = { | ||
| ResultOutcome.PASS.value: "PASSED", | ||
| ResultOutcome.FAIL.value: "FAILED", | ||
| ResultOutcome.INFO.value: "SKIPPED", |
Member
There was a problem hiding this comment.
Info -> skipped looks weird, but I don't have the background on this
Collaborator
Author
There was a problem hiding this comment.
I agree, but this is how tmt maps the result status to ReportPortal because ReportPortal does not have info or pending status. I kept it the same for consistency.
Member
There was a problem hiding this comment.
Hmm, why don't you re-use that mapping? tmt is available that you can extract it right?
| ResultOutcome.WARN.value: "FAILED", | ||
| ResultOutcome.ERROR.value: "FAILED", | ||
| ResultOutcome.SKIP.value: "SKIPPED", | ||
| ResultOutcome.PENDING.value: "SKIPPED", |
Member
There was a problem hiding this comment.
If the test is still pending, there's probably something wrong?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for loading test results from ReportPortal. When
--use-reportportalis passed tofilter-tests, results are fetched from allreportportalreport phases in the recipe instead of localresults.yamlfiles. Plans without a reportportal report phase use the localresults.yamlfile as usual. Thelaunch-uuidand related fields are stripped from the output recipe so that a subsequent rerun creates a new launch.Resolves teemtee/tmt#4828