Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2721

Test failure - invalid flag in regex options on v5.0.0-alpha0-442-g0520668

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 4.0
    • Tests
    • None

    Description

      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'}
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_amazon1_test_ssl__platform~awslinux_auth_ssl~noauth_nossl_python_version~3.6_coverage~coverage_test_latest_standalone_patch_e221b49dfc3cfdddbb138a8701ece27fdd131242_60a42bda7742ae22ee27b3b9_21_05_18_21_04_27

      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] }
      

      Attachments

        Issue Links

          Activity

            People

              julius.park@mongodb.com Julius Park
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: