[SERVER-59685] Investigate failing parallel shell in rollback index tests Created: 31/Aug/21 Updated: 29/Oct/23 Resolved: 04/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Richard Samuels (Inactive) | Assignee: | Adi Zaimi |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Remove checkExitSuccess from jstests/replsets/libs/rollback_index_builds_test.js:138 and run it. |
||||||||
| Sprint: | Repl 2021-10-04, Repl 2021-10-18 | ||||||||
| Participants: | |||||||||
| Description |
|
As a part of this ticket, we modified the rollback index tests to run the function, which checks the exit code of the parallel shell, and throws an error if it's not 0. The following tests began to fail:
with the following assertion:
The parallel shell is launched in jstests/replsets/libs/rollback_index_builds_test.js:116. (Off commit e502f2d3965ac4147d303e956a582b7c4eef8232) Here's the whole stack trace of when the parallel shell is launched:
STM has set the checkExitSuccess flag to false on the cleanup function of the parallel shell to prevent the error from causing these tests to go red and to preserve existing semantics. We'd like someone to investigate if the parallel shell failure is expected (in which case checkExitSuccess should remain false), or if it's unexpected and the test needs to be modified. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] | |||||||||||||||||||||||||||
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! | |||||||||||||||||||||||||||
| Comment by Githook User [ 30/Sep/21 ] | |||||||||||||||||||||||||||
|
Author: {'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}Message: | |||||||||||||||||||||||||||
| Comment by Adi Zaimi [ 30/Sep/21 ] | |||||||||||||||||||||||||||
|
Some of the js files do not fail, so the error has to be finetuned depending on the test. | |||||||||||||||||||||||||||
| Comment by Adi Zaimi [ 29/Sep/21 ] | |||||||||||||||||||||||||||
|
Error from shell:
This is the same failure as |