[SERVER-32296] Check for resmoke_exit_code in evergreen.yml fails in dash Created: 13/Dec/17  Updated: 30/Oct/23  Resolved: 18/Dec/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2018-1-15
Participants:

 Description   

The work for SERVER-32121 uses the following check:

if [[ $resmoke_exit_code = 74 ]]; then
...

The [[ condition is not supported in dash, which is the default shell on Ubuntu. Suggested changes are:

  • Change test to use [
  • Set the shell to bash for "run tests"


 Comments   
Comment by Githook User [ 18/Dec/17 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@10gen.com', 'username': 'kevinAlbs'}

Message: SERVER-32296 fix resmoke_exit_code check in dash
Branch: master
https://github.com/mongodb/mongo/commit/4e6f8deb022b8cc5c0c3a38a60b1416ff952475e

Generated at Thu Feb 08 04:29:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.