valgrind acceptance-tests: [ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
valgrind acceptance-tests:
[ FAILED ] TestClientInput
[ RUN ] TestClientInput
unknown file: Failure
C++ exception with description "Poll on readfd for pipe timed out" thrown in the test body.
==4491==
==4491== HEAP SUMMARY:
==4491== in use at exit: 396 bytes in 8 blocks
==4491== total heap usage: 7,379 allocs, 7,371 frees, 452,861 bytes allocated
==4491==
==4491== LEAK SUMMARY:
==4491== definitely lost: 0 bytes in 0 blocks
==4491== indirectly lost: 0 bytes in 0 blocks
==4491== possibly lost: 118 bytes in 4 blocks
==4491== still reachable: 278 bytes in 4 blocks
==4491== suppressed: 0 bytes in 0 blocks
==4491== Rerun with --leak-check=full to see details of leaked memory
==4491==
==4491== For counts of detected and suppressed errors, rerun with: -v
==4491== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
/home/dan/
Actual function call count doesn't match EXPECT_
Expected: to be called once
Actual: never called - unsatisfied and active
Google Test trace:
/home/dan/
==4490==
==4490== HEAP SUMMARY:
==4490== in use at exit: 6,739 bytes in 119 blocks
==4490== total heap usage: 20,221 allocs, 20,102 frees, 1,921,076 bytes allocated
==4490==
==4490== LEAK SUMMARY:
==4490== definitely lost: 0 bytes in 0 blocks
==4490== indirectly lost: 0 bytes in 0 blocks
==4490== possibly lost: 2,621 bytes in 43 blocks
==4490== still reachable: 4,118 bytes in 76 blocks
==4490== suppressed: 0 bytes in 0 blocks
==4490== Rerun with --leak-check=full to see details of leaked memory
==4490==
==4490== For counts of detected and suppressed errors, rerun with: -v
==4490== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
/home/dan/
Value of: result.succeeded()
Actual: false
Expected: true
client terminate error=process:
/home/dan/
Value of: result.succeeded()
Actual: false
Expected: true
client terminate error=process:
terminate called after throwing an instance of 'boost:
what(): Timed out waiting for client (2) to appear
==4455==
==4455== HEAP SUMMARY:
==4455== in use at exit: 63,229 bytes in 1,078 blocks
==4455== total heap usage: 10,191 allocs, 9,113 frees, 604,973 bytes allocated
==4455==
==4455== LEAK SUMMARY:
==4455== definitely lost: 0 bytes in 0 blocks
==4455== indirectly lost: 0 bytes in 0 blocks
==4455== possibly lost: 12,059 bytes in 215 blocks
==4455== still reachable: 51,170 bytes in 863 blocks
==4455== suppressed: 0 bytes in 0 blocks
==4455== Rerun with --leak-check=full to see details of leaked memory
==4455==
==4455== For counts of detected and suppressed errors, rerun with: -v
==4455== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
/home/dan/
Value of: result.succeeded()
Actual: false
Expected: true
process:
[ FAILED ] TestClientInput
Related branches
- Daniel van Vugt: Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 11 lines (+1/-1)1 file modifiedtests/acceptance-tests/test_client_input.cpp (+1/-1)
Changed in mir: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
status: | Confirmed → In Progress |
Changed in mir: | |
milestone: | none → 0.0.10 |
status: | Fix Committed → Fix Released |
The key error seems to be: "C++ exception with description "Poll on readfd for pipe timed out" thrown in the test body."
this is happening in client "2" in TestClientInput _hidden_ clients_ do_not_ receive_ pointer_ events_ Test::TestBody( )::ButtonClient Two::exec( )
I've asked tvoss to take a look as he knows CrossProcessSync better than I do.