[ https://issues.apache.org/jira/browse/MESOS-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361564#comment-16361564 ]
Chun-Hung Hsiao commented on MESOS-8567: ---------------------------------------- Root cause identified: {{FutureSatisfy(&secondCall)}} (and thus the second {{Clock::advance()}}) races with the dispatching of the second {{UriDiskProfileAdaptor::_poll()}}. If the second {{_poll()}} runs after the clock is advanced, the third {{_poll()}} won't be dispatched. > Test UriDiskProfileTest.FetchFromHTTP is flaky. > ----------------------------------------------- > > Key: MESOS-8567 > URL: https://issues.apache.org/jira/browse/MESOS-8567 > Project: Mesos > Issue Type: Task > Components: storage > Affects Versions: 1.5.0 > Reporter: Chun-Hung Hsiao > Assignee: Chun-Hung Hsiao > Priority: Major > Labels: mesosphere, storage > > The {{UriDiskProfileTest.FetchFromHTTP}} test is flaky on Debian 9: > {noformat} > ../../src/tests/disk_profile_tests.cpp:683 > Failed to wait 15secs for future > {noformat} > I also run it in repetition and got the following error log (although the > test itself is passed): > {noformat} > E0209 18:26:37.030012 7282 uri_disk_profile.cpp:220] Failed to parse result: > Failed to parse DiskProfileMapping message: INVALID_ARGUMENT:Unexpected end > of string. Expected a value. > ^ > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)