Project: mesos
Issue MESOS-3138: PersistentVolumeTest.SlaveRecovery test fails on OSX
With a clean build ({{make clean}}) running this tests fails: {code} GTEST_FILTER="PersistentVolumeTest.*" make check {code} This is the log: {noformat} [==========] Running 7 tests from 1 test case. [----------] Global test environment set-up. [----------] 7 tests from PersistentVolumeTest [ RUN ] PersistentVolumeTest.SendingCheckpointResourcesMessage [ OK ] PersistentVolumeTest.SendingCheckpointResourcesMessage (189 ms) [ RUN ] PersistentVolumeTest.ResourcesCheckpointing [ OK ] PersistentVolumeTest.ResourcesCheckpointing (86 ms) [ RUN ] PersistentVolumeTest.PreparePersistentVolume [ OK ] PersistentVolumeTest.PreparePersistentVolume (82 ms) [ RUN ] PersistentVolumeTest.MasterFailover [ OK ] PersistentVolumeTest.MasterFailover (130 ms) [ RUN ] PersistentVolumeTest.IncompatibleCheckpointedResources [ OK ] PersistentVolumeTest.IncompatibleCheckpointedResources (74 ms) [ RUN ] PersistentVolumeTest.AccessPersistentVolume I0723 11:21:40.265787 1955922688 exec.cpp:132] Version: 0.24.0 I0723 11:21:40.268676 174858240 exec.cpp:206] Executor registered on slave 20150723-112140-16777343-61858-2866-S0 E0723 11:21:40.268697 178077696 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] E0723 11:21:40.273510 178077696 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] Registered executor on localhost Starting task 39e32f2b-475e-4754-9e3d-39fd56fb787b Forked command at 2911 sh -c 'echo abc > path1/file' E0723 11:21:40.281900 178077696 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] Command exited with status 0 (pid: 2911) E0723 11:21:40.389068 178077696 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] [ OK ] PersistentVolumeTest.AccessPersistentVolume (421 ms) [ RUN ] PersistentVolumeTest.SlaveRecovery I0723 11:21:40.639749 1955922688 exec.cpp:132] Version: 0.24.0 I0723 11:21:40.641904 187400192 exec.cpp:206] Executor registered on slave 20150723-112140-16777343-61858-2866-S0 E0723 11:21:40.641943 191156224 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] E0723 11:21:40.646507 191156224 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] Registered executor on localhost Starting task 809fa50f-bee0-4c9b-a770-434183a9650b sh -c 'while true; do test -d path1; done' Forked command at 2941 E0723 11:21:40.655097 191156224 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] I0723 11:21:40.671840 186863616 exec.cpp:252] Received reconnect request from slave 20150723-112140-16777343-61858-2866-S0 E0723 11:21:40.671953 191156224 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] I0723 11:21:40.672744 187400192 exec.cpp:229] Executor re-registered on slave 20150723-112140-16777343-61858-2866-S0 E0723 11:21:40.672839 191156224 socket.hpp:173] Shutdown failed on fd=18: Socket is not connected [57] Re-registered executor on localhost ../../src/tests/persistent_volume_tests.cpp:709: Failure Value of: status2.get().state() Actual: TASK_FAILED Expected: TASK_KILLED [ FAILED ] PersistentVolumeTest.SlaveRecovery (286 ms) [----------] 7 tests from PersistentVolumeTest (1268 ms total) [----------] Global test environment tear-down [==========] 7 tests from 1 test case ran. (1289 ms total) [ PASSED ] 6 tests. [ FAILED ] 1 test, listed below: [ FAILED ] PersistentVolumeTest.SlaveRecovery 1 FAILED TEST YOU HAVE 8 DISABLED TESTS {noformat}
Story points: 2