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

Field 'cursors' contains an element that is not of type long: 0: 12345

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Saw this odd traceback in a patch build on MongoDB 3.4:

       [2021/06/04 20:23:16.263]   test_insert_many_unacknowledged (test_monitoring.TestCommandMonitoring) ... Traceback (most recent call last):
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/mongo_client.py", line 1611, in _process_kill_cursors
       [2021/06/04 20:23:16.263]     cursor_ids, address, topology, session=None)
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/mongo_client.py", line 1544, in _kill_cursors
       [2021/06/04 20:23:16.263]     self._kill_cursor_impl(cursor_ids, address, session, sock_info)
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/mongo_client.py", line 1558, in _kill_cursor_impl
       [2021/06/04 20:23:16.263]     sock_info.command(db, spec, session=session, client=self)
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/pool.py", line 725, in command
       [2021/06/04 20:23:16.263]     exhaust_allowed=exhaust_allowed)
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/network.py", line 158, in command
       [2021/06/04 20:23:16.263]     parse_write_concern_error=parse_write_concern_error)
       [2021/06/04 20:23:16.263]   File "/data/mci/c66f86df4e741659bdefcd0c71906a1b/src/pymongo/helpers.py", line 167, in _check_command_response
       [2021/06/04 20:23:16.263]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2021/06/04 20:23:16.263] pymongo.errors.OperationFailure: Field 'cursors' contains an element that is not of type long: 0: 12345, full error: {'ok': 0.0, 'errmsg': "Field 'cursors' contains an element that is not of type long: 0: 12345", 'code': 9, 'codeName': 'FailedToParse'}
      

      https://spruce.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_3.4_standalone_patch_d26bf933ed22f9355959ed6c957b6fcce1ead228_60ba8699d6d80a4044a4f054_21_06_04_20_01_31/logs?execution=0

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: