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

Martin Tzvetanov Grigorov commented on MESOS-10223:
---------------------------------------------------

[~cf.natali] Testing it at the moment!

I may found another issue today.

I tried to build Mesos with *make -j $(nproc)*, i.e. 8, and it failed with:

 
{code:java}
...
mv -f cli/.deps/mesos_resolve-resolve.Tpo cli/.deps/mesos_resolve-resolve.Po
g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
-DPACKAGE_VERSION=\"1.12.0\" -DPACKAGE_STRING=\"mesos\ 1.12.0\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
-DVERSION=\"1.12.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
-DHAVE_PTHREAD=1 -DHAVE_OPENSSL_SSL_H=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 
-DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DENABLE_NVML=1 
-DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 
-DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 
-DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src   -Werror 
-DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" 
-DPKGMODULEDIR=\"/usr/local/lib/mesos/modules\" -I../../include -I../include 
-I../include/mesos -D__STDC_FORMAT_MACROS -I../3rdparty/boost-1.65.0 
-I../3rdparty/concurrentqueue-7b69a8f -I../3rdparty/elfio-3.2 
-I../3rdparty/glog-0.4.0/src -I../3rdparty/grpc-1.10.0/include 
-I../3rdparty/leveldb-1.19/include -I../3rdparty/libarchive-3.3.2/libarchive/ 
-I../../3rdparty/libprocess/include  -I../3rdparty/nvml-352.79 
-I../3rdparty/picojson-1.3.0 -I../3rdparty/protobuf-3.5.0/src 
-I../3rdparty/rapidjson-1.1.0/include -I../3rdparty/re2-2020-07-06 
-I../../3rdparty/stout/include -I../3rdparty/zookeeper-3.4.8/src/c/include 
-I../3rdparty/zookeeper-3.4.8/src/c/generated -I/usr/include/subversion-1 
-I/usr/include/apr-1 -I/usr/include/apr-1.0         -pthread -Wall 
-Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 
-Wno-unused-local-typedefs -std=c++11 -MT 
slave/containerizer/mesos/mesos_containerizer-main.o -MD -MP -MF 
slave/containerizer/mesos/.deps/mesos_containerizer-main.Tpo -c -o 
slave/containerizer/mesos/mesos_containerizer-main.o `test -f 
'slave/containerizer/mesos/main.cpp' || echo 
'../../src/'`slave/containerizer/mesos/main.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [Makefile:8538: csi/libcsi_la-v0_volume_manager.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f java/jni/.deps/libjava_la-org_apache_mesos_v1_scheduler_V0Mesos.Tpo 
java/jni/.deps/libjava_la-org_apache_mesos_v1_scheduler_V0Mesos.Plo
mv -f slave/containerizer/mesos/.deps/mesos_containerizer-main.Tpo 
slave/containerizer/mesos/.deps/mesos_containerizer-main.Po
mv -f cli/.deps/mesos_execute-execute.Tpo cli/.deps/mesos_execute-execute.Po
mv -f launcher/.deps/mesos_fetcher-fetcher.Tpo 
launcher/.deps/mesos_fetcher-fetcher.Po
mv -f launcher/.deps/mesos_executor-executor.Tpo 
launcher/.deps/mesos_executor-executor.Po
mv -f launcher/.deps/mesos_default_executor-default_executor.Tpo 
launcher/.deps/mesos_default_executor-default_executor.Po
mv -f csi/.deps/libcsi_la-v1_volume_manager.Tpo 
csi/.deps/libcsi_la-v1_volume_manager.Plo
make[2]: Leaving directory '/home/ubuntu/git/apache/mesos/build/src'
make[1]: *** [Makefile:4841: all] Error 2
make[1]: Leaving directory '/home/ubuntu/git/apache/mesos/build/src'
make: *** [Makefile:785: all-recursive] Error 1
 {code}
 

It is reproducible on my ARM4 machine.

*make -j 4* works fine!

> Test failures on Linux ARM64
> ----------------------------
>
>                 Key: MESOS-10223
>                 URL: https://issues.apache.org/jira/browse/MESOS-10223
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Major
>         Attachments: 0001-Fixed-crashes-on-ARM64-due-to-libunwind.patch, 
> mesos-on-arm64.tgz
>
>
> Running `make check` on Ubuntu 20.04.2 aarch64 fails with such errors:
>  
> {code:java}
>  [----------] 3 tests from JsonTest
> [ RUN      ] JsonTest.NumberFormat
> [       OK ] JsonTest.NumberFormat (0 ms)
> [ RUN      ] JsonTest.Find
> terminate called after throwing an instance of 
> 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast>
>  >'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are 
> using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e80000090d) received by PID 2317 (TID 0xffffa80d9010) from 
> PID 2317; stack trace: ***
>     @     0xffffa80e77fc ([vdso]+0x7fb)
>     @     0xffffa7b71188 gsignal
>     @     0xffffa7b5ddac abort
>     @     0xffffa7d73848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffa7d711ec (unknown)
>     @     0xffffa7d71250 std::terminate()
>     @     0xffffa7d715b0 __cxa_rethrow
>     @     0xffffa7d737e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffa7d711ec (unknown)
>     @     0xffffa7d71250 std::terminate()
>     @     0xffffa7d71544 __cxa_throw
>     @     0xaaaaab4ee114 boost::throw_exception<>()
>     @     0xaaaaab5c512c boost::conversion::detail::throw_bad_cast<>()
>     @     0xaaaaab5c2228 boost::lexical_cast<>()
>     @     0xaaaaab5bf89c numify<>()
>     @     0xaaaaab5e00e8 JSON::Object::find<>()
>     @     0xaaaaab5e0584 JSON::Object::find<>()
>     @     0xaaaaab5e0584 JSON::Object::find<>()
>     @     0xaaaaab5cdd2c JsonTest_Find_Test::TestBody()
>     @     0xaaaaab886fec 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaab87f1d4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaab85a9d0 testing::Test::Run()
>     @     0xaaaaab85b258 testing::TestInfo::Run()
>     @     0xaaaaab85b8d0 testing::TestCase::Run()
>     @     0xaaaaab862344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaaab888440 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaab87ffd4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaab86100c testing::UnitTest::Run()
>     @     0xaaaaab630950 RUN_ALL_TESTS()
>     @     0xaaaaab630418 main
>     @     0xffffa7b5e110 __libc_start_main
>     @     0xaaaaab4b41d4 (unknown)
> [FAIL]: 8 shard(s) have failed tests
> make[6]: *** [Makefile:2092: check-local] Error 8
> make[6]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[5]: *** [Makefile:1840: check-am] Error 2
> make[5]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[4]: *** [Makefile:1685: check-recursive] Error 1
> make[4]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[3]: *** [Makefile:1842: check] Error 2
> make[3]: Leaving directory 
> '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[2]: *** [Makefile:1153: check-recursive] Error 1
> make[2]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty'
> make[1]: *** [Makefile:1306: check] Error 2
> make[1]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty'
> make: *** [Makefile:785: check-recursive] Error 1
> {code}
>  
> {code:java}
> [----------] 3 tests from JsonTest
> [ RUN      ] JsonTest.InvalidUTF8
> [       OK ] JsonTest.InvalidUTF8 (0 ms)
> [ RUN      ] JsonTest.ParseError
> terminate called after throwing an instance of 'std::overflow_error'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are 
> using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e80000090c) received by PID 2316 (TID 0xffff918cf010) from 
> PID 2316; stack trace: ***
>     @     0xffff918dd7fc ([vdso]+0x7fb)
>     @     0xffff91367188 gsignal
>     @     0xffff91353dac abort
>     @     0xffff91569848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffff915671ec (unknown)
>     @     0xffff91567250 std::terminate()
>     @     0xffff915675b0 __cxa_rethrow
>     @     0xffff915697e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffff915671ec (unknown)
>     @     0xffff91567250 std::terminate()
>     @     0xffff91567544 __cxa_throw
>     @     0xaaaab4e3d324 picojson::value::value()
>     @     0xaaaab4e421d8 JSON::internal::ParseContext::set_number()
>     @     0xaaaab4e52140 picojson::_parse<>()
>     @     0xaaaab4e63e74 JSON::internal::ParseContext::parse_object_item<>()
>     @     0xaaaab4e5ae34 picojson::_parse_object<>()
>     @     0xaaaab4e51fd4 picojson::_parse<>()
>     @     0xaaaab4e49e18 picojson::_parse<>()
>     @     0xaaaab4e426e4 JSON::parse()
>     @     0xaaaab4e4a38c JSON::parse<>()
>     @     0xaaaab4ecce28 JsonTest_ParseError_Test::TestBody()
>     @     0xaaaab5186fec 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaab517f1d4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaab515a9d0 testing::Test::Run()
>     @     0xaaaab515b258 testing::TestInfo::Run()
>     @     0xaaaab515b8d0 testing::TestCase::Run()
>     @     0xaaaab5162344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaab5188440 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaab517ffd4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaab516100c testing::UnitTest::Run()
>     @     0xaaaab4f30950 RUN_ALL_TESTS()
>     @     0xaaaab4f30418 main
>  {code}
>  
> {code:java}
> [----------] 1 test from ProcessTest
> [ RUN      ] ProcessTest.Processes
> terminate called after throwing an instance of 
> 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast>
>  >'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are 
> using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e800000907) received by PID 2311 (TID 0xffffb03a8010) from 
> PID 2311; stack trace: ***
>     @     0xffffb03b67fc ([vdso]+0x7fb)
>     @     0xffffafe40188 gsignal
>     @     0xffffafe2cdac abort
>     @     0xffffb0042848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffb00401ec (unknown)
>     @     0xffffb0040250 std::terminate()
>     @     0xffffb00405b0 __cxa_rethrow
>     @     0xffffb00427e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffb00401ec (unknown)
>     @     0xffffb0040250 std::terminate()
>     @     0xffffb0040544 __cxa_throw
>     @     0xaaaaaddee114 boost::throw_exception<>()
>     @     0xaaaaadec512c boost::conversion::detail::throw_bad_cast<>()
>     @     0xaaaaadec2228 boost::lexical_cast<>()
>     @     0xaaaaadebf89c numify<>()
>     @     0xaaaaadf71e3c proc::pids()
>     @     0xaaaaadf73594 os::pids()
>     @     0xaaaaadf73fb4 os::processes()
>     @     0xaaaaadfadde4 ProcessTest_Processes_Test::TestBody()
>     @     0xaaaaae186fec 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaae17f1d4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaae15a9d0 testing::Test::Run()
>     @     0xaaaaae15b258 testing::TestInfo::Run()
>     @     0xaaaaae15b8d0 testing::TestCase::Run()
>     @     0xaaaaae162344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaaae188440 
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaae17ffd4 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaae16100c testing::UnitTest::Run()
>     @     0xaaaaadf30950 RUN_ALL_TESTS()
>     @     0xaaaaadf30418 main
>     @     0xffffafe2d110 __libc_start_main
>     @     0xaaaaaddb41d4 (unknown) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to