[ 
https://issues.apache.org/jira/browse/MESOS-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088603#comment-15088603
 ] 

Neil Conway commented on MESOS-3472:
------------------------------------

I added a bit more logging, which yields the following:

{noformat}
Clock::now.secs = 1.48397e+09; long = 1483973693
Days(365).secs = 3.1536e+07; long = 31536000
expirySecs: 1.45244e+09; long = 1452437693
stringify(expirySecs): 1.45244e+09
claimsJsonString = {"access"       :[         {           "type":"repository",  
         "name":"library/busybox",           "actions":["pull"]}],           
"aud":"registry.docker.io",           "exp":1.45244e+09,           
"iat":1438887166,           "iss":"auth.docker.io",           
"jti":"l2PJDFkzwvoL7-TajJF7",           "nbf":1438887166,           "sub":""    
      }
token string = 
eyAgICAgICAiYWxnIjoiRVMyNTYiLCAgICAgICAidHlwIjoiSldUIiwgICAgICAgIng1YyI6WyJ0ZXN0Il0gICAgIH0=.eyJhY2Nlc3MiICAgICAgIDpbICAgICAgICAgeyAgICAgICAgICAgInR5cGUiOiJyZXBvc2l0b3J5IiwgICAgICAgICAgICJuYW1lIjoibGlicmFyeS9idXN5Ym94IiwgICAgICAgICAgICJhY3Rpb25zIjpbInB1bGwiXX1dLCAgICAgICAgICAgImF1ZCI6InJlZ2lzdHJ5LmRvY2tlci5pbyIsICAgICAgICAgICAiZXhwIjoxLjQ1MjQ0ZSswOSwgICAgICAgICAgICJpYXQiOjE0Mzg4ODcxNjYsICAgICAgICAgICAiaXNzIjoiYXV0aC5kb2NrZXIuaW8iLCAgICAgICAgICAgImp0aSI6ImwyUEpERmt6d3ZvTDctVGFqSkY3IiwgICAgICAgICAgICJuYmYiOjE0Mzg4ODcxNjYsICAgICAgICAgICAic3ViIjoiIiAgICAgICAgICB9.eyIifQ==
../../mesos/src/tests/containerizer/provisioner_docker_tests.cpp:265: Failure
Value of: token.isError()
  Actual: false
Expected: true
{noformat}

> 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)

Reply via email to