All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Böszörményi Zoltán" <zboszor@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] bitbake-server does not exit after build ends
Date: Mon, 27 Nov 2023 12:29:04 +0100	[thread overview]
Message-ID: <25c15f7d-d1e8-427f-a1ab-6edb854daaa0@gmail.com> (raw)
In-Reply-To: <1be4aa623d61e40f52466e1cc3b65c4543b39b20.camel@linuxfoundation.org>

2023. 11. 27. 11:52 keltezéssel, Richard Purdie írta:
> Is there anything interesting in the bitbake-cookerdaemon.log file?

Actually, yes.

This is obviously the most suspicious:

/usr/lib64/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process 
(pid=1605202) is multi-threaded, use of fork() may lead to deadlocks in the child.
   self.pid = os.fork()
/home/zozo/test-yocto-4.3/bitbake/bin/bitbake-worker:210: DeprecationWarning: This process 
(pid=1605590) is multi-threaded, use of fork() may lead to deadlocks in the child.
   pid = os.fork()
/home/zozo/test-yocto-4.3/bitbake/bin/bitbake-worker:210: DeprecationWarning: This process 
(pid=1607833) is multi-threaded, use of fork() may lead to deadlocks in the child.
   pid = os.fork()

There are a few other deprecation warnings, too,
which are not relevant to this particular problem
but may be interesting for the future, nevertheless:

/home/zozo/test-yocto-4.3/bitbake/lib/bb/codeparser.py:260: DeprecationWarning: ast.Str is 
deprecated and will be removed in Python 3.14; use ast.Constant instead
   if name in self.containsfuncs and isinstance(node.args[1], ast.Str):
/home/zozo/test-yocto-4.3/bitbake/lib/bb/codeparser.py:263: DeprecationWarning: Attribute 
s is deprecated and will be removed in Python 3.14; use value instead
   self.contains[varname].add(node.args[1].s)

ruby.bbclass has a lot of these at different line numbers:

/home/zozo/test-yocto-4.3/conf/../layers/meta-cloud-services/classes/ruby.bbclass:28: 
SyntaxWarning: invalid escape sequence '\.'
   r = re.compile("ruby ([0-9]+\.[0-9]+\.[0-9]+)*")

These lines occur at the end (probably normal):

1605202 10:39:58.854287 Parse cache valid
1605202 10:40:13.098694 Registering idle function <function 
BBCooker.buildTargets.<locals>.buildTargetsIdle at 0x7fa3e22e79c0>
1605202 10:40:13.098736 Removing idle function <bound method Command.runAsyncCommand of 
<bb.command.Command object at 0x7fa41259d580>>
1605202 12:17:02.357378 Running command ['stateShutdown']
1605202 12:17:02.357622 Sending reply (None, None)
1605202 12:17:02.357819 Command Completed (socket: True)

And the remaining child processes:

$ ps auxw | grep bitb | grep -v grep
zozo     1605202  2.3  3.5 1333384 1151808 ?     Sl   10:39   2:29 /usr/bin/python3 
/home/zozo/test-yocto-4.3/bitbake/bin/bitbake-server decafbad 3 5 
/home/zozo/test-yocto-4.3/bitbake-cookerdaemon.log /home/zozo/test-yocto-4.3/bitbake.lock 
/home/zozo/test-yocto-4.3/bitbake.sock 0 0 None 0
zozo     1605208  0.0  1.4 559372 466260 ?       S    10:39   0:00 /usr/bin/python3 
/home/zozo/test-yocto-4.3/bitbake/bin/bitbake-server decafbad 3 5 
/home/zozo/test-yocto-4.3/bitbake-cookerdaemon.log /home/zozo/test-yocto-4.3/bitbake.lock 
/home/zozo/test-yocto-4.3/bitbake.sock 0 0 None 0



  reply	other threads:[~2023-11-27 11:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27  9:52 bitbake-server does not exit after build ends Böszörményi Zoltán
2023-11-27 10:41 ` [OE-core] " Alexander Kanavin
2023-11-27 10:52 ` Richard Purdie
2023-11-27 11:29   ` Böszörményi Zoltán [this message]
2023-11-27 13:14     ` Martin Jansa
2023-11-28  9:26       ` Böszörményi Zoltán
2023-11-28 10:00         ` Richard Purdie
2023-11-28 10:02           ` Alexander Kanavin
2023-11-28 10:31           ` Böszörményi Zoltán
2023-11-28 14:50             ` Alexander Kanavin
2023-11-29  8:51               ` Böszörményi Zoltán
2023-12-21 18:47         ` Randy MacLeod
2023-12-21 18:56           ` Martin Jansa
2023-12-21 23:06             ` Randy MacLeod
2023-12-31 10:03               ` Alexander Kanavin
2024-01-05 16:05                 ` Martin Jansa
     [not found]                 ` <17A77F200F38338C.25044@lists.openembedded.org>
2024-01-05 16:54                   ` Martin Jansa
2024-01-05 17:01                     ` Steve Sakoman
2024-01-05 17:14                     ` Joshua Watt
     [not found]                     ` <17A7822E21CAE9E6.25044@lists.openembedded.org>
2024-01-06  2:20                       ` Steve Sakoman
2024-01-08 15:15                     ` Böszörményi Zoltán
     [not found] <179B721D67836847.32091@lists.openembedded.org>
2023-11-27  9:56 ` Böszörményi Zoltán

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=25c15f7d-d1e8-427f-a1ab-6edb854daaa0@gmail.com \
    --to=zboszor@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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.