Commit ad260ae
Disable test_joing_running_workers for TSAN. (pytorch#46966)
Summary:
Pull Request resolved: pytorch#46966
These tests had false positives in TSAN for modifying thread local
variables:
```
WARNING: ThreadSanitizer: data race (pid=5364)
Write of size 8 at 0x7b2c0004ff70 by thread T2:
#0 free <null> (libtools_build_sanitizers_tsan-py.so+0xde6ad)
#1 __GI__dl_deallocate_tls
Previous write of size 1 at 0x7b2c0004ff71 by thread T3:
#0 at::GradMode::set_enabled(bool) caffe2/aten/src/ATen/core/grad_mode.cpp:20 (libcaffe2_ATen-core.so+0x40e013)
#1 torch::autograd::set_grad_enabled(_object*, _object*) caffe2/torch/csrc/autograd/init.cpp:143 (libcaffe2__C_impl_cuda.so+0x115ef0e)
pytorch#2 _PyMethodDef_RawFastCallKeywords
Thread T3 (tid=5385, finished) created by main thread at:
#0 pthread_create <null> (libtools_build_sanitizers_tsan-py.so+0xc5a86)
#1 PyThread_start_new_thread
```
ghstack-source-id: 115330433
Test Plan: waitforbuildbot
Reviewed By: mrshenli
Differential Revision: D24584411
fbshipit-source-id: e35f704dfcb7b161a13a4902beaf8b1e41ccd5961 parent 9fefb40 commit ad260ae
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments