gloo
gloo copied to clipboard
test failure: connection reset by peer
[ RUN ] Transport/TransportMultiProcTest.UnboundIoErrors/44
terminate called after throwing an instance of 'gloo::IoException'
what(): [/home/lumin/Debian/gloo.pkg/gloo/gloo/transport/tcp/pair.cc:374] writev [::1]:54172: Connection reset by peer
/home/lumin/Debian/gloo.pkg/gloo/gloo/test/transport_test.cc:200: Failure
Value of: WIFEXITED(result)
Actual: false
Expected: true
6
[ FAILED ] Transport/TransportMultiProcTest.UnboundIoErrors/44, where GetParam() = (4, 4, 50, 2) (122 ms)
Thanks for the issue report!
Is this consistently reproducible for you? These tests are passing for me.
It is possible this is a timing issue, e.g. a destruction time problem that is only triggered every so often.
@pietern This failure happens randomly with a low possibility. I ran the test for more than 10 times and it only failed once.
~/D/g/gloo ❯❯❯ ./obj-x86_64-linux-gnu/gloo/test/gloo_test --gtest_filter='*UnboundIoErrors/44*' --gtest_shuffle
Note: Google Test filter = *UnboundIoErrors/44*
Note: Randomizing tests' orders with a seed of 16585 .
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Transport/TransportMultiProcTest
[ RUN ] Transport/TransportMultiProcTest.UnboundIoErrors/44
[ OK ] Transport/TransportMultiProcTest.UnboundIoErrors/44 (123 ms)
[----------] 1 test from Transport/TransportMultiProcTest (123 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (123 ms total)
[ PASSED ] 1 test.
~/D/g/gloo ❯❯❯ ./obj-x86_64-linux-gnu/gloo/test/gloo_test --gtest_filter='*UnboundIoErrors/44*' --gtest_shuffle
Note: Google Test filter = *UnboundIoErrors/44*
Note: Randomizing tests' orders with a seed of 16975 .
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Transport/TransportMultiProcTest
[ RUN ] Transport/TransportMultiProcTest.UnboundIoErrors/44
terminate called after throwing an instance of 'gloo::IoException'
what(): [/home/lumin/Debian/gloo.pkg/gloo/gloo/transport/tcp/pair.cc:374] writev [::1]:2440: Connection reset by peer
/home/lumin/Debian/gloo.pkg/gloo/gloo/test/transport_test.cc:200: Failure
Value of: WIFEXITED(result)
Actual: false
Expected: true
6
[ FAILED ] Transport/TransportMultiProcTest.UnboundIoErrors/44, where GetParam() = (4, 4, 50, 2) (107 ms)
[----------] 1 test from Transport/TransportMultiProcTest (107 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (107 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] Transport/TransportMultiProcTest.UnboundIoErrors/44, where GetParam() = (4, 4, 50, 2)
1 FAILED TEST
~/D/g/gloo ❯❯❯ ./obj-x86_64-linux-gnu/gloo/test/gloo_test --gtest_filter='*UnboundIoErrors/44*' --gtest_shuffle
Note: Google Test filter = *UnboundIoErrors/44*
Note: Randomizing tests' orders with a seed of 17353 .
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Transport/TransportMultiProcTest
[ RUN ] Transport/TransportMultiProcTest.UnboundIoErrors/44
[ OK ] Transport/TransportMultiProcTest.UnboundIoErrors/44 (141 ms)
[----------] 1 test from Transport/TransportMultiProcTest (141 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (141 ms total)
[ PASSED ] 1 test.