Operational Defect Database

BugZero found this defect 2377 days ago.

MongoDB | 418408

[SERVER-30755] KeyError "selector" is raised when no tests or test suites specified to resmoke.py

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

3.5.10

Fixed releases:

3.7.1

Description:

Info

Prior to the changes from SERVER-28636, invoking python buildscripts/resmoke.py would caused a "Must specify either --suites or a list of tests" error. We should either restore this behavior by (a) detecting when --suites hasn't been specified (it currently defaults to with_server.yml and args is an empty list), or (b) changing the with_server.yml and no_server.yml YAML suite configurations to specify selector: roots: [] and have resmoke.py log "No tests ran" when invoking python buildscripts/resmoke.py.

Top User Comments

xgen-internal-githook commented on Tue, 21 Nov 2017 14:36:31 +0000: Author: {'name': 'Jonathan Abrahams', 'username': 'hptabster', 'email': 'jonathan@mongodb.com'} Message: SERVER-30755 KeyError "selector" is raised when no tests or test suites specified to resmoke.py Branch: master https://github.com/mongodb/mongo/commit/9c6381687e0bf72122c1b5d7aa11fb949a6145b4

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...