[SERVER-30965] Run the fuzzer with a permanent logical session Created: 06/Sep/17  Updated: 30/Oct/23  Resolved: 15/Sep/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Eddie Louie
Resolution: Fixed Votes: 0
Labels: sharding36-passthrough-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-30912 shardCollection command hangs when ru... Closed
has to be done after SERVER-31022 renameCollection with dropTarget can ... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-10-02
Participants:

 Description   

New resmoke.py YAML suites and Evergreen tasks should be defined to run the fuzzer with a logical session in both a replica set and in a sharded cluster. The YAML suite should be adapted from the existing jstestfuzz_replication.yml, jstestfuzz_sharded.yml, and session_jscore_passthrough.yml suites where it'll run tests from the jstestfuzz/out/ directory against either a two-node replica set or a sharded cluster with two replica set shards.

Note: The new suite need not define a TestData.runningWithSessions=true option since the fuzzer can implement configuration-specific blacklisting based on the presence of the "lsid" property in the command object.

Additionally, the DriverSession#endSession() method on the session started by the jstests/libs/override_methods/enable_sessions.js script should be overridden as a no-op to ensure the fuzzer doesn't accidentally end the session.

Names of new resmoke.py YAML suites
  • jstestfuzz_replication_session.yml
  • jstestfuzz_sharded_session.yml
Names of new Evergreen tasks
  • jstestfuzz_replication_session
  • jstestfuzz_replication_session_WT
  • jstestfuzz_sharded_session
  • jstestfuzz_sharded_session_WT
  • jstestfuzz_concurrent_replication_session
  • jstestfuzz_concurrent_replication_session_WT
  • jstestfuzz_concurrent_sharded_session
  • jstestfuzz_concurrent_sharded_session_WT

The new Evergreen tasks should be run on the following build variants:

  • Enterprise RHEL 6.2
  • Enterprise RHEL 6.2 (inMemory)
  • SSL Windows 2008R2
  • SSL OS X 10.10
  • ASAN SSL Ubuntu 16.04


 Comments   
Comment by Ramon Fernandez Marina [ 15/Sep/17 ]

Author:

{'username': u'elouie99', 'name': u'Eddie Louie', 'email': u'eddie.louie@mongodb.com'}

Message:SERVER-30965 Run the fuzzer with a permanent logical session
Branch:master
https://github.com/mongodb/mongo/commit/84cb3ecc1e249f2d96a6d12c2cf2d22516e59efa

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