-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Change streams, Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
QE 2022-05-16, QE 2022-05-30
-
141
Logkeeper has a 4MB line length limit but the jstests/change_streams/lookup_pit_pre_and_post_image_in_transaction.js test is consistently generating several 7MB log lines.
$ python buildscripts/resmoke.py run --suite=change_streams_mongos_passthrough jstests/change_streams/lookup_pit_pre_and_post_image_in_transaction.js > temp.log $ awk '{print length}' temp.log | sort -n | uniq -c | tail -n 3 1 3846 16 7340097 16 7340098
This causes tests which fail in the same execution task to become "setup failed" (lavender) rather than "failed" (red) in Evergreen. Setup failures are intentionally ignored by the Build Barons so this can lead to delays in the timeliness of identifying true failures. (Setup failures are ignored because logkeeper instability has been generally accepted and accommodated within the testing infrastructure, see SERVER-35472.)
[2022/05/02 20:52:55.994] [fallback] Encountered an HTTP error: 400 Client Error: Bad Request for url: https://logkeeper.mongodb.org/build/604b1fc3e6d8c5e6d9e2fd5da06b419f/test/6270449ebe07c46a236738a7/ [2022/05/02 20:52:58.104] [fallback] Encountered an HTTP error: 400 Client Error: Bad Request for url: https://logkeeper.mongodb.org/build/604b1fc3e6d8c5e6d9e2fd5da06b419f/test/6270449ebe07c46a236738a7/ [2022/05/02 21:01:48.569] [fallback] Failed to flush all log output (2205 messages) to logkeeper.
The 7MB log lines in the test success case appears to be caused by how ChangeStreamTest#assertNextChangesEqual() uses JavaScript exceptions for control flow. assertChangeStreamEventEq() throwing an exception is caught by _convertExceptionToReturnStatus() but catching the exception thrown by an assert.xx() function still logs an assertion message.
- is related to
-
SERVER-66062 make sure jstests/change_streams/ddl_create_index_txn.js doesn't use a cross shard transaction
- Closed
- related to
-
SERVER-67073 Failures appear to be masked by setup failures
- Closed