resmoke cli changed for 4.2/4.4/master

Description

There is upstream ticket https://jira.mongodb.org/browse/SERVER-46769 which has changed command line interface to buildscripts/resmoke.py.
We need to change any invocation like this:

to this:

Affected versions are 4.2.7, 4.4.0-rc4, 4.5.1

Environment

None

Smart Checklist

Activity

Show:

Igor Solodovnikov May 25, 2020 at 11:43 AM

Fixed by checking exit code of resmoke.py executed without parameters:

  • old version returns exit code 0 (success)

  • new version returns exit code 1 with message 'missing subcommand'
    Thus we can use this exit code to decide if resmoke requires 'run' subcommand

Done

Details

Assignee

Reporter

Time tracking

4h 30m logged

Components

Fix versions

Priority

Smart Checklist

Created May 24, 2020 at 5:51 PM
Updated March 6, 2024 at 4:50 PM
Resolved May 25, 2020 at 11:43 AM