You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by TILL TOENSHOFF <to...@me.com> on 2014/02/04 07:40:29 UTC
Re: Review Request 17636: Added valgrind memcheck runnables.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/
-----------------------------------------------------------
(Updated Feb. 4, 2014, 6:40 a.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
Repository: mesos-git
Description
-------
Adds valgrind runnables for executing memory / leak checks on mesos.
Diffs
-----
bin/memcheck-mesos-local.sh.in PRE-CREATION
bin/memcheck-mesos-master.sh.in PRE-CREATION
bin/memcheck-mesos-slave.sh.in PRE-CREATION
bin/memcheck-mesos-tests.sh.in PRE-CREATION
configure.ac 18bf4bf
Diff: https://reviews.apache.org/r/17636/diff/
Testing
-------
$ mkdir build && bootstrap && cd build && ../configure && make check
$ build/bin/memcheck-mesos-tests.sh
Output:
[...]
[----------] Global test environment tear-down
[==========] 221 tests from 39 test cases ran. (99862 ms total)
[ PASSED ] 218 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AttributesTest.Parsing
[ FAILED ] ResourcesTest.Parsing
[ FAILED ] ResourcesTest.Resources
3 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
==3061==
==3061== HEAP SUMMARY:
==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
==3061==
==3061== LEAK SUMMARY:
==3061== definitely lost: 107,320 bytes in 662 blocks
==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
==3061== possibly lost: 166,492 bytes in 2,758 blocks
==3061== still reachable: 263,052 bytes in 4,496 blocks
==3061== suppressed: 0 bytes in 0 blocks
==3061== Rerun with --leak-check=full to see details of leaked memory
==3061==
==3061== For counts of detected and suppressed errors, rerun with: -v
==3061== Use --track-origins=yes to see where uninitialised values come from
==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
Thanks,
TILL TOENSHOFF
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Niklas Nielsen <ni...@qni.dk>.
> On Feb. 9, 2014, 8:50 a.m., Niklas Nielsen wrote:
> > Ship It!
Thanks Till! I'll go ahead and get this committed.
- Niklas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34032
-----------------------------------------------------------
On Feb. 8, 2014, 5:13 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 8, 2014, 5:13 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34032
-----------------------------------------------------------
Ship it!
Ship It!
- Niklas Nielsen
On Feb. 8, 2014, 5:13 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 8, 2014, 5:13 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34026
-----------------------------------------------------------
Ship it!
Ship It!
- Vinod Kone
On Feb. 9, 2014, 1:13 a.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 9, 2014, 1:13 a.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34296
-----------------------------------------------------------
Just took it for a last spin - mind add the missing trailing '\' to wrap? :)
bin/memcheck-mesos-local.sh.in
<https://reviews.apache.org/r/17636/#comment64329>
Did you forget a trailing '\'?
- Niklas Nielsen
On Feb. 8, 2014, 5:13 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 8, 2014, 5:13 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Niklas Nielsen <ni...@qni.dk>.
> On Feb. 13, 2014, 8:03 a.m., Dominic Hamon wrote:
> > bin/memcheck-mesos-local.sh.in, line 32
> > <https://reviews.apache.org/r/17636/diff/5/?file=484323#file484323line32>
> >
> > Adding --tool=memcheck would make it explicit, and open the door to defining other tools (ie, helgrind) for more testing.
To avoid over flooding the bin directory, maybe we should parameterize a ./bin/valgrind-mesos-XXX <experiment e.g. memcheck, helgrind> <args> ?
- Niklas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34372
-----------------------------------------------------------
On Feb. 13, 2014, 7:42 a.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 13, 2014, 7:42 a.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Dominic Hamon <do...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34372
-----------------------------------------------------------
bin/memcheck-mesos-local.sh.in
<https://reviews.apache.org/r/17636/#comment64456>
Adding --tool=memcheck would make it explicit, and open the door to defining other tools (ie, helgrind) for more testing.
- Dominic Hamon
On Feb. 13, 2014, 3:42 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 13, 2014, 3:42 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind runnables.
Posted by Dominic Hamon <dh...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34546
-----------------------------------------------------------
Ship it!
Ship It!
- Dominic Hamon
On Feb. 14, 2014, 1:36 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 14, 2014, 1:36 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Dominic Hamon, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos. The runnables accept an additional parameter (-t) for selecting a valgrind tool. The default (no option given) is memcheck. All other parameters are passed on to the given target (master, slave, tests, local).
>
> Example:
> build/bin/valgrind-mesos-tests.sh -t helgrind
>
>
> Diffs
> -----
>
> bin/valgrind-mesos-local.sh.in PRE-CREATION
> bin/valgrind-mesos-master.sh.in PRE-CREATION
> bin/valgrind-mesos-slave.sh.in PRE-CREATION
> bin/valgrind-mesos-tests.sh.in PRE-CREATION
> configure.ac bb81279
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/valgrind-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind runnables.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34547
-----------------------------------------------------------
Ship it!
Ship It!
- Vinod Kone
On Feb. 14, 2014, 9:36 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 14, 2014, 9:36 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Dominic Hamon, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos. The runnables accept an additional parameter (-t) for selecting a valgrind tool. The default (no option given) is memcheck. All other parameters are passed on to the given target (master, slave, tests, local).
>
> Example:
> build/bin/valgrind-mesos-tests.sh -t helgrind
>
>
> Diffs
> -----
>
> bin/valgrind-mesos-local.sh.in PRE-CREATION
> bin/valgrind-mesos-master.sh.in PRE-CREATION
> bin/valgrind-mesos-slave.sh.in PRE-CREATION
> bin/valgrind-mesos-tests.sh.in PRE-CREATION
> configure.ac bb81279
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/valgrind-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind runnables.
Posted by TILL TOENSHOFF <to...@me.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/
-----------------------------------------------------------
(Updated Feb. 14, 2014, 9:36 p.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, Dominic Hamon, Niklas Nielsen, and Vinod Kone.
Changes
-------
Added option for allowing the selection of a valgrind tool (-t).
Summary (updated)
-----------------
Added valgrind runnables.
Repository: mesos-git
Description (updated)
-------
Adds valgrind runnables for executing memory / leak checks on mesos. The runnables accept an additional parameter (-t) for selecting a valgrind tool. The default (no option given) is memcheck. All other parameters are passed on to the given target (master, slave, tests, local).
Example:
build/bin/valgrind-mesos-tests.sh -t helgrind
Diffs (updated)
-----
bin/valgrind-mesos-local.sh.in PRE-CREATION
bin/valgrind-mesos-master.sh.in PRE-CREATION
bin/valgrind-mesos-slave.sh.in PRE-CREATION
bin/valgrind-mesos-tests.sh.in PRE-CREATION
configure.ac bb81279
Diff: https://reviews.apache.org/r/17636/diff/
Testing (updated)
-------
$ mkdir build && bootstrap && cd build && ../configure && make check
$ build/bin/valgrind-mesos-tests.sh
Output:
[...]
[----------] Global test environment tear-down
[==========] 221 tests from 39 test cases ran. (99862 ms total)
[ PASSED ] 218 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AttributesTest.Parsing
[ FAILED ] ResourcesTest.Parsing
[ FAILED ] ResourcesTest.Resources
3 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
==3061==
==3061== HEAP SUMMARY:
==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
==3061==
==3061== LEAK SUMMARY:
==3061== definitely lost: 107,320 bytes in 662 blocks
==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
==3061== possibly lost: 166,492 bytes in 2,758 blocks
==3061== still reachable: 263,052 bytes in 4,496 blocks
==3061== suppressed: 0 bytes in 0 blocks
==3061== Rerun with --leak-check=full to see details of leaked memory
==3061==
==3061== For counts of detected and suppressed errors, rerun with: -v
==3061== Use --track-origins=yes to see where uninitialised values come from
==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
Thanks,
TILL TOENSHOFF
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by Dominic Hamon <do...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/#review34505
-----------------------------------------------------------
bin/memcheck-mesos-local.sh.in
<https://reviews.apache.org/r/17636/#comment64603>
I think that's a fine idea.
Adding a '-t' argument that defaults to memcheck would do the trick.
- Dominic Hamon
On Feb. 13, 2014, 3:42 p.m., TILL TOENSHOFF wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17636/
> -----------------------------------------------------------
>
> (Updated Feb. 13, 2014, 3:42 p.m.)
>
>
> Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Adds valgrind runnables for executing memory / leak checks on mesos.
>
>
> Diffs
> -----
>
> bin/memcheck-mesos-local.sh.in PRE-CREATION
> bin/memcheck-mesos-master.sh.in PRE-CREATION
> bin/memcheck-mesos-slave.sh.in PRE-CREATION
> bin/memcheck-mesos-tests.sh.in PRE-CREATION
> configure.ac 4f988a9
>
> Diff: https://reviews.apache.org/r/17636/diff/
>
>
> Testing
> -------
>
> $ mkdir build && bootstrap && cd build && ../configure && make check
>
> $ build/bin/memcheck-mesos-tests.sh
>
> Output:
>
> [...]
> [----------] Global test environment tear-down
> [==========] 221 tests from 39 test cases ran. (99862 ms total)
> [ PASSED ] 218 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] AttributesTest.Parsing
> [ FAILED ] ResourcesTest.Parsing
> [ FAILED ] ResourcesTest.Resources
>
> 3 FAILED TESTS
> YOU HAVE 2 DISABLED TESTS
>
> ==3061==
> ==3061== HEAP SUMMARY:
> ==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
> ==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
> ==3061==
> ==3061== LEAK SUMMARY:
> ==3061== definitely lost: 107,320 bytes in 662 blocks
> ==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
> ==3061== possibly lost: 166,492 bytes in 2,758 blocks
> ==3061== still reachable: 263,052 bytes in 4,496 blocks
> ==3061== suppressed: 0 bytes in 0 blocks
> ==3061== Rerun with --leak-check=full to see details of leaked memory
> ==3061==
> ==3061== For counts of detected and suppressed errors, rerun with: -v
> ==3061== Use --track-origins=yes to see where uninitialised values come from
> ==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
>
>
> Thanks,
>
> TILL TOENSHOFF
>
>
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by TILL TOENSHOFF <to...@me.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/
-----------------------------------------------------------
(Updated Feb. 13, 2014, 3:42 p.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
Changes
-------
Fixed missing backslash in memcheck-mesos-local.sh.in
Repository: mesos-git
Description
-------
Adds valgrind runnables for executing memory / leak checks on mesos.
Diffs (updated)
-----
bin/memcheck-mesos-local.sh.in PRE-CREATION
bin/memcheck-mesos-master.sh.in PRE-CREATION
bin/memcheck-mesos-slave.sh.in PRE-CREATION
bin/memcheck-mesos-tests.sh.in PRE-CREATION
configure.ac 4f988a9
Diff: https://reviews.apache.org/r/17636/diff/
Testing
-------
$ mkdir build && bootstrap && cd build && ../configure && make check
$ build/bin/memcheck-mesos-tests.sh
Output:
[...]
[----------] Global test environment tear-down
[==========] 221 tests from 39 test cases ran. (99862 ms total)
[ PASSED ] 218 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AttributesTest.Parsing
[ FAILED ] ResourcesTest.Parsing
[ FAILED ] ResourcesTest.Resources
3 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
==3061==
==3061== HEAP SUMMARY:
==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
==3061==
==3061== LEAK SUMMARY:
==3061== definitely lost: 107,320 bytes in 662 blocks
==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
==3061== possibly lost: 166,492 bytes in 2,758 blocks
==3061== still reachable: 263,052 bytes in 4,496 blocks
==3061== suppressed: 0 bytes in 0 blocks
==3061== Rerun with --leak-check=full to see details of leaked memory
==3061==
==3061== For counts of detected and suppressed errors, rerun with: -v
==3061== Use --track-origins=yes to see where uninitialised values come from
==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
Thanks,
TILL TOENSHOFF
Re: Review Request 17636: Added valgrind memcheck runnables.
Posted by TILL TOENSHOFF <to...@me.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17636/
-----------------------------------------------------------
(Updated Feb. 9, 2014, 1:13 a.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod Kone.
Changes
-------
Rebased on master.
Repository: mesos-git
Description
-------
Adds valgrind runnables for executing memory / leak checks on mesos.
Diffs (updated)
-----
bin/memcheck-mesos-local.sh.in PRE-CREATION
bin/memcheck-mesos-master.sh.in PRE-CREATION
bin/memcheck-mesos-slave.sh.in PRE-CREATION
bin/memcheck-mesos-tests.sh.in PRE-CREATION
configure.ac 4f988a9
Diff: https://reviews.apache.org/r/17636/diff/
Testing
-------
$ mkdir build && bootstrap && cd build && ../configure && make check
$ build/bin/memcheck-mesos-tests.sh
Output:
[...]
[----------] Global test environment tear-down
[==========] 221 tests from 39 test cases ran. (99862 ms total)
[ PASSED ] 218 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] AttributesTest.Parsing
[ FAILED ] ResourcesTest.Parsing
[ FAILED ] ResourcesTest.Resources
3 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
==3061==
==3061== HEAP SUMMARY:
==3061== in use at exit: 1,582,309 bytes in 24,258 blocks
==3061== total heap usage: 4,401,619 allocs, 4,377,361 frees, 990,983,846 bytes allocated
==3061==
==3061== LEAK SUMMARY:
==3061== definitely lost: 107,320 bytes in 662 blocks
==3061== indirectly lost: 1,045,445 bytes in 16,342 blocks
==3061== possibly lost: 166,492 bytes in 2,758 blocks
==3061== still reachable: 263,052 bytes in 4,496 blocks
==3061== suppressed: 0 bytes in 0 blocks
==3061== Rerun with --leak-check=full to see details of leaked memory
==3061==
==3061== For counts of detected and suppressed errors, rerun with: -v
==3061== Use --track-origins=yes to see where uninitialised values come from
==3061== ERROR SUMMARY: 38038 errors from 172 contexts (suppressed: 2 from 2)
Thanks,
TILL TOENSHOFF