* [bitbake][scarthgap][2.8][PATCH 0/1] Patch review
@ 2024-08-14 12:05 Steve Sakoman
2024-08-14 12:05 ` [bitbake][scarthgap][2.8][PATCH 1/1] data_smart: Improve performance for VariableHistory Steve Sakoman
0 siblings, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2024-08-14 12:05 UTC (permalink / raw)
To: bitbake-devel
Please review this change for 2.8/scarthgap and have comments back by
end of day Friday, August 16
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7241
The following changes since commit 11d83170922a2c6b9db1f6e8c23e533526984b2c:
codeparser: Skip non-local functions for module dependencies (2024-07-17 06:24:29 -0700)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.8-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.8-nut
Robert Yang (1):
data_smart: Improve performance for VariableHistory
lib/bb/data_smart.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bitbake][scarthgap][2.8][PATCH 1/1] data_smart: Improve performance for VariableHistory
2024-08-14 12:05 [bitbake][scarthgap][2.8][PATCH 0/1] Patch review Steve Sakoman
@ 2024-08-14 12:05 ` Steve Sakoman
0 siblings, 0 replies; 6+ messages in thread
From: Steve Sakoman @ 2024-08-14 12:05 UTC (permalink / raw)
To: bitbake-devel
From: Robert Yang <liezhi.yang@windriver.com>
Fixed:
- BBMULTICONFIG = "qemux86-64 qemuarm64" and more than 70 layers in BBLAYERS
$ bitbake -p -P
Check profile.log.processed, the record() cost more than 20 seconds, it is less
than 1 second when multiconfig is not enabled, and there would be the following
error when more muticonfigs are enabled:
Timeout while waiting for a reply from the bitbake server
Don't change the type of loginfo['detail'] or re-assign it can make record()
back to less than 1 second, this won't affect COW since loginfo is a mutable
type.
The time mainly affected by two factors:
1) The number of enabled layers, nearly 1 second added per layer when the
number is larger than 50.
2) The global var such as USER_CLASSES, about 1 ~ 2 seconds added per layer
when the layers number is larger than 50.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0596aa0d5b0e4ed3db11b5bd560f1d3439963a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
lib/bb/data_smart.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index 0128a5bb1..c6049d578 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -272,12 +272,9 @@ class VariableHistory(object):
return
if 'op' not in loginfo or not loginfo['op']:
loginfo['op'] = 'set'
- if 'detail' in loginfo:
- loginfo['detail'] = str(loginfo['detail'])
if 'variable' not in loginfo or 'file' not in loginfo:
raise ValueError("record() missing variable or file.")
var = loginfo['variable']
-
if var not in self.variables:
self.variables[var] = []
if not isinstance(self.variables[var], list):
@@ -336,7 +333,8 @@ class VariableHistory(object):
flag = '[%s] ' % (event['flag'])
else:
flag = ''
- o.write("# %s %s:%s%s\n# %s\"%s\"\n" % (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', event['detail'])))
+ o.write("# %s %s:%s%s\n# %s\"%s\"\n" % \
+ (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', str(event['detail']))))
if len(history) > 1:
o.write("# pre-expansion value:\n")
o.write('# "%s"\n' % (commentVal))
@@ -390,7 +388,7 @@ class VariableHistory(object):
if isset and event['op'] == 'set?':
continue
isset = True
- items = d.expand(event['detail']).split()
+ items = d.expand(str(event['detail'])).split()
for item in items:
# This is a little crude but is belt-and-braces to avoid us
# having to handle every possible operation type specifically
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bitbake][scarthgap][2.8][PATCH 0/1] Patch review
@ 2026-04-24 21:02 Yoann Congal
0 siblings, 0 replies; 6+ messages in thread
From: Yoann Congal @ 2026-04-24 21:02 UTC (permalink / raw)
To: bitbake-devel
Please review this set of changes for scarthgap and have comments back by
end of day Tuesday, April 28.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3732
But got impacted by 2 intermittent failures:
* qemuarm64-ptest failed with a python3 ptest failure
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/3558
* I reported the (new) issue in:
#16267 – [scarthgap] AB-INT PTEST: python3 failure (test_wrong_cert_tls13)
https://bugzilla.yoctoproject.org/show_bug.cgi?id=16267
* successfuly retried as https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/3559
* oe-selftest-armhost failed to download Rust crates from crates.io in bitbake selftest
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/23/builds/3835
* This bitbake commit did pass in https://autobuilder.yoctoproject.org/valkyrie/?#/builders/23/builds/3814
* This is a really recent issue (it also impacted the 6.0 release build)
The following changes since commit d3b4c352dd33fca90cd31649eda054b884478739:
fetch2: Fix LFS object checkout in submodules (2026-03-19 00:14:50 +0100)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.8-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.8-nut
for you to fetch changes up to c118575bc4f278bc857c532089e1c66ae81234f8:
runqueue.py: make sure we use bb multiprocessing (2026-04-22 17:28:54 +0200)
----------------------------------------------------------------
Trevor Gamblin (1):
runqueue.py: make sure we use bb multiprocessing
lib/bb/runqueue.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 6+ messages in thread* [bitbake][scarthgap][2.8][PATCH 0/1] Patch review
@ 2026-03-07 22:55 Yoann Congal
0 siblings, 0 replies; 6+ messages in thread
From: Yoann Congal @ 2026-03-07 22:55 UTC (permalink / raw)
To: bitbake-devel
Please review this set of changes for 2.8/scarthgap and have comments back by
end of day Tuesday, March 10.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3349
(Ignore the warning about Centos Stream9, its support is a work in progress)
The following changes since commit 10118785e4a670bce4980e1044c0888a8b6e84af:
knotty: Make sure getTerminalColumns() returns two integers (2026-02-13 08:48:40 +0000)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.8-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.8-nut
for you to fetch changes up to bebecffef63a3ac60420b5347d549f71b00dc151:
COW: Fix hardcoded magic numbers and work with python 3.13 (2026-03-06 21:15:02 +0100)
----------------------------------------------------------------
Richard Purdie (1):
COW: Fix hardcoded magic numbers and work with python 3.13
lib/bb/COW.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bitbake][scarthgap][2.8][PATCH 0/1] Patch review
@ 2024-06-11 13:17 Steve Sakoman
0 siblings, 0 replies; 6+ messages in thread
From: Steve Sakoman @ 2024-06-11 13:17 UTC (permalink / raw)
To: bitbake-devel
Please review this set of changes for 2.8/scarthgap and have comments back by
end of day Thursday, June 13.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7024
The following changes since commit fdac31655fb5441139f70e50292dbb5774cfdafe:
siggen: Enable batching of unihash queries (2024-06-05 16:52:59 +0100)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.8-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.8-nut
Richard Purdie (1):
tests/fetch: Tweak test to match upstream repo url change
lib/bb/tests/fetch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bitbake][scarthgap][2.8][PATCH 0/1] Patch review
@ 2024-05-20 13:38 Steve Sakoman
0 siblings, 0 replies; 6+ messages in thread
From: Steve Sakoman @ 2024-05-20 13:38 UTC (permalink / raw)
To: bitbake-devel
Please review this change for scarthgap and have comments back by
end of day Wednesday, May 22
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6937
The following changes since commit 8f90d10f9efc9a32e13f6bd031992aece79fe7cc:
cooker: Use hash client to ping upstream server (2024-05-02 16:07:18 +0100)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.8-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.8-nut
joshua Watt (1):
cooker: Handle ImportError for websockets
lib/bb/cooker.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-04-24 21:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 12:05 [bitbake][scarthgap][2.8][PATCH 0/1] Patch review Steve Sakoman
2024-08-14 12:05 ` [bitbake][scarthgap][2.8][PATCH 1/1] data_smart: Improve performance for VariableHistory Steve Sakoman
-- strict thread matches above, loose matches on Subject: below --
2026-04-24 21:02 [bitbake][scarthgap][2.8][PATCH 0/1] Patch review Yoann Congal
2026-03-07 22:55 Yoann Congal
2024-06-11 13:17 Steve Sakoman
2024-05-20 13:38 Steve Sakoman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox