bodnuti: [PATCH RFC 0/3] sstate: Replay warnings and errors when restoring from sstate base: ae5cafacec8e [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 512 | 513 | return True 514 | > 515 | sstate_installpkgdir[vardepsexclude] += "BB_SETSCENE_REPLAY_TASKS" 516 | 517 | python 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] = '...' 232 | 233 | return message 234 | > 235 | python sstate_save_task_log () { 236 | import json 237 | 238 | # 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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" > 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | INHIBIT_DEFAULT_DEPS = "1" 6 | EXCLUDE_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 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" > 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | INHIBIT_DEFAULT_DEPS = "1" 6 | EXCLUDE_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting error-level logs, used to test sstate log replay severity" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 > 1 | SUMMARY = "Recipe emitting log messages, used to test sstate log replay" 2 | LICENSE = "MIT" 3 | LIC_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 | } 17 | > 18 | do_emit_shell_log() { 19 | bbwarn "log-replay-shell-warn" 20 | } 21 | do_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] = '...' 23 | addtask emit_shell_log after do_install before do_build 24 | 25 | SSTATETASKS += "do_emit_shell_log" > 26 | python do_emit_shell_log_setscene() { 27 | sstate_setscene(d) 28 | } 29 | addtask do_emit_shell_log_setscene patchtest: 30 pass, 0 fail, 15 skip 22 findings: 8 errors, 3 warnings, 11 info