From: "Paul Barker" <paul@pbarker.dev>
To: "Richard Purdie" <richard.purdie@linuxfoundation.org>
Cc: Scott Murray <scott.murray@konsulko.com>,
bitbake-devel@lists.openembedded.org,
Joshua Watt <JPEWhacker@gmail.com>
Subject: Re: [bitbake-devel] [PATCH v4 0/5] Re-implement prserv on top of asyncrpc
Date: Tue, 27 Jul 2021 14:13:56 +0100 [thread overview]
Message-ID: <20210727141356.240bb95a.paul@pbarker.dev> (raw)
In-Reply-To: <269b9c191fdc8540eb6602409ef7a991e32a249d.camel@linuxfoundation.org>
[-- Attachment #1: Type: text/plain, Size: 2811 bytes --]
On Tue, 27 Jul 2021 13:28:30 +0100
"Richard Purdie" <richard.purdie@linuxfoundation.org> wrote:
> On Tue, 2021-07-27 at 13:26 +0100, Richard Purdie via lists.openembedded.org wrote:
> > On Mon, 2021-07-26 at 22:37 -0400, Scott Murray wrote:
> > > These changes replace the old XML-based RPC system in prserv with the
> > > new asyncrpc implementation originally used by hashserv, and add a
> > > read-only mode to match the hash equivalency server's support.
> > >
> > > Changes from v3:
> > > * Scott Murray taking over upstreaming effort from Paul Barker.
> > >
> > > * Dropped patches which are currently applied to master-next, this
> > > series should be applied on top of the current master-next branch.
> > >
> > > * Patches 2-4 updated by Scott Murray to rebase on top of 3983643
> > > ("bitbake: asyncrpc: Catch early SIGTERM").
> > >
> > > * Read-only PR server support patch added to stack to get it into
> > > the review process.
> > >
> > > Paul Barker (5):
> > > asyncrpc: Wait on writers to close with Python 3.7+
> > > asyncrpc: Ensure that asyncio shutdown is clean
> > > asyncrpc: Handle exceptions
> > > prserv: Replace XML RPC with modern asyncrpc implementation
> > > prserv: Add read-only mode
> >
> > There is an odd failure on the autobuilder which seems related to this.
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/75/builds/3746
> >
> > and looking at the bitbake-cookerdaemon.log:
> >
> > 1958 12:03:42.046562 Running command ['clientComplete']
> > 1958 12:03:42.046659 Command Completed
> > 1958 12:03:42.047003 Processing Client
> > 1958 12:03:42.047061 Disconnecting Client
> > 1958 12:03:42.047215 No timeout, exiting.
> > 1958 12:03:42.147541 Exiting
> > Caught exception: type object '_asyncio.Task' has no attribute 'all_tasks'
> > Caught exception: type object '_asyncio.Task' has no attribute 'all_tasks'
> > Caught exception: type object '_asyncio.Task' has no attribute 'all_tasks'
> > Caught exception: type object '_asyncio.Task' has no attribute 'all_tasks'
> >
> > with this last line repeating a 'lot' (log is over 1GB in size).
>
> I should add, this is after the bitbake-layers command used to add the layer during
> the setup of that build. The later command just times out as the server process
> remains and is locked up.
What's the Python version there? I've just re-checked the docs for
asyncio.Task.all_tasks():
This method is deprecated and will be removed in Python 3.9. Use the
asyncio.all_tasks() function instead.
asyncio.all_tasks() was added in Python 3.7. So we need to use
asyncio.Task.all_tasks() before 3.7, asyncio.all_tasks() after 3.7.
--
Paul Barker
https://pbarker.dev/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 235 bytes --]
next prev parent reply other threads:[~2021-07-27 13:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-27 2:37 [PATCH v4 0/5] Re-implement prserv on top of asyncrpc Scott Murray
2021-07-27 2:37 ` [PATCH v4 1/5] asyncrpc: Wait on writers to close with Python 3.7+ Scott Murray
2021-07-27 2:37 ` [PATCH v4 2/5] asyncrpc: Ensure that asyncio shutdown is clean Scott Murray
2021-07-27 2:37 ` [PATCH v4 3/5] asyncrpc: Handle exceptions Scott Murray
2021-07-27 2:37 ` [PATCH v4 4/5] prserv: Replace XML RPC with modern asyncrpc implementation Scott Murray
2021-07-27 2:37 ` [PATCH v4 5/5] prserv: Add read-only mode Scott Murray
2021-07-27 12:26 ` [PATCH v4 0/5] Re-implement prserv on top of asyncrpc Richard Purdie
[not found] ` <1695A57BEF93A6B5.3345@lists.openembedded.org>
2021-07-27 12:28 ` [bitbake-devel] " Richard Purdie
2021-07-27 13:13 ` Paul Barker [this message]
2021-07-27 14:46 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210727141356.240bb95a.paul@pbarker.dev \
--to=paul@pbarker.dev \
--cc=JPEWhacker@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
--cc=scott.murray@konsulko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.