You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Chang Shawn <zh...@gmail.com> on 2018/09/04 09:29:41 UTC

make check failed, but mesos-tests.sh --gtest_filter="SVNTest.DiffPatch" tests passed

After 'make' succesfully on my macOS 10.13.6, I run 'make check', but fail
on test case "SVNTest.DiffPatch".The error output is:


























































*[----------] 2 tests from SVNTest[ RUN      ] SVNTest.DiffPatch*** Aborted
at 1536051660 (unix time) try "date -d @1536051660" if you are using GNU
date ***PC: @        0x1094239d6 apr_pool_create_ex*** SIGSEGV (@0x30)
received by PID 84174 (TID 0x7fff8a2b6380) stack trace: ***    @
0x7fff51ab0f5a _sigtramp    @                0x0 (unknown)    @
 0x10922380e svn_pool_create_ex    @        0x107e13f4e svn::diff()    @
     0x107e133eb SVNTest_DiffPatch_Test::TestBody()    @        0x107fbbebe
testing::internal::HandleSehExceptionsInMethodIfSupported<>()    @
 0x107f5c01b testing::internal::HandleExceptionsInMethodIfSupported<>()
@        0x107f5bf46 testing::Test::Run()    @        0x107f5dd5d
testing::TestInfo::Run()    @        0x107f5f38c testing::TestCase::Run()
  @        0x107f6fbac testing::internal::UnitTestImpl::RunAllTests()    @
       0x107fbf14e
testing::internal::HandleSehExceptionsInMethodIfSupported<>()    @
 0x107f6f5db testing::internal::HandleExceptionsInMethodIfSupported<>()
@        0x107f6f49c testing::UnitTest::Run()    @        0x107b51ab1
RUN_ALL_TESTS()    @        0x107b51825 main    @     0x7fff517a2015
startmake[6]: *** [check-local] Segmentation fault: 11make[5]: ***
[check-am] Error 2make[4]: *** [check-recursive] Error 1make[3]: ***
[check] Error 2make[2]: *** [check-recursive] Error 1make[1]: *** [check]
Error 2make: *** [check-recursive] Error 1*
So I run with ./bin/mesos-tests.sh --gtest_filter="SVNTest.DiffPatch" try
to get more information, but it seems that tests passed:

























































































*-------------------------------------------------------------We cannot run
any aufs tests because:aufs tests not supported on non-Linux
systems--------------------------------------------------------------------------------------------------------------------------We
cannot run any Docker tests because:Docker tests are not supported on this
platform-------------------------------------------------------------PING
google.com <http://google.com> (172.217.161.142): 56 data bytes---
google.com <http://google.com> ping statistics ---1 packets transmitted, 0
packets received, 100.0% packet
loss-------------------------------------------------------------We cannot
run any INTERNET tests because no internet
access--------------------------------------------------------------------------------------------------------------------------No
'logrotate' command found so no 'logrotate' testswill be
run------------------------------------------------------------------------------------------------------------------------Cannot
enable net_cls cgroup subsystem associated test casessince this platform
does not support
cgroups.------------------------------------------------------------------------------------------------------------------------No
'nvidia-smi' command found so no Nvidia GPU tests will
run--------------------------------------------------------------------------------------------------------------------------We
cannot run any overlayfs tests because:overlayfs tests not supported on
non-Linux
systems--------------------------------------------------------------------------------------------------------------------------Tests
using 'perf' cannot be run on non-Linux
systems--------------------------------------------------------------------------------------------------------------------------No
usable unprivileged user found from the 'SUDO_USER'environment variable. So
tests that rely on an unprivilegeduser will not
run--------------------------------------------------------------------------------------------------------------------------We
cannot run any xfs tests because:xfs tests not supported on non-Linux
systems-------------------------------------------------------------....[==========]
Running 0 tests from 0 test cases.[==========] 0 tests from 0 test cases
ran. (4 ms total)[  PASSED  ] 0 tests.*

Re: make check failed, but mesos-tests.sh --gtest_filter="SVNTest.DiffPatch" tests passed

Posted by James Peach <jp...@apache.org>.
This might be caused by inconsistent linking in Homebrew. Try forcing Homebrew to build svn from source, something like this: brew install --force --build-from-source subversion


> On Sep 4, 2018, at 2:29 AM, Chang Shawn <zh...@gmail.com> wrote:
> 
> After 'make' succesfully on my macOS 10.13.6, I run 'make check', but fail on test case "SVNTest.DiffPatch".The error output is:
> 
> [----------] 2 tests from SVNTest
> 
> [ RUN      ] SVNTest.DiffPatch
> 
> *** Aborted at 1536051660 (unix time) try "date -d @1536051660" if you are using GNU date ***
> 
> PC: @        0x1094239d6 apr_pool_create_ex
> 
> *** SIGSEGV (@0x30) received by PID 84174 (TID 0x7fff8a2b6380) stack trace: ***
> 
>     @     0x7fff51ab0f5a _sigtramp
> 
>     @                0x0 (unknown)
> 
>     @        0x10922380e svn_pool_create_ex
> 
>     @        0x107e13f4e svn::diff()
> 
>     @        0x107e133eb SVNTest_DiffPatch_Test::TestBody()
> 
>     @        0x107fbbebe testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> 
>     @        0x107f5c01b testing::internal::HandleExceptionsInMethodIfSupported<>()
> 
>     @        0x107f5bf46 testing::Test::Run()
> 
>     @        0x107f5dd5d testing::TestInfo::Run()
> 
>     @        0x107f5f38c testing::TestCase::Run()
> 
>     @        0x107f6fbac testing::internal::UnitTestImpl::RunAllTests()
> 
>     @        0x107fbf14e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
> 
>     @        0x107f6f5db testing::internal::HandleExceptionsInMethodIfSupported<>()
> 
>     @        0x107f6f49c testing::UnitTest::Run()
> 
>     @        0x107b51ab1 RUN_ALL_TESTS()
> 
>     @        0x107b51825 main
> 
>     @     0x7fff517a2015 start
> 
> make[6]: *** [check-local] Segmentation fault: 11
> 
> make[5]: *** [check-am] Error 2
> 
> make[4]: *** [check-recursive] Error 1
> 
> make[3]: *** [check] Error 2
> 
> make[2]: *** [check-recursive] Error 1
> 
> make[1]: *** [check] Error 2
> 
> make: *** [check-recursive] Error 1
> 
> So I run with ./bin/mesos-tests.sh --gtest_filter="SVNTest.DiffPatch" try to get more information, but it seems that tests passed:

The SVN tests are part of stout (but are run during make check):

 ./3rdparty/stout/stout-tests --gtest_list_tests --gtest_filter="SVNTest.DiffPatch"
SVNTest.
  DiffPatch

J