[Sugar-devel] Frequent buildbot check failures in sugar-web
Gonzalo Odiard
gonzalo at laptop.org
Thu Dec 12 09:22:09 EST 2013
Datastore api have a few places with comments about function/methods than
should be async, but are sync.
Ex:
https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/datastore/datastore.py#L369
No idea about if is related, just a comment.
Gonzalo
On Thu, Dec 12, 2013 at 6:33 AM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131212/dcbccc3e/attachment-0001.html>
More information about the Sugar-devel
mailing list