10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Raise an Exception if we can't determine the version of a mongo process. #213

Closed llvtt closed 8 years ago

llvtt commented 8 years ago

We're having trouble parsing the version of mongo processes on Evergreen, but we don't know why: https://evergreen.mongodb.com/task_log_raw/mongo_c_driver_windows_64_vs2015_nativessl_integration_test_latest_ssl_028fe4d2b2911886d302b5f2b26ace5aa050ca1b_16_05_27_16_50_07/0?type=T#L269

llvtt commented 8 years ago

It does show up in the log: https://evergreen.mongodb.com/task_log_raw/mongo_c_driver_windows_64_vs2015_nativessl_integration_test_latest_ssl_028fe4d2b2911886d302b5f2b26ace5aa050ca1b_16_05_27_16_50_07/0?type=T#L516 (look at the very end of the line).

"None has no attribute 'group'" isn't very helpful if we want to know what mongo-orchestration thought the output of --version was. Any uncaught Exception in MO is returned as a list of strings in the response to the request that caused it (see above link for example).