[SERVER-28162] Tests that call getLatestProfilerEntry() should be blacklisted from dynamic initial sync passthrough suites Created: 01/Mar/17  Updated: 14/Jun/17  Resolved: 02/Mar/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.6, 3.5.4

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Query 2017-03-06
Participants:
Linked BF Score: 0

 Description   

Any test that calls getLatestProfilerEntry() in the "dynamic" initial sync passthrough suites is almost certainly broken. The test expects to see the most recent operation it ran in the profiler, but sometimes it will see an operation performed by the downstream syncing node instead. We should blacklist all tests that call getLatestProfilerEntry() from the "dynamic" initial sync passthrough suites.

The "dynamic" initial sync passthrough suites are the passthrough suites that use the hook BackgroundInitialSync. These include:
replica_sets_initsync_jscore_passthrough
replica_sets_resync_jscore_passthrough

The tests in core that call getLatestProfilerEntry() are:
jstests/core/profile_agg.js
jstests/core/profile_count.js
jstests/core/profile_delete.js
jstests/core/profile_distinct.js
jstests/core/profile_find.js
jstests/core/profile_findandmodify.js
jstests/core/profile_geonear.js
jstests/core/profile_getmore.js
jstests/core/profile_group.js
jstests/core/profile_insert.js
jstests/core/profile_mapreduce.js
jstests/core/profile_update.js



 Comments   
Comment by Githook User [ 14/Jun/17 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-28162 Tests that call getLatestProfilerEntry() should be blacklisted from dynamic initial sync passthrough suites

(cherry picked from commit a6a96cdfea2143c0f64458c6d9587a93ae441f02)
Branch: v3.4
https://github.com/mongodb/mongo/commit/786f52b43e6aced5a2c85efb42d8b9e363e3ad03

Comment by Githook User [ 02/Mar/17 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-28162 Tests that call getLatestProfilerEntry() should be blacklisted from dynamic initial sync passthrough suites
Branch: master
https://github.com/mongodb/mongo/commit/a6a96cdfea2143c0f64458c6d9587a93ae441f02

Generated at Thu Feb 08 04:17:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.