[SERVER-85430] Improve Helper Text/Docs to reproduce TSAN failures Created: 12/Jan/24  Updated: 30/Jan/24  Resolved: 19/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Minor - P4
Reporter: Charlie Swanson Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: feature-to-discuss
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Correctness
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Full slack thread below, but the highlights for consideration as this one ticket or split out for several tickets:

  • We should make the resmoke invocation blob display the TSAN_OPTIONS to configure
  • It is not obvious that the "san" build profile includes address and undefined but not thread... Can we name them better? or at least add a 'tsan' option?

 

Slack Thread captured from #server-testing by charlie.swanson@mongodb.com

  1. Having trouble reproducing your failure with this? Feel free to reach out in #server-testing.

mkdir -p jstestfuzz/ && \
rm -rf jstestfuzz/* && \
wget '<https://mciuploads.s3.amazonaws.com/mongodb-mongo-master/enterprise-rhel80-debug-tsan/939c396b2905b7c1da460e180ef5fb63bf5f0cbe/jstestfuzz/mongodb_mongo_master_enterprise_rhel80_debug_tsan_jstestfuzz_replication_3_linux_enterprise_939c396b2905b7c1da460e180ef5fb63bf5f0cbe_24_01_06_18_19_10-0.tgz>' -O jstests.tgz && \
tar -xf jstests.tgz -C jstestfuzz/ && \
rm jstests.tgz && \
buildscripts/resmoke.py run {}suites=jstestfuzz_replication -excludeWithAnyTags=tsan_incompatible --jobs=1 '-mongodSetParameters={logComponentVerbosity: {command: 2}}' --storageEngineCacheSizeGB=1```



 Comments   
Comment by Githook User [ 19/Jan/24 ]

Author:

{'name': 'Trevor', 'email': 'trevorguidry6@gmail.com', 'username': 'Trevor159'}

Message: SERVER-85430 add resmoke env options to local invocation file (#18168)

GitOrigin-RevId: 8b4f142cbb844f50f4cc2e648fd7d156563a9d52
Branch: master
https://github.com/mongodb/mongo/commit/d5414c0522e34fd60f3417f29b01f8c7f02e461e

Comment by Steve Gross [ 18/Jan/24 ]

trevor.guidry@mongodb.com : Apparently the tsan-related options used to be present in the run-resmoke-locally instructions, but maybe they got removed somehow...? Can you take a look to see if they can be (easily?) re-added?

Comment by Alex Neben [ 18/Jan/24 ]

Can we also add a build profile for tsan.

Comment by Alex Neben [ 18/Jan/24 ]

I think this issues is pretty simple and fast to fix (e.g. add TSAN_OPTIONS/ASAN_OPTIONS/etc...=... to resmoke invocation in evergreen). I think this is something we should try to get prioritized pretty quickly.

Generated at Thu Feb 08 06:57:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.