You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/03/10 20:24:42 UTC

[jira] [Resolved] (MESOS-1077) Registrar tests are flaky.

     [ https://issues.apache.org/jira/browse/MESOS-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler resolved MESOS-1077.
------------------------------------

    Resolution: Fixed

{noformat}
commit 7570b96e425368a2e9b7781b8c9f9a88875a4fe5
Author: Benjamin Mahler <bm...@twitter.com>
Date:   Mon Mar 10 11:39:16 2014 -0700

    Fixed the flaky Registrar tests.

    Review: https://reviews.apache.org/r/18977
{noformat}

> Registrar tests are flaky.
> --------------------------
>
>                 Key: MESOS-1077
>                 URL: https://issues.apache.org/jira/browse/MESOS-1077
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>             Fix For: 0.19.0
>
>
> Looks like the tests are using an empty MasterInfo.
> {noformat}
> [----------] 4 tests from RegistrarTest
> [ RUN      ] RegistrarTest.recover
> I0307 15:58:37.984900 25438 registrar.cpp:216] Recovering registrar
> I0307 15:58:37.989827 25441 registrar.cpp:242] Successfully recovered registrar
> I0307 15:58:37.989867 25441 registrar.cpp:378] Attempting to update the 'registry'
> I0307 15:58:37.992431 25438 registrar.cpp:413] Successfully updated 'registry'
> I0307 15:58:37.992526 25438 registrar.cpp:378] Attempting to update the 'registry'
> I0307 15:58:37.994709 25441 registrar.cpp:413] Successfully updated 'registry'
> I0307 15:58:37.994753 25441 registrar.cpp:378] Attempting to update the 'registry'
> I0307 15:58:37.996723 25443 registrar.cpp:413] Successfully updated 'registry'
> [       OK ] RegistrarTest.recover (19 ms)
> [ RUN      ] RegistrarTest.admit
> I0307 15:58:38.004277 25441 registrar.cpp:216] Recovering registrar
> I0307 15:58:38.007971 25439 registrar.cpp:242] Successfully recovered registrar
> I0307 15:58:38.008002 25439 registrar.cpp:378] Attempting to update the 'registry'
> [libprotobuf FATAL google/protobuf/message_lite.cc:273] CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> libprocess: registrar@192.168.122.164:55109 terminating due to CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> 2014-03-07 15:58:40,536:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:58:43,872:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:58:47,206:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> tests/registrar_tests.cpp:122: Failure
> Failed to wait 10secs for registrar.recover(MasterInfo())
> [  FAILED  ] RegistrarTest.admit (10004 ms)
> [ RUN      ] RegistrarTest.readmit
> I0307 15:58:48.006923 25437 registrar.cpp:216] Recovering registrar
> I0307 15:58:48.013659 25439 registrar.cpp:242] Successfully recovered registrar
> I0307 15:58:48.013696 25439 registrar.cpp:378] Attempting to update the 'registry'
> [libprotobuf FATAL google/protobuf/message_lite.cc:273] CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> libprocess: registrar@192.168.122.164:55109 terminating due to CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> 2014-03-07 15:58:50,543:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:58:53,880:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:58:57,217:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> tests/registrar_tests.cpp:142: Failure
> Failed to wait 10secs for registrar.recover(MasterInfo())
> [  FAILED  ] RegistrarTest.readmit (10001 ms)
> [ RUN      ] RegistrarTest.remove
> I0307 15:58:58.007901 25441 registrar.cpp:216] Recovering registrar
> I0307 15:58:58.014595 25440 registrar.cpp:242] Successfully recovered registrar
> I0307 15:58:58.014668 25440 registrar.cpp:378] Attempting to update the 'registry'
> [libprotobuf FATAL google/protobuf/message_lite.cc:273] CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> libprocess: registrar@192.168.122.164:55109 terminating due to CHECK failed: IsInitialized(): Can't serialize message of type "mesos.internal.Registry" because it is missing required fields: master.info.id, master.info.ip, master.info.port
> 2014-03-07 15:59:00,554:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:59:03,890:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> 2014-03-07 15:59:07,227:25417(0x7fd7c9443700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:47993] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> tests/registrar_tests.cpp:172: Failure
> Failed to wait 10secs for registrar.recover(MasterInfo())
> [  FAILED  ] RegistrarTest.remove (10001 ms)
> [----------] 4 tests from RegistrarTest (30026 ms total)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)