Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56231

[SBE] Certain tests timeout on assert.soon in change_streams_mongos_passthrough suite

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide
      buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/include_cluster_time.js
      
      buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/collation.js
      
      buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/start_at_cluster_time.js
      
      buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/whole_db_metadata_notifications.js

       

      Show
      buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/include_cluster_time.js buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/collation.js buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/start_at_cluster_time.js buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough --mongodSetParameters='{featureFlagSBE: true}' jstests/change_streams/whole_db_metadata_notifications.js  
    • Query Execution 2021-05-03

      Tests fails on asserts as below:

      [js_test:include_cluster_time] assert.soon failed: () => changeStream.hasNext() The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`).

      Or
       

      [js_test:collation] assert.soon failed: () => { [js_test:collation] assert.neq( [js_test:collation] cursor.id, [js_test:collation] NumberLong(0), [js_test:collation] "Cursor has been closed unexpectedly. Observed change stream events: " + [js_test:collation] tojson(changes)); [js_test:collation] cursor = self.getNextBatch(cursor); [js_test:collation] changes[i] = getNextDocFromCursor(cursor); [js_test:collation] return changes[i] !== null; [js_test:collation] } : timed out waiting for another result from the change stream, observed changes: [ null ], expected changes: 1 The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`). [js_test:collation] doassert@src/mongo/shell/assert.js:20:14 [js_test:collation] assert.soon@src/mongo/shell/assert.js:382:17 [js_test:collation] ChangeStreamTest/self.getNextChanges@jstests/libs/change_stream_util.js:203:13 [js_test:collation] ChangeStreamTest/self.assertNextChangesEqual@jstests/libs/change_stream_util.js:289:23 [js_test:collation] @jstests/change_streams/collation.js:40:1 [js_test:collation] @jstests/change_streams/collation.js:5:2 [js_test:collation] uncaught exception: Error: assert.soon failed: () => { [js_test:collation] assert.neq( [js_test:collation] cursor.id, [js_test:collation] NumberLong(0), [js_test:collation] "Cursor has been closed unexpectedly. Observed change stream events: " + [js_test:collation] tojson(changes)); [js_test:collation] cursor = self.getNextBatch(cursor); [js_test:collation] changes[i] = getNextDocFromCursor(cursor); [js_test:collation] return changes[i] !== null; [js_test:collation] } : timed out waiting for another result from the change stream, observed changes: [ null ], expected changes: 1 The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`). : [js_test:collation] doassert@src/mongo/shell/assert.js:20:14 [js_test:collation] assert.soon@src/mongo/shell/assert.js:382:17 [js_test:collation] ChangeStreamTest/self.getNextChanges@jstests/libs/change_stream_util.js:203:13 [js_test:collation] ChangeStreamTest/self.assertNextChangesEqual@jstests/libs/change_stream_util.js:289:23 [js_test:collation] @jstests/change_streams/collation.js:40:1 [js_test:collation] @jstests/change_streams/collation.js:5:2 [js_test:collation] failed to load: jstests/change_streams/collation.js [js_test:collation] exiting with code -3

      Task.
       

            Assignee:
            andrii.dobroshynski@mongodb.com Andrii Dobroshynski (Inactive)
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: