[
https://issues.apache.org/jira/browse/MESOS-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090209#comment-15090209
]
Joseph Wu commented on MESOS-3472:
----------------------------------
\#4 may be difficult to do without some weird side-effects.
I implemented some clock cleanup here: [MESOS-3882]. But rolling back the
clock could potentially leave some timers active.
Ideally, we'd want to clean up all of libprocess's state in between tests that
reset the clock. You can look through some of the reviews out for doing just
that: [MESOS-3820].
> RegistryTokenTest.ExpiredToken test is flaky
> --------------------------------------------
>
> Key: MESOS-3472
> URL: https://issues.apache.org/jira/browse/MESOS-3472
> Project: Mesos
> Issue Type: Bug
> Reporter: Artem Harutyunyan
> Assignee: Neil Conway
> Labels: flaky, mesosphere
>
> RegistryTokenTest.ExpiredToken test is flaky. Here is the error I got on OSX
> after running it for several times:
> {noformat}
> [ RUN ] RegistryTokenTest.ExpiredToken
> ../../src/tests/containerizer/provisioner_docker_tests.cpp:167: Failure
> Value of: token.isError()
> Actual: false
> Expected: true
> libc++abi.dylib: terminating with uncaught exception of type
> testing::internal::GoogleTestFailureException:
> ../../src/tests/containerizer/provisioner_docker_tests.cpp:167: Failure
> Value of: token.isError()
> Actual: false
> Expected: true
> *** Aborted at 1442708631 (unix time) try "date -d @1442708631" if you are
> using GNU date ***
> PC: @ 0x7fff925fd286 __pthread_kill
> *** SIGABRT (@0x7fff925fd286) received by PID 7082 (TID 0x7fff7d7ad300) stack
> trace: ***
> @ 0x7fff9041af1a _sigtramp
> @ 0x7fff59759968 (unknown)
> @ 0x7fff9bb429b3 abort
> @ 0x7fff90ce1a21 abort_message
> @ 0x7fff90d099b9 default_terminate_handler()
> @ 0x7fff994767eb _objc_terminate()
> @ 0x7fff90d070a1 std::__terminate()
> @ 0x7fff90d06d48 __cxa_rethrow
> @ 0x10781bb16
> testing::internal::HandleExceptionsInMethodIfSupported<>()
> @ 0x1077e9d30 testing::UnitTest::Run()
> @ 0x106d59a91 RUN_ALL_TESTS()
> @ 0x106d55d47 main
> @ 0x7fff8fc395c9 start
> @ 0x3 (unknown)
> Abort trap: 6
> ~/src/mesos/build ((3ee82e3...)) $
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)