incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kone" <>
Subject Re: Review Request: More ZooKeeper Master Detector tests
Date Fri, 02 Nov 2012 22:29:19 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 2, 2012, 10:29 p.m.)

Review request for mesos, Benjamin Hindman and Ben Mahler.


the SEGFAULT happens after a few iterations (and is repeatable). 


Its quite hard to test true network partition behavior, so these tests expire zk sessions
as a close approximation.


  src/detector/detector.cpp 57febbb22e2abf193f7881839b31db69d49b14df 
  src/tests/zookeeper_tests.cpp fff53b84356243663cfc75d66ddb3a1a7faf8043 


Testing (updated)

make check.

When running in a repeat loop, I found the following JVM error (in iteration 12). It looks
un-related to current tests

[vinod@smfd-aki-27-sr1:~/mesos/build] $ GLOG_v=1 ./bin/ --gtest_filter="*Expire*"
 --verbose --gtest_repeat=-1 --gtest_break_on_failure
I1102 22:21:46.203616 28200 detector.cpp:331] Created ephemeral/sequence znode at '/mesos/0000000003'
I1102 22:21:46.203902 28198 detector.cpp:486] Master detector ((290)@ 
found 2 registered masters
I1102 22:21:46.204463 28200 detector.cpp:486] Master detector ((287)@ 
found 2 registered masters
I1102 22:21:46.205245 28200 detector.cpp:532] Master detector ((287)@ 
got new master pid: (290)@
../../src/tests/zookeeper_tests.cpp:441: Failure
Mock function called more times than expected - returning directly.
    Function call: newMasterDetected(@0x451ffe90 (290)@
         Expected: to be called once
           Actual: called twice - over-saturated and active
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x000000000075a304, pid=28178, tid=1159727424
# JRE version: 7.0_10-b10
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [lt-mesos-tests+0x35a304]  cgroups::removeCgroup(std::string const&, std::string
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit
-c unlimited" before starting Java again
# An error report file with more information is saved as:
# /home/vinod/mesos/build/hs_err_pid28178.log
# If you would like to submit a bug report, please visit:


Vinod Kone

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message