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

Charles Natali commented on MESOS-10223:
----------------------------------------

[~mgrigorov]

Finally had time to have a look.

 

Using your docker image I don't reproduce it:

 
{noformat}
[ RUN ] JsonTest.Find 
[ OK ] JsonTest.Find (21 ms) 
{noformat}
 

I am however seeing other failures like:

 

 
{noformat}
[ RUN ] ProcessTest.Processes 
../../../3rdparty/stout/tests/os/process_tests.cpp:139: Failure 
 Expected: getppid() 
 Which is: 1 
To be equal to: process.parent 
 Which is: 0 
../../../3rdparty/stout/tests/os/process_tests.cpp:144: Failure 
 Expected: getsid(0) 
 Which is: 1 
To be equal to: process.session.get() 
 Which is: 0 
../../../3rdparty/stout/tests/os/process_tests.cpp:148: Failure 
Expected: (process.rss.get()) > (0), actual: 0B vs 0 
[ FAILED ] ProcessTest.Processes (9 ms)
 
{noformat}
 

However they can be do the fact that it's running inside docker/Qemu.

 

Qemu has to do syscall ABI translation, and for example it doesn't support 
ptrace:

 
{noformat}
root@4d45b9e91754:/mesos# strace /bin/true 
/usr/bin/strace: test_ptrace_get_syscall_info: PTRACE_TRACEME: Function not 
implemented
/usr/bin/strace: ptrace(PTRACE_TRACEME, ...): Function not implemented
/usr/bin/strace: PTRACE_SETOPTIONS: Function not implemented
/usr/bin/strace: detach: waitpid(124): No child processes
/usr/bin/strace: Process 124 detached
root@4d45b9e91754:/mesos#
{noformat}
 

So it can very well cause the other failures above (which I can't debug without 
strace or gdb...).

 

Regarding your original problem, is it on a real ARM64 host or within 
docker/qemu etc?

> 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: 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