Repository: pytorch
Issue: DISABLED TCPStoreTest.testMultiTenantStoresUV (__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.testMultiTenantStoresUV&suite=TCPStoreTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/32191268418).

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.testMultiTenantStoresUV`
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. port: 29500, useIpv6: 0, code: -98, name: EADDRINUSE, message: address already in use
Exception raised from makeWithPort at /var/lib/jenkins/workspace/torch/csrc/distributed/c10d/TCPStoreLibUvBackend.cpp:286 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0xb0 (0x7f057d9522e0 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0xfa (0x7f057d8f581e in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libc10.so)
frame #2: <unknown function> + 0x64d9fb5 (0x7f0583ed1fb5 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #3: <unknown function> + 0x1499c1d (0x7f057ee91c1d in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #4: <unknown function> + 0x64d4edc (0x7f0583eccedc in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #5: <unknown function> + 0x64c5915 (0x7f0583ebd915 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #6: c10d::TCPStore::TCPStore(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, c10d::TCPStoreOptions const&) + 0x3ff (0x7f0583ec063f in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)
frame #7: testMultiTenantStores(bool) + 0xd3 (0x55665c3b75c3 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #8: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 0x51 (0x55665c3f6911 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #9: <unknown function> + 0x57dd0 (0x55665c3e7dd0 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #10: <unknown function> + 0x58265 (0x55665c3e8265 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #11: <unknown function> + 0x589c1 (0x55665c3e89c1 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #12: testing::internal::UnitTestImpl::RunAllTests() + 0x10e9 (0x55665c3ea149 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #13: testing::UnitTest::Run() + 0x98 (0x55665c3ea668 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #14: main + 0x44 (0x55665c3b5484 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)
frame #15: __libc_start_main + 0xf3 (0x7f05767f7083 in /lib/x86_64-linux-gnu/libc.so.6)
frame #16: _start + 0x2e (0x55665c3b58de 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