All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Re-implement prserv on top of asyncrpc
@ 2021-05-28  8:42 Paul Barker
  2021-05-28  8:42 ` [PATCH 1/4] asyncrpc: Add ping method Paul Barker
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Paul Barker @ 2021-05-28  8:42 UTC (permalink / raw)
  To: bitbake-devel, Richard Purdie, Joshua Watt; +Cc: Paul Barker

These changes replace the old XML-based RPC system in prserv with the
new asyncrpc implementation originally used by hashserv. A couple of
improvments are required in asyncrpc to support this.

I finally stumbled across the issue which led to the hanging builds
seen on the autobuilder when testing the initial RFC series.
It was a fairly dumb mistake on my behalf and I'm not sure how it
didn't trigger in my initial testing! The
`PRServerClient.handle_export()` function was missing a call to
`self.write_message()` so the client just ended up stuck waiting for a
response that was never to come. This issue is fixed here.

I've ran these changes through both `bitbake-selftest` and
`oe-selftest -a` and all looks good on my end. A couple of failures
were seen in oe-selftest but these are related to my host system
configuration (socat not installed, firewall blocking ports, etc) so
I'm fairly confident they aren't caused by this patch series.

Paul Barker (4):
  asyncrpc: Add ping method
  asyncrpc: Avoid duplicate sockets in TCP server
  asyncrpc: Reduce verbosity
  prserv: Replace XML RPC with modern asyncrpc implementation

 lib/bb/asyncrpc/client.py |   7 +-
 lib/bb/asyncrpc/serv.py   |  16 ++-
 lib/prserv/serv.py        | 271 ++++++++++++++++++++------------------
 3 files changed, 163 insertions(+), 131 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-06-07 13:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  8:42 [PATCH 0/4] Re-implement prserv on top of asyncrpc Paul Barker
2021-05-28  8:42 ` [PATCH 1/4] asyncrpc: Add ping method Paul Barker
2021-05-28  8:42 ` [PATCH 2/4] asyncrpc: Avoid duplicate sockets in TCP server Paul Barker
2021-06-02 14:38   ` Joshua Watt
2021-06-07 13:51     ` Paul Barker
2021-05-28  8:42 ` [PATCH 3/4] asyncrpc: Reduce verbosity Paul Barker
2021-05-28  8:42 ` [PATCH 4/4] prserv: Replace XML RPC with modern asyncrpc implementation Paul Barker
2021-05-31 11:25 ` [PATCH 0/4] Re-implement prserv on top of asyncrpc Richard Purdie
2021-05-31 14:45   ` Paul Barker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.