Ok I find out the compilation error

Mesos need more than 2Gb of RAM to make check with parallel = 2 (my VM was
limited to 2 Gb) upgrading to 4Gb solved it.

Concerning the failing test, even after merging
#14097<https://reviews.apache.org/r/14097/>it keep failing
I filled a issue MESOS-747

Best regards


2013/10/16 Vinod Kone <[email protected]>

> Mind filing a bug for the compiler error? We encountered these too before
> but were unable to nail down the root cause.
>
> The fix for the flaky fault tolerance test is at:
> https://reviews.apache.org/r/14097/
>
>
> On Wed, Oct 16, 2013 at 8:36 AM, Damien Hardy <[email protected]>wrote:
>
>> Hello,
>>
>> The last pull on master branch HEAD fails to build with parallel
>> compilation.
>> always on "tests/mesos_tests-slave_recovery_tests.o"
>> It used to work at commit d8da5f4 (october 2nd)
>>
>> [...]
>> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>> -DPACKAGE_VERSION=\"0.15.0\" -DPACKAGE_STRING=\"mesos\ 0.15.0\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>> -DVERSION=\"0.15.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1
>> -DHAVE_PYTHON=\"2.6\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1
>> -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I.   -Wall -Werror
>> -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/lib/mesos\"
>> -DPKGDATADIR=\"/usr/share/mesos\" -I../include
>> -I../3rdparty/libprocess/include
>> -I../3rdparty/libprocess/3rdparty/stout/include -I../include
>> -I../3rdparty/libprocess/3rdparty/boost-1.53.0
>> -I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src
>> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src
>> -I../3rdparty/zookeeper-3.3.4/src/c/include
>> -I../3rdparty/zookeeper-3.3.4/src/c/generated
>> -DSOURCE_DIR=\"/home/vagrant/mesos\" -DBUILD_DIR=\"/home/vagrant/mesos\"
>> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include
>> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include
>> -I/usr/lib/jvm/java-6-openjdk/include
>> -I/usr/lib/jvm/java-6-openjdk/include/linux -DZOOKEEPER_VERSION=\"3.3.4\"
>> -g -O2 -fno-strict-aliasing -g2 -O2 -c -o tests/mesos_tests-state_tests.o
>> `test -f 'tests/state_tests.cpp' || echo './'`tests/state_tests.cpp
>> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>> -DPACKAGE_VERSION=\"0.15.0\" -DPACKAGE_STRING=\"mesos\ 0.15.0\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>> -DVERSION=\"0.15.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1
>> -DHAVE_PYTHON=\"2.6\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1
>> -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I.   -Wall -Werror
>> -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/lib/mesos\"
>> -DPKGDATADIR=\"/usr/share/mesos\" -I../include
>> -I../3rdparty/libprocess/include
>> -I../3rdparty/libprocess/3rdparty/stout/include -I../include
>> -I../3rdparty/libprocess/3rdparty/boost-1.53.0
>> -I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src
>> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src
>> -I../3rdparty/zookeeper-3.3.4/src/c/include
>> -I../3rdparty/zookeeper-3.3.4/src/c/generated
>> -DSOURCE_DIR=\"/home/vagrant/mesos\" -DBUILD_DIR=\"/home/vagrant/mesos\"
>> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include
>> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include
>> -I/usr/lib/jvm/java-6-openjdk/include
>> -I/usr/lib/jvm/java-6-openjdk/include/linux -DZOOKEEPER_VERSION=\"3.3.4\"
>> -g -O2 -fno-strict-aliasing -g2 -O2 -c -o
>> tests/mesos_tests-status_update_manager_tests.o `test -f
>> 'tests/status_update_manager_tests.cpp' || echo
>> './'`tests/status_update_manager_tests.cpp
>> g++: Internal error: Processus arrêté (program cc1plus)
>> Please submit a full bug report.
>> See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
>> make[4]: *** [tests/mesos_tests-slave_recovery_tests.o] Erreur 1
>> make[4]: *** Attente des tâches non terminées....
>> make[4]: quittant le répertoire « /home/vagrant/mesos/src »
>> make[3]: *** [check-am] Erreur 2
>> make[3]: quittant le répertoire « /home/vagrant/mesos/src »
>> make[2]: *** [check] Erreur 2
>> make[2]: quittant le répertoire « /home/vagrant/mesos/src »
>> make[1]: *** [check-recursive] Erreur 1
>> make[1]: quittant le répertoire « /home/vagrant/mesos »
>> dh_auto_test: make -j2 check returned exit code 2
>>
>> build done on debian squeeze.
>>
>> I tested without parallel with success except fails on
>> FaultToleranceTest.ReregisterFrameworkExitedExecutor but twice longer as
>> expected (core2 duo /o\)
>>
>>
>> My fail on test :
>>
>> [ RUN      ] FaultToleranceTest.ReregisterFrameworkExitedExecutor
>> tests/fault_tolerance_tests.cpp:1112: Failure
>> Mock function called more times than expected - returning directly.
>>     Function call: resourceOffers(0x7fffb7fcb820, @0x2b8b118d4c80 {
>> 224-byte object <30-52 1A-0D 8B-2B 00-00 00-00 00-00 00-00 00-00 60-68
>> 4B-18 8B-2B 00-00 10-2B 00-18 8B-2B 00-00 90-F6 0E-18 8B-2B 00-00 B0-26
>> 05-18 8B-2B 00-00 78-48 4B-18 8B-2B 00-00 04-00 00-00 04-00 00-00 ... E8-48
>> 4B-18 8B-2B 00-00 00-00 00-00 00-00 00-00 04-00 00-00 64-65 66-61 75-6C
>> 74-20 61-63 74-69 6F-6E 2C-20 6F-72 20-61 73-73 69-67 6E-20 74-68 65-20
>> 64-65 66-61 75-6C 00-00 00-00 0F-00 00-00> })
>>          Expected: to be called once
>>            Actual: called twice - over-saturated and active
>> [  FAILED  ] FaultToleranceTest.ReregisterFrameworkExitedExecutor (29 ms)
>>
>>
>> --
>> Damien HARDY
>>
>
>


-- 
Damien HARDY

Reply via email to