[DRIVERS-2328] Remove legacy shell from test scripts Created: 15/May/22 Updated: 22/Jan/24 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Evergreen Tools |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Andreas Braun |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY23Q4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | The legacy shell will no longer be installed in the near future. Drivers are encouraged to remove all usages of the legacy shell in their drivers with this Go driver PR serving as inspiration. All drivers that require the use of the legacy library are required to define the INSTALL_LEGACY_SHELL environment variable to a non-zero value when running MongoDB installation (either by running run-orchestration.sh or by manually invoking download_and_extract() from download-mongoldb.sh). This variable replaces the current SKIP_LEGACY_SHELL variable which will no longer be respected. The upcoming changes can be tested by using the development branch for this change. In your evergreen functions, locate the git clone command that clones the drivers-evergreen-tools repository and replace it with this command:
This will show which of your build tasks still need the legacy shell, which can be installed using the INSTALL_LEGACY_SHELL environment variable in that specific task. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Engineering Lead: | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
Summary
drivers-evergreen-tools uses the "mongo" shell. Examples: ecs_hosted_test.sh, aws_e2e_ecs.js, and run-orchestration.sh MotivationWho is the affected end user?DBX engineers. How does this affect the end user?Blocked. AWS auth tasks and API version tasks run on latest will fail during setup. Is this issue urgent?Yes. A workaround is urgent to get tests passing. A long-term solution is less urgent. Is this ticket required by a downstream team?No. Is this ticket only for tests?Yes. ProposalDownload the legacy shell from 6.0 packages as a temporary workaround. For a long-term solution:
|
| Comments |
| Comment by Githook User [ 22/Jan/24 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Add more explicit AWS test instructions (#375)
|
| Comment by Githook User [ 22/Jan/24 ] |
|
Author: {'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}Message: DRIVERS-2328: Skip installing the legacy shell by default (#366) Skip installing the legacy shell by default |
| Comment by Githook User [ 22/Jan/24 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Add aws_setup convenience script (#365)
|
| Comment by Githook User [ 29/Nov/23 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Add more explicit AWS test instructions (#375)
|
| Comment by Githook User [ 29/Nov/23 ] |
|
Author: {'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}Message: DRIVERS-2328: Skip installing the legacy shell by default (#366) Skip installing the legacy shell by default |
| Comment by Githook User [ 17/Oct/23 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Add aws_setup convenience script (#365)
|
| Comment by Githook User [ 31/May/23 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Fix Windows Support for AWS Scripts (#310) |
| Comment by Githook User [ 24/May/23 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-2328 Use Python and Mongo Shell for AWS Testing (#306) |
| Comment by Githook User [ 02/May/23 ] |
|
Author: {'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}Message: DRIVERS-2328: Allow disabling usage of legacy shell (#298)
|
| Comment by Githook User [ 06/Feb/23 ] |
|
Author: {'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}Message: DRIVERS-2328: Download mongosh alongside the legacy shell (#265) Download mongosh alongside the legacy shell |
| Comment by Githook User [ 16/May/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: DRIVERS-2328 download legacy shell from 5.0 package (#199) |