Repository: pytorch
Issue: DISABLED TCPStoreTest.testMultiTenantStores (__main__.TCPStoreTest)
Labels: module: rocm,triaged,module: flaky-tests,skipped

Platforms: rocm

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=TCPStoreTest.testMultiTenantStores&suite=TCPStoreTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/33883747655).

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `TCPStoreTest.testMultiTenantStores`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.



<details><summary>Sample error message</summary>

```
unknown file
C++ exception with description "The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use). The server could not be initialized on any address for port=29500, family=10 The server socket has failed to bind to 0.0.0.0:29500 (errno: 98 - Address already in use). The server could not be initialized on any address for port=29500, family=2
Exception raised from run at /var/lib/jenkins/workspace/torch/csrc/distributed/c10d/socket.cpp:558 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0xb0 (0x7fc973795400 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libc10.so)
frame #1: <unknown function> + 0x14ce6df (0x7fc974cd26df in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #2: <unknown function> + 0x6803ba5 (0x7fc97a007ba5 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #3: <unknown function> + 0x67c96e2 (0x7fc979fcd6e2 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #4: <unknown function> + 0x67c0e70 (0x7fc979fc4e70 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #5: c10d::TCPStore::TCPStore(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, c10d::TCPStoreOptions const&) + 0x46f (0x7fc979fc7d3f in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #6: testMultiTenantStores(bool) + 0xd3 (0x5618300c69c3 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #7: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 0x51 (0x56183010a021 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #8: <unknown function> + 0x5aa90 (0x5618300f9a90 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #9: testing::TestInfo::Run() + 0x40a (0x5618300f9faa in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #10: <unknown function> + 0x5f089 (0x5618300fe089 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #11: testing::internal::UnitTestImpl::RunAllTests() + 0xf28 (0x5618300ff4d8 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #12: testing::UnitTest::Run() + 0x93 (0x5618300ffca3 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #13: main + 0x44 (0x5618300c4874 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #14: __libc_start_main + 0xf3 (0x7fc96c604083 in /lib/x86_64-linux-gnu/libc.so.6)
frame #15: _start + 0x2e (0x5618300c4cde in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
" thrown in the test body.
unknown file:0: C++ failure
```

</details>


Test file path: `` or `test/run_test`

Error: Error retrieving : 400, test/run_test: 404

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @clee2000 @wdvr