Mir

intermittent acceptance test bug in TestClientInput

Bug #1388802 reported by Alan Griffiths
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Alan Griffiths
mir (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://jenkins.qa.ubuntu.com/job/mir-clang-utopic-amd64-build/2344/console

        Start 34: mir_acceptance_tests.TestClientInput.*
 34/246 Test #34: mir_acceptance_tests.TestClientInput.* ........................................***Failed 15.85 sec

Similar to lp: 1196744 but that was closed a year ago. (So I'm assuming it hasn't been seen all this time and we have a new cause.)

Tags: testsfail

Related branches

Changed in mir:
importance: Undecided → High
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I've spent a while looking at this and found nothing convincing.

Running it locally - under valgrind, on a loaded system, for a long time - doesn't help reproduce.

helgrind reports a number of errors around expectations - but many of these seem to be because the thread fulfilling the expectation is running before the expectation is set. There is sequencing (by only sending events from the server after setting expectations) but streaming data over a socket goes beyond the "memory model" and helgrind doesn't see it.

I've changed the tests to start the client thread after the expectations are set - which more than halves the size of the helgrind report.

Changed in mir:
status: New → In Progress
assignee: nobody → Alan Griffiths (alan-griffiths)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.9.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.