Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When running make check on Mesos one of the tests fails, what now?

After running a make check when building Mesos, I found that one of those tests is failing. How can I find out more about the reasoning behind that failure?

like image 293
Till Avatar asked Feb 13 '23 10:02

Till


1 Answers

Note make check needs to be run before the following can be used as make check renders the needed binaries.

The following assumes that your current directory (pwd) is the build folder within the extracted / cloned Mesos project directory structure.

Let's assume that a test named Foo.Bar had failed for you. Now go ahead and run that test individually, with enhanced output:

./bin/mesos-tests.sh --gtest_filter="Foo.Bar" --verbose

That should reveal some more insights of the failure reasoning.

In cases where the above still has too little output to understand the problem, for some rare cases, it could be beneficial to increase the verbosity even further.

GLOG_v=2 ./bin/mesos-tests.sh --gtest_filter="Foo.Bar" --verbose

That will enable all common VLOG levels of mesos. Those however usually are not meant for users but for developers. So don't expect their output to be too user friendly.

like image 182
Till Avatar answered Apr 28 '23 11:04

Till