[
https://issues.apache.org/jira/browse/MESOS-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14639365#comment-14639365
]
Jie Yu commented on MESOS-3138:
-------------------------------
I can reproduce it on my Mac too. THis log line is the issue:
{noformat}
E0723 11:55:42.704345 251854848 slave.cpp:2605] Failed to update resources for
container a18a036d-a670-4710-aeb5-25f7b1f18d97 of executor
'4fdade51-66c7-4d06-937d-8d4e91134f81' of framework 20150723-115542-1677
7343-58516-14308-0000, destroying container: Collect failed: The existing
symlink
'/tmp/PersistentVolumeTest_SlaveRecovery_OMwHua/slaves/20150723-115542-16777343-58516-14308-S0/frameworks/20150723-115542-167773
43-58516-14308-0000/executors/4fdade51-66c7-4d06-937d-8d4e91134f81/runs/a18a036d-a670-4710-aeb5-25f7b1f18d97/path1'
points to
'/tmp/PersistentVolumeTest_SlaveRecovery_OMwHua/volumes/roles/role1/id1' and
the new
target is
'/private/tmp/PersistentVolumeTest_SlaveRecovery_OMwHua/volumes/roles/role1/id1'
{noformat}
> PersistentVolumeTest.SlaveRecovery test fails on OSX
> ----------------------------------------------------
>
> Key: MESOS-3138
> URL: https://issues.apache.org/jira/browse/MESOS-3138
> Project: Mesos
> Issue Type: Bug
> Reporter: Marco Massenzio
> Assignee: Jie Yu
> Attachments: test-results-verbose.log, test-resutls-stderr.log
>
>
> 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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)