Bug 15223

Summary: yocto-check-layer does not respect BBMASK
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Thomas Roos <thomas>
Component: Scripts and ToolsAssignee: Unassigned <unassigned>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: randy.macleod, ross.burton
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Thomas Roos 2023-10-05 11:24:10 UTC
meta-python did recently add a recipe (python3-boto3) that we have in meta-aws.
Even when adding it to

BBMASK += " \
        meta-openembedded/meta-python/recipes-devtools/python/python3-boto* \
"
in our layer.conf

I still get failures, also --without-software-layer-signature-check does not disable this test (not sure if it should)

INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File "/home/ubuntu/data/yocto/yocto_master_checklayer/poky/scripts/lib/checklayer/cases/common.py", line 99, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
AssertionError: Adding layer meta-aws changed signatures.
19 signatures changed, initial differences (first hash before, second after):
   python3-botocore:do_recipe_qa: b2eef4b5b0c3b0614430ca4aebd5e799f2be4d9bdcc9b0ecc2cdf3eed8b5397b -> ae2eb1d67366bad283459742491e830d95ab1503e48c1f756eeac50b5e4e4ca2
      bitbake-diffsigs --task python3-botocore do_recipe_qa --signature b2eef4b5b0c3b0614430ca4aebd5e799f2be4d9bdcc9b0ecc2cdf3eed8b5397b ae2eb1d67366bad283459742491e830d95ab1503e48c1f756eeac50b5e4e4ca2
      NOTE: Starting bitbake server...
      Task dependencies changed from:
      ['ABIEXTENSION', 'BPN', 'DEFAULTTUNE', 'ERROR_QA', 'HOMEPAGE', 'LIBCEXTENSION', 'MLPREFIX', 'MULTIMACH_TARGET_SYS', 'P', 'PACKAGE_ARCH', 'PN', 'PR', 'PV', 'PYPI_ARCHIVE_NAME', 'PYPI_ARCHIVE_NAME_PREFIX', 'PYPI_PACKAGE', 'PYPI_PACKAGE_EXT', 'PYPI_SRC_URI', 'QA_ERRORS_FOUND', 'QA_LOGFILE', 'RECIPE_MAINTAINER', 'SPECIAL_PKGSUFFIX', 'SRC_URI', 'SRC_URI[sha256sum]', 'SSTATECREATEFUNCS', 'SSTATEPOSTCREATEFUNCS', 'SSTATEPOSTINSTFUNCS', 'SSTATEPOSTUNPACKFUNCS', 'SSTATE_BUILDDIR', 'SSTATE_CURRTASK', 'SSTATE_EXTRAPATH', 'SSTATE_INSTDIR', 'SSTATE_MANIFESTS', 'SSTATE_MANMACH', 'SSTATE_PKG', 'SSTATE_PKGNAME', 'SSTATE_PKGSPEC', 'SSTATE_SCAN_FILES', 'SSTATE_SKIP_CREATION', 'SSTATE_VERSION', 'STAMP', 'SUMMARY', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_PKGARCH', 'TUNE_PKGARCH:tune-core2-64', 'do_recipe_qa[network]', 'do_recipe_qa[sstate-inputdirs]', 'generate_sstatefn', 'oe.path.copyhardlinktree', 'oe.path.copytree', 'oe.path.remove', 'oe.qa.exit_if_errors', 'oe.qa.exit_with_message_if_errors', 'oe.qa.handle_error', 'oe.qa.write_error', 'oe.sstatesig.sstate_get_manifest_filename', 'oe.utils.prune_suffix', 'pypi_package', 'pypi_src_uri', 'sstate_add', 'sstate_clean', 'sstate_clean_manifest', 'sstate_init', 'sstate_install', 'sstate_installpkgdir', 'sstate_package', 'sstate_state_fromvars', 'sstate_task_postfunc', 'sstate_task_prefunc']
      to:
      ['ABIEXTENSION', 'BPN', 'DEFAULTTUNE', 'ERROR_QA', 'HOMEPAGE', 'LIBCEXTENSION', 'MLPREFIX', 'MULTIMACH_TARGET_SYS', 'P', 'PACKAGE_ARCH', 'PN', 'PR', 'PV', 'QA_ERRORS_FOUND', 'QA_LOGFILE', 'RECIPE_MAINTAINER', 'SPECIAL_PKGSUFFIX', 'SRC_URI', 'SSTATECREATEFUNCS', 'SSTATEPOSTCREATEFUNCS', 'SSTATEPOSTINSTFUNCS', 'SSTATEPOSTUNPACKFUNCS', 'SSTATE_BUILDDIR', 'SSTATE_CURRTASK', 'SSTATE_EXTRAPATH', 'SSTATE_INSTDIR', 'SSTATE_MANIFESTS', 'SSTATE_MANMACH', 'SSTATE_PKG', 'SSTATE_PKGNAME', 'SSTATE_PKGSPEC', 'SSTATE_SCAN_FILES', 'SSTATE_SKIP_CREATION', 'SSTATE_VERSION', 'STAMP', 'SUMMARY', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_PKGARCH', 'TUNE_PKGARCH:tune-core2-64', 'do_recipe_qa[network]', 'do_recipe_qa[sstate-inputdirs]', 'generate_sstatefn', 'oe.path.copyhardlinktree', 'oe.path.copytree', 'oe.path.remove', 'oe.qa.exit_if_errors', 'oe.qa.exit_with_message_if_errors', 'oe.qa.handle_error', 'oe.qa.write_error', 'oe.sstatesig.sstate_get_manifest_filename', 'oe.utils.prune_suffix', 'sstate_add', 'sstate_clean', 'sstate_clean_manifest', 'sstate_init', 'sstate_install', 'sstate_installpkgdir', 'sstate_package', 'sstate_state_fromvars', 'sstate_task_postfunc', 'sstate_task_prefunc']
      basehash changed from 80cb453b8a1f0e747d4f618ad70d143d4900de6bf4d31cea025681e3b312f255 to 2168729b66e8547dcd2d4f1aaaffa94e851df35e9a8e856cca18c870bc0a2bc9
      List of dependencies for variable SRC_URI changed from 'frozenset({'SRC_URI[sha256sum]', 'PYPI_SRC_URI'})' to 'frozenset()'
      Dependency on Variable PYPI_ARCHIVE_NAME was removed
      Dependency on Variable PYPI_ARCHIVE_NAME_PREFIX was removed
      Dependency on Variable PYPI_PACKAGE was removed
      Dependency on Variable PYPI_PACKAGE_EXT was removed
      Dependency on Variable PYPI_SRC_URI was removed
      Dependency on Variable SRC_URI[sha256sum] was removed
      Dependency on Variable pypi_package was removed
      Dependency on Variable pypi_src_uri was removed
      Variable SRC_URI value changed:
      "[-${PYPI_SRC_URI}-]  {+   git://github.com/boto/botocore.git;protocol=https;branch=master     file://run-ptest     +}"
      Variable SUMMARY value changed:
      "[-A low-level interface to a growing number of Amazon Web Services.-] {+python3 botocore+}"
Comment 1 Randy MacLeod 2023-10-05 14:34:50 UTC
Yocto check layer is actually doing the right thing. The two layer owners need to resolve the issue.  -- YP bug triage