[Systems] developer.sugarlabs.org update hook unresponsive

James Cameron quozl at laptop.org
Sun Oct 1 22:43:08 EDT 2017


Sorry, bad link.

https://github.com/sugarlabs-infra/developer-rebuilder/blob/master/main.py

(same general idea, different in details)

On Mon, Oct 02, 2017 at 01:41:20PM +1100, James Cameron wrote:
> Okay, thanks.  Where's the flask app?  What's the building bot?
> 
> It looked to me that Kafka on freedom port 9092 was meant to make this
> async anyway;
> 
> https://github.com/sugarlabs-infra/help-rebuilder/blob/master/main.py
> 
> But I don't know what triggers the message from Kafka.
> 
> If there's still a sugar-buildbot instance from back in Daniel Narvaez
> days, I think we aren't using it and it might be time to turn it off.
> 
> http://buildbot.sugarlabs.org/ is down.
> 
> On Sun, Oct 01, 2017 at 11:18:34PM -0300, Samuel Cantero wrote:
> > I've recently checked it and I see the following as error:
> > 
> >   File "/usr/local/lib/python2.7/socket.py", line 307, in flush
> >     self._sock.sendall(view[write_offset:write_offset+buffer_size])
> > socket.error: [Errno 32] Broken pipe
> > 
> > This is due the python process (flask app) has received SIGPIPE signal which
> > means in this case GitHub has closed the connection. I think GH timeout is only
> > 1 sec and our building bot is taking more time. We need to reply to GH when the
> > payload arrives and then continue processing in background (async mode). We
> > might replace flask by aiohttp. Using celery is too overkill for this.
> > 
> > Best,
> > 
> > On Sun, Oct 1, 2017 at 10:10 PM, James Cameron <[1]quozl at laptop.org> wrote:
> > 
> >     Two recent commits by Walter and I have not updated
> >     [2]https://developer.sugarlabs.org/
> > 
> >     Is it failing in some way?  Can we fix it?
> >    
> >     --
> >     James Cameron
> >     [3]http://quozl.netrek.org/
> >     _______________________________________________
> >     Systems mailing list
> >     [4]Systems at lists.sugarlabs.org
> >     [5]http://lists.sugarlabs.org/listinfo/systems
> > 
> > References:
> > 
> > [1] mailto:quozl at laptop.org
> > [2] https://developer.sugarlabs.org/
> > [3] http://quozl.netrek.org/
> > [4] mailto:Systems at lists.sugarlabs.org
> > [5] http://lists.sugarlabs.org/listinfo/systems
> 
> -- 
> James Cameron
> http://quozl.netrek.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Systems mailing list