bodnuti

Deterministic checks of Yocto Project & OpenEmbedded patches.


[PATCH RFC 0/3] sstate: Replay warnings and errors when restoring from sstate

List
openembedded-core
Thread
lore
Author
Mathieu Dubois-Briand
Last message
2026-10-24 12:34
Result
22 findings, 8 errors
Checked against
openembedded-core master
Base
ae5cafacec8e

[PATCH RFC 1/3] sstate: Replay warnings and errors when restoring from sstate

[PATCH RFC 2/3] sstate: Replay the records of tasks covered by setscene

warning oelint oelint.vars.mispell.unknown meta/classes-global/sstate.bbclass:515
'sstate_installpkgdir' is unknown. Consider adding it via --constantmods
512513    return True514515sstate_installpkgdir[vardepsexclude] += "BB_SETSCENE_REPLAY_TASKS"516517python sstate_hardcode_path_unpack () {518    # Fixup hardcoded paths
info oelint oelint.task.docstrings meta/classes-global/sstate.bbclass:235
Every custom task should have a doc string set by task[doc] = '...'
232233    return message234235python sstate_save_task_log () {236    import json237238    # Also bundle the messages of the non-sstate tasks of this recipe we depend

[PATCH RFC 3/3] oeqa/sstatetests: Add tests for sstate log replay

error oelint oelint.file.underscores meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Filename should contain at least one '_' in the end
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.DESCRIPTION meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'DESCRIPTION' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.HOMEPAGE meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'HOMEPAGE' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.SRC_URI meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'SRC_URI' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.file.underscores meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Filename should contain at least one '_' in the end
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.DESCRIPTION meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'DESCRIPTION' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.HOMEPAGE meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'HOMEPAGE' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
error oelint oelint.var.mandatoryvar.SRC_URI meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'SRC_URI' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
warning oelint oelint.var.licenseremotefile meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:3
License-File should be a remote file
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"45INHIBIT_DEFAULT_DEPS = "1"6EXCLUDE_FROM_WORLD = "1"
warning oelint oelint.var.licenseremotefile meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:3
License-File should be a remote file
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"45INHIBIT_DEFAULT_DEPS = "1"6EXCLUDE_FROM_WORLD = "1"
info oelint oelint.var.bbclassextend meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
BBCLASSEXTEND should be set if possible
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.BUGTRACKER meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'BUGTRACKER' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.CVE_PRODUCT meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'CVE_PRODUCT' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.SECTION meta-selftest/recipes-test/log-replay-error-test/log-replay-error-test.bb:1
Variable 'SECTION' should be set
1SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.bbclassextend meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
BBCLASSEXTEND should be set if possible
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.BUGTRACKER meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'BUGTRACKER' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.CVE_PRODUCT meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'CVE_PRODUCT' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.var.suggestedvar.SECTION meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:1
Variable 'SECTION' should be set
1SUMMARY = "Recipe emitting log messages, used to test sstate log replay"2LICENSE = "MIT"3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"4
info oelint oelint.task.docstrings meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:18
Every custom task should have a doc string set by task[doc] = '...'
15    bb.warn("log-replay-odd: line1\nline2 with @ sign and caf\u00e9")16}1718do_emit_shell_log() {19    bbwarn "log-replay-shell-warn"20}21do_emit_shell_log[sstate-inputdirs] = ""
info oelint oelint.task.docstrings meta-selftest/recipes-test/log-replay-test/log-replay-test.bb:26
Every custom task should have a doc string set by task[doc] = '...'
23addtask emit_shell_log after do_install before do_build2425SSTATETASKS += "do_emit_shell_log"26python do_emit_shell_log_setscene() {27    sstate_setscene(d)28}29addtask do_emit_shell_log_setscene

patchtest: 30 pass, 0 fail, 15 skip

Text report