...
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.
anton.korshunov commented on Wed, 21 Apr 2021 14:20:58 +0000: This could be a dup of SERVER-55672. anton.korshunov commented on Wed, 21 Apr 2021 14:08:08 +0000: And these tests in change_streams_sharded_collections_passthrough: jstests/change_streams/error_label.js jstests/change_streams/pipeline_style_updates.js jstests/change_streams/whole_cluster.js jstests/change_streams/apply_ops.js jstests/change_streams/only_wake_getmore_for_relevant_changes.js has a different symptom, but likely to have the same root cause. Task. anton.korshunov commented on Wed, 21 Apr 2021 14:05:04 +0000: Also the following tests in change_streams_secondary_reads: jstests/change_streams/does_not_implicitly_create_database.js jstests/change_streams/whole_db_metadata_notifications.js jstests/change_streams/whole_cluster_metadata_notifications.js stests/change_streams/whole_db.js Task. anton.korshunov commented on Wed, 21 Apr 2021 14:02:37 +0000: Similarly, the following tests fail in change_streams_multi_stmt_txn_sharded_collections_passthrough: jstests/change_streams/whole_db_resumability.js jstests/change_streams/pipeline_cannot_modify_id_field.js jstests/change_streams/whole_cluster_resumability.js jstests/change_streams/no_regex_leak.js Task.
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
Click on a version to see all relevant bugs
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.