[Sugar-devel] Frequent buildbot check failures in sugar-web
Daniel Narvaez
dwnarvaez at gmail.com
Thu Dec 12 04:33:23 EST 2013
Interesting that he has different tests failing, on buildbot it seems to be
always the same. Maybe he can try to osbuild pull, try to reproduce again,
and post build/logs/check-modules.log? Seeing a slightly different failure
might help us understanding.
The timeout is 5 seconds so it's probably long enough. I suspect more some
kind of race either in apisocket.py, in the js datastore code or in
gwebsockets itself. Let's see if the logs tells us something more.
On 12 December 2013 03:46, Code Raguet <iraguet at activitycentral.com> wrote:
> Roger has told me recently (today) that this also happen in his local
> env...
> Some datastore related test randomly fails. Is not always the same test,
> but it is one of datastore's and them always fail due to timeouts.
>
> Perhaps it's just matter of performance and we can workaround it with
> higher timeouts...
>
> Nice work logging gwebsockets, Daniel.
>
>
>
> On Wed, Dec 11, 2013 at 10:18 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>
>> As an update, we are now back to the intermittent datastore tests failure
>> which we have been getting for a while.
>>
>>
>> http://buildbot.sugarlabs.org/builders/full-master/builds/17/steps/shell_3/logs/modules
>>
>> [1A [2KChrome 25.0 (Linux): Executed 16 of 34
>> [1A [2KChrome 25.0 (Linux) datastore should be able to set object metadata FAILED
>> timeout: timed out after 5000 msec waiting for metadata should be set
>> Chrome 25.0 (Linux): Executed 17 of 34 (1 FAILED)
>>
>> And in the shell logs we can see the corresponding 5 seconds delay in the
>> websockets communication
>>
>> 1386782408.775987 DEBUG gwebsockets: Text message {"method":"datastore.set_metadata","id":3,"params":["56ab3f11-4654-457d-97ee-b8b1ec092e3b",{"title":"hello"}],"jsonrpc":"2.0"}
>> 1386782409.802124 DEBUG gwebsockets: Got data, length 114
>>
>> That's not enough to say if python is never sending the message or if javascript is never receiving/handling it. So I make gwebsockets log sent messages to... when we get the next failure we can check if that helps figuring out what is going on.
>>
>>
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131212/b91f7937/attachment.html>
More information about the Sugar-devel
mailing list