Bug 78593

Summary: [next] test-self-handle seems to be racy
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: xclaesse
Version: unspecifiedKeywords: patch
Hardware: Other   
OS: All   
URL: http://cgit.collabora.com/git/user/xclaesse/telepathy-glib.git/log/?h=next-self-handle
Whiteboard:
i915 platform: i915 features:
Attachments: log

Description Guillaume Desmottes 2014-05-12 08:35:02 UTC
Created attachment 98889 [details]
log

When I run "make check" in next test-self-handle sometimes fails. I didn't manage to reproduce when running only this test so I guess there is a race somewhere.
Comment 1 Xavier Claessens 2014-05-12 13:55:40 UTC
Yes, it seems my latest commit to fix that only reduced the likeliness of that race but didn't fix it completely after all :(

That test require precise timing and when ported to GDBus it became much more complicated to get right.
Comment 2 Simon McVittie 2014-05-14 09:01:27 UTC
I've stubbed out the offending test for the 0.99.11 release.
Comment 4 Simon McVittie 2014-05-15 09:48:41 UTC
Sure, that can't hurt. Please run the test enough times to be confident that you can reproduce the failure (doing other work in parallel helps to trigger it - compile or run the CMs' test suites?), then apply this and try again.

You will also need to revert <http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?h=next&id=d00ccc12e7c27b42538389be4595f658ac2cc4eb>.
Comment 5 Simon McVittie 2014-09-17 13:18:58 UTC
Fixed in git (I hope) for 0.99.12

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.