mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <>
Subject Re: Review Request 40553: Enable mesos tests installation
Date Fri, 22 Jan 2016 22:03:21 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 22, 2016, 10:03 p.m.)

Review request for mesos, Benjamin Bannier and Till Toenshoff.


Updated to get ExampleFramework tests working. Verified on Fedora 23. All non-root tests pass
both when you install and when you run from the build directory. When running as root, I got
2 failures because I have swap enabled, and 1 because the network isolator doesn't expect
the net_prio cgroup.

[jpeach@jpeach build-install-tests]$ /opt/mesos/libexec/mesos/tests/mesos-tests  --build_dir=/none
[==========] 896 tests from 119 test cases ran. (181364 ms total)
[  PASSED  ] 896 tests.

Summary (updated)

Enable mesos tests installation

Bugs: MESOS-3608

Repository: mesos

Description (updated)

This patch enables the installation mesos-tests and its dependencies
and helper tool. The goal is to allow operators to build a separate
test package that can be run at deployment time to verify that Mesos
works in the deployment environment.

Since the build directory is searched first, to run it on a host
that has a build tree, you need to specify a non-existent tree:

~ $ $PREFIX/libexec/mesos/tests/mesos-tests \
    --build_dir=/none \

- Add --enable-tests-install
- Fix mesos-tests gmock dependencies
- Optionally install tests, helpers and test modules
- Add utility helpers to find various test resources

Diffs (updated)
----- fbd4e5a6356e90c867ba47c48c86fc9161ddd98e 70d16871d5888ac1d9d5fb0ba0b453799b00f320 
  src/ 19bf3a7c2e43ca04ed6e6d506e052de5537f7c2f 
  src/examples/test_framework.cpp ff7b00543eea1a7cbf52c7abfba81600868bfbab 
  src/tests/ 25a19cfde87a3fd2d7d3e780700d342d08bd0a91 
  src/tests/containerizer/launch_tests.cpp c7ebe2606e4ff99ced90342dd16e0b4bf02bc504 
  src/tests/containerizer/memory_test_helper.cpp 4a3de2e3c887aa6afc604588850e1386f92d8c11

  src/tests/containerizer/mesos_containerizer_tests.cpp 677fcc1c654f83ad3e60e0f6172a1a1e4a1045b1

  src/tests/containerizer/ns_tests.cpp 603e54b7303c5aa15e2c5715dc7a2f7e7d39541b 
  src/tests/containerizer/port_mapping_tests.cpp fab16f697f90abc11d681222f10f518d70da908b

  src/tests/environment.cpp 4de46bc48b245a4c5e89b0343578b0d31883a0ac 
  src/tests/ 9d1211552734afbf15b376f8c4629bae8a2065af 
  src/tests/fetcher_tests.cpp 1831d896ca8a52bec4adf87a67b6af845079796c 
  src/tests/health_check_tests.cpp 3606ce46bfa283ad0d5239fc25e02c5a9f8d1a53 
  src/tests/mesos.cpp 365ebe8335c37bfdb983a5424d4c995fa9b76a22 
  src/tests/module.cpp f0e64f7c462cf833839558665fdb60d9f2cbc475 
  src/tests/module_tests.cpp a3271a3267647e0964dd3decb3ca8384417dd559 
  src/tests/ aebdc8c380abb2d041d6fc74dfac5a111c15267e 
  src/tests/oversubscription_tests.cpp 6f43103e81303015fb614653e3bfece55009d1bf 
  src/tests/ 84f02847a8d89400512d8a5714d33fb29cf5b03a 
  src/tests/script.cpp ee44fef29fb40e414d7507168091ee5cd0d15736 
  src/tests/slave_tests.cpp e943ab99baf3d74679a5da888889a89f6a4b7ead 
  src/tests/ 409e80994f63448115ea8ac34b4fd5c6cf88aa22 
  src/tests/utils.hpp a6cca472f4dfab12cd6eccab6972206d842177aa 
  src/tests/utils.cpp 22bf3a85da5261fcfcc8b6aa9626aacdc8391ad4 




James Peach

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message