reportportal
reportportal copied to clipboard
[v5] Lost logs and attachments in retried cases after merge launches
Describe the bug If cases is retried and launches are deep merged, the logs and attachments in past retries may be lost.
To Reproduce
-
Implement the retry logic, we are using the extended-cucumber-runner plugin (http://mkolisnyk.github.io/cucumber-reports/extended-cucumber-runner).
-
aggregate the rerun cases, we have added override the original method in AbstractReporter by setting rp.rerun = true in line 40.
-
run cases with retry passed / failed record, then deep merge two launches.
-
check the last retried tab, all logs and images are found.
-
check the retried tab except the last one, only logs in the failed steps are found.
Expected behavior All logs and attachments retained after retried and merged
Desktop (please complete the following information):
- OS: Mac
- Browser: chrome
Note:
- No issue in not merged cases
- Similar to https://github.com/reportportal/reportportal/issues/1242
@VolhaKarenko Could you please recheck the issue?
Hi @winni0713, could you specify which RP version are you using?
Current version:API Service: 5.3.5;Index Service: 5.0.10;Authorization Service: 5.3.5;Service UI: 5.3.5; Dependency Used: agent-java-cucumber: 5.0.1 logger-java-logback: 4.0.4
reproducible, issue is added to backlog
We are planning to rework Merge functionality in version 5.8 We will include this fix to the refactoring scope