Error

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, std::allocator >) + 0xb0 (0x7fc973795400 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libc10.so)

frame #1: + 0x14ce6df (0x7fc974cd26df in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)

frame #2: + 0x6803ba5 (0x7fc97a007ba5 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)

frame #3: + 0x67c96e2 (0x7fc979fcd6e2 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/libtorch_cpu.so)

frame #4: + 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, std::allocator >, 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::*)(), char const*) + 0x51 (0x56183010a021 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/bin/TCPStoreTest)

frame #8: + 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: + 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

Solution

Please check that the job name looks correct.