Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-965

GroupTest.GroupWatchWithSessionExpiration is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • test
    • None

    Description

      [ RUN ] GroupTest.GroupWatchWithSessionExpiration
      I0203 12:41:41.589150 4555 zookeeper_test_server.cpp:158] Started ZooKeeperTestServer on port 39607
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@712: Client environment:zookeeper.version=zookeeper C client 3.4.5
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@716: Client environment:host.name=quantal
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@723: Client environment:os.name=Linux
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@724: Client environment:os.arch=3.5.0-45-generic
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@725: Client environment:os.version=#68-Ubuntu SMP Mon Dec 2 21:58:52 UTC 2013
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@733: Client environment:user.name=(null)
      2014-02-03 12:41:41,590:4555(0x2ae4dea22700):ZOO_INFO@log_env@741: Client environment:user.home=/home/jenkins
      2014-02-03 12:41:41,591:4555(0x2ae4dea22700):ZOO_INFO@log_env@753: Client environment:user.dir=/var/jenkins/workspace/mesos-ubuntu-12.10-gcc/src
      2014-02-03 12:41:41,591:4555(0x2ae4dea22700):ZOO_INFO@zookeeper_init@786: Initiating client connection, host=127.0.0.1:39607 sessionTimeout=5000 watcher=0x2ae4d6f3eb00 sessionId=0 sessionPasswd=<null> context=0x2ae4f8022cc0 flags=0
      2014-02-03 12:41:41,595:4555(0x2ae509a2c700):ZOO_INFO@check_events@1703: initiated connection to server [127.0.0.1:39607]
      2014-02-03 12:41:41,610:4555(0x2ae509a2c700):ZOO_INFO@check_events@1750: session establishment complete on server [127.0.0.1:39607], sessionId=0x143f97c2dd30000, negotiated timeout=6000
      I0203 12:41:41.612758 4575 group.cpp:310] Group process ((1939)@127.0.1.1:42286) connected to ZooKeeper
      I0203 12:41:41.612799 4575 group.cpp:752] Syncing group operations: queue size (joins, cancels, datas) = (1, 0, 0)
      I0203 12:41:41.612812 4575 group.cpp:367] Trying to create path '/test' in ZooKeeper
      2014-02-03 12:41:41,640:4555(0x2ae509a2c700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39607] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
      I0203 12:41:41.641166 4580 group.cpp:400] Lost connection to ZooKeeper, attempting to reconnect ...
      2014-02-03 12:41:43,641:4555(0x2ae509a2c700):ZOO_INFO@check_events@1703: initiated connection to server [127.0.0.1:39607]
      2014-02-03 12:41:43,643:4555(0x2ae509a2c700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39607] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x143f97c2dd30000 has expired.
      tests/group_tests.cpp:195: Failure
      Value of: membership.get().cancelled().isReady()
      Actual: false
      Expected: true
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@zookeeper_close@2522: Freeing zookeeper resources for sessionId=0x143f97c2dd30000

      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@712: Client environment:zookeeper.version=zookeeper C client 3.4.5
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@716: Client environment:host.name=quantal
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@723: Client environment:os.name=Linux
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@724: Client environment:os.arch=3.5.0-45-generic
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@725: Client environment:os.version=#68-Ubuntu SMP Mon Dec 2 21:58:52 UTC 2013
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@733: Client environment:user.name=(null)
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@741: Client environment:user.home=/home/jenkins
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@log_env@753: Client environment:user.dir=/var/jenkins/workspace/mesos-ubuntu-12.10-gcc/src
      2014-02-03 12:41:43,645:4555(0x2ae4dea22700):ZOO_INFO@zookeeper_init@786: Initiating client connection, host=127.0.0.1:39607 sessionTimeout=5000 watcher=0x2ae4d6f3eb00 sessionId=0 sessionPasswd=<null> context=0x2ae4f80425f0 flags=0
      2014-02-03 12:41:43,648:4555(0x2ae508e26700):ZOO_INFO@check_events@1703: initiated connection to server [127.0.0.1:39607]
      2014-02-03 12:41:43,654:4555(0x2ae4de219d80):ZOO_INFO@zookeeper_close@2522: Freeing zookeeper resources for sessionId=0

      I0203 12:41:43.661120 4555 zookeeper_test_server.cpp:122] Shutdown ZooKeeperTestServer on port 39607
      [ FAILED ] GroupTest.GroupWatchWithSessionExpiration (2076 ms)

      Attachments

        Activity

          People

            xujyan Yan Xu
            xujyan Yan Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: