The sstate cache mechanism currently has a blind spot: log messages shown
while a task first runs are not replayed when the task output comes back
from the cache. This is particularly true for warnings, which are
effectively hidden unless the task is rebuilt.

This openembedded-core series saves each task's messages into the sstate
cache and replays them when cached output is reused. Logs are also
replayed for tasks that are not themselves sstate-covered but are
dependencies of covered tasks. This requires the companion bitbake
series.

Signed-off-by: Mathieu Dubois-Briand <[email protected]>
---
Mathieu Dubois-Briand (3):
      sstate: Replay warnings and errors when restoring from sstate
      sstate: Replay the records of tasks covered by setscene
      oeqa/sstatetests: Add tests for sstate log replay

 .../log-replay-error-test/log-replay-error-test.bb |  11 ++
 .../log-replay-test/log-replay-test.bb             |  29 +++++
 meta/classes-global/sstate.bbclass                 | 116 ++++++++++++++++++-
 meta/lib/oeqa/selftest/cases/sstatetests.py        | 128 +++++++++++++++++++++
 4 files changed, 281 insertions(+), 3 deletions(-)
---
base-commit: ae5cafacec8e99c5a27fa5b3b378eefc595910ef
change-id: 20261023-mathieu-debug-replay-v4-535c89baa72c

Best regards,
-- 
Mathieu Dubois-Briand <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#248587): 
https://lists.openembedded.org/g/openembedded-core/message/248587
Mute This Topic: https://lists.openembedded.org/mt/121914147/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to