New test failure:
[2021/05/18 21:24:05.547] ERROR [0.020s]: test_find_w_regex (test_collection.TestCollection) [2021/05/18 21:24:05.547] ---------------------------------------------------------------------- [2021/05/18 21:24:05.547] Traceback (most recent call last): [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/test/test_collection.py", line 1186, in test_find_w_regex [2021/05/18 21:24:05.547] re.compile("^hello.*")}))), 4) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/cursor.py", line 1206, in next [2021/05/18 21:24:05.547] if len(self.__data) or self._refresh(): [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/cursor.py", line 1128, in _refresh [2021/05/18 21:24:05.547] self.__send_message(q) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/cursor.py", line 1005, in __send_message [2021/05/18 21:24:05.547] address=self.__address) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/mongo_client.py", line 1290, in _run_operation_with_response [2021/05/18 21:24:05.547] exhaust=exhaust) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/mongo_client.py", line 1389, in _retryable_read [2021/05/18 21:24:05.547] return func(session, server, sock_info, slave_ok) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/mongo_client.py", line 1284, in _cmd [2021/05/18 21:24:05.547] unpack_res) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/server.py", line 135, in run_operation_with_response [2021/05/18 21:24:05.547] _check_command_response(first, sock_info.max_wire_version) [2021/05/18 21:24:05.547] File "/data/mci/1d200dc14af5f5a20fe7deb6d64e91c3/src/pymongo/helpers.py", line 167, in _check_command_response [2021/05/18 21:24:05.547] raise OperationFailure(errmsg, code, response, max_wire_version) [2021/05/18 21:24:05.547] pymongo.errors.OperationFailure: invalid flag in regex options: u, full error: {'ok': 0.0, 'errmsg': ' invalid flag in regex options: u', 'code': 51108, 'codeName': 'Location51108'}
The server version was:
[2021/05/18 21:20:13.551] db version v5.0.0-alpha0-442-g0520668 [2021/05/18 21:20:13.551] Build Info: { [2021/05/18 21:20:13.551] "version": "5.0.0-alpha0-442-g0520668", [2021/05/18 21:20:13.551] "gitVersion": "052066841c3dcee7776ee73a0c3145fea1ece4fd", [2021/05/18 21:20:13.551] "openSSLVersion": "OpenSSL 1.0.2k-fips 26 Jan 2017", [2021/05/18 21:20:13.551] "modules": [ [2021/05/18 21:20:13.551] "enterprise" [2021/05/18 21:20:13.551] ], [2021/05/18 21:20:13.551] "allocator": "tcmalloc", [2021/05/18 21:20:13.551] "environment": { [2021/05/18 21:20:13.551] "distmod": "amzn64", [2021/05/18 21:20:13.551] "distarch": "x86_64", [2021/05/18 21:20:13.551] "target_arch": "x86_64" [2021/05/18 21:20:13.551] } [2021/05/18 21:20:13.551] }
- depends on
-
SERVER-26991 Inconsistent handling of RegEx options
- Closed