Memory errors in unit tests under valgrind on armhf
Bug #1279438 reported by
Alexandros Frantzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alexandros Frantzis | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
The Mir unit tests fail under valgrind on armhf because of spurious memory errors, most likely caused by external (to Mir) code (the dynamic linker, as an example). We aren't getting failures in CI currently, because we are ignoring valgrind errors on android.
An MP that changes this (among other things it does related to platform) is blocked by this issue. The short term solution is to disable running the tests under valgrind for armhf in CI, but it's imperative that we take care of the issue properly.
Related branches
lp://qastaging/~afrantzis/mir/valgrind-suppressions-armhf
- Alexandros Frantzis (community): Abstain
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Kevin DuBois (community): Abstain
- Alan Griffiths: Approve
-
Diff: 371 lines (+166/-19)6 files modifiedCMakeLists.txt (+5/-1)
cmake/MirCommon.cmake (+8/-4)
cmake/src/mir/mir_discover_gtest_tests.cpp (+24/-10)
include/test/mir_test_doubles/mock_hwc_composer_device_1.h (+2/-0)
tests/unit-tests/test_udev_wrapper.cpp (+16/-4)
tools/valgrind_suppressions_armhf (+111/-0)
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
Changed in mir: | |
status: | Incomplete → New |
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
milestone: | none → 0.1.6 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note that this is not the same as bug 1279438 which refers specifically to memory leaks (which we aren't catching in CI at all on any platform).