The wrong libmirplatformgraphics.so is loaded in CI (which causes bugs and crashes during CI)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Invalid
|
High
|
Chris Halse Rogers |
Bug Description
I'm basing this on circumstantial evidence originating from the investigation of lp:1358698.
In two places: DefaultConfigur
If things are happening correctly this loads the version built as part of the current build. But if this is forced to fail then the version loaded is that installed elsewhere on the system.
That is clearly not appropriate when running the tests (but not noticed as most tests stub out this functionality).
The problem seen in lp:1358698 followed from this when the installed libmirplatformg
However, it is wrong to be loading the installed libmirplatformg
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Andreas Pokorny (community): Needs Information
- Alan Griffiths: Needs Fixing
-
Diff: 74 lines (+10/-11)3 files modifiedCMakeLists.txt (+2/-0)
cmake/LinuxCrossCompile.cmake (+3/-5)
cmake/MirCommon.cmake (+5/-6)
Changed in mir: | |
importance: | Undecided → High |
summary: |
- The wrong libmirplatformgraphics.so is loaded in CI + The wrong libmirplatformgraphics.so is loaded in CI (which causes bugs + and crashes during CI) |
Changed in mir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
status: | New → In Progress |
milestone: | none → 0.7.0 |
Changed in mir: | |
milestone: | 0.7.0 → 0.8.0 |
Changed in mir: | |
status: | In Progress → Fix Released |
This turns out to be a CI setup issue, which should be fixed in http:// bazaar. launchpad. net/~mir- team/+junk/ mir-medium- test-runner- for-jenkins/ revision/ 30
Specifically - since our stacks aren't (yet) parallel installable, the CI setup needed to keep both libmirserver24 and libmirserver25 around. The only way to do that is to have both libmirplatformg raphics- android and libmirplatformg raphics- mesa installed, but different versions of each, one for libmirserver24 and one for libmirserver25.
Due to the order we specify the dependencies - and the fact that only libmirplatform- graphics- android is installed on the device pre-CI - the solution apt chose is to leave the old libmirplatformg raphics- android installed and install the new libmirplatform- graphics- mesa.
With hilarious consequences!