Wind River Support Network

HomeDefectsLIN10-4839
Fixed

LIN10-4839 : Show signature differences about meta-security-compliance

Created: Oct 22, 2018    Updated: Dec 16, 2018
Resolved Date: Nov 8, 2018
Found In Version: 10.17.41.12
Fix Version: 10.17.41.13
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config

Description

INFO: Starting to analyze: meta-security-compliance
INFO: ----------------------------------------------------------------------
INFO: skipped "BSPCheckLayer: Layer meta-security-compliance isn't BSP one."
INFO: test_parse (common.CommonCheckLayer)
INFO:  ... ok
INFO: test_readme (common.CommonCheckLayer)
INFO:  ... ok
INFO: test_show_environment (common.CommonCheckLayer)
INFO:  ... ok
INFO: test_signatures (common.CommonCheckLayer)
Loading cache: 100% |##############################################################################################################################################| Time: 0:00:01
Loaded 6869 entries from dependency cache.
INFO:  ... FAIL
INFO: test_world (common.CommonCheckLayer)
INFO:  ... ok
INFO: skipped "DistroCheckLayer: Layer meta-security-compliance isn't Distro one."
INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File "/lx1017/all/scripts/lib/checklayer/cases/common.py", line 53, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
AssertionError: Adding layer meta-security-compliance changed signatures.
509 signatures changed, initial differences (first hash before, second after):
   lib32-os-release:do_compile: 84f4508ec53493154a7f5103cd736159 -> 918fb2d3172833a9de2e8a68733e8790
      bitbake-diffsigs --task lib32-os-release do_compile --signature 84f4508ec53493154a7f5103cd736159 918fb2d3172833a9de2e8a68733e8790
      NOTE: Starting bitbake server...
      Task dependencies changed from:
      ['B', 'BP', 'BPN', 'DISTRO', 'DISTRO_NAME', 'DISTRO_PRETTY_VERSION', 'DISTRO_VERSION', 'ID', 'ID_LIKE', 'NAME', 'OS_RELEASE_FIELDS', 'PN', 'PRETTY_NAME', 'PV', 'S', 'SPECIAL_PKGSUFFIX', 'VERSION', 'VERSION_ID', 'WRLINUX_BRANCH', 'WRLINUX_BRANDING', 'WRLINUX_MAJOR_VERSION', 'WRLINUX_UPDATE_VERSION', 'WRLINUX_VARIANT', 'WRLINUX_WW_VERSION', 'WRLINUX_YEAR_VERSION', 'base_prune_suffix', 'do_compile[umask]', 'sanitise_version']
      to:
      ['B', 'BP', 'BPN', 'CPE_NAME', 'DISTRO', 'DISTRO_NAME', 'DISTRO_PRETTY_VERSION', 'DISTRO_VERSION', 'ID', 'ID_LIKE', 'NAME', 'OS_RELEASE_FIELDS', 'PN', 'PRETTY_NAME', 'PV', 'S', 'SPECIAL_PKGSUFFIX', 'VERSION', 'VERSION_ID', 'WRLINUX_BRANCH', 'WRLINUX_BRANDING', 'WRLINUX_MAJOR_VERSION', 'WRLINUX_UPDATE_VERSION', 'WRLINUX_VARIANT', 'WRLINUX_WW_VERSION', 'WRLINUX_YEAR_VERSION', 'base_prune_suffix', 'do_compile[umask]', 'sanitise_version']
      basehash changed from 62854283d65e2685a1f05b67cafe2707 to 5f9db3db57c86926a372123b84e37087
      Dependency on variable CPE_NAME was added
      Variable OS_RELEASE_FIELDS value changed:
      "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME {+CPE_NAME+}"

   os-release:do_compile: 6152e59a00d07468e3191a09a7188312 -> 934410ac653652b59825598f78978ca6
      bitbake-diffsigs --task os-release do_compile --signature 6152e59a00d07468e3191a09a7188312 934410ac653652b59825598f78978ca6
      NOTE: Starting bitbake server...
      Task dependencies changed from:
      ['B', 'BP', 'BPN', 'DISTRO', 'DISTRO_NAME', 'DISTRO_PRETTY_VERSION', 'DISTRO_VERSION', 'ID', 'ID_LIKE', 'NAME', 'OS_RELEASE_FIELDS', 'PN', 'PRETTY_NAME', 'PV', 'S', 'SPECIAL_PKGSUFFIX', 'VERSION', 'VERSION_ID', 'WRLINUX_BRANCH', 'WRLINUX_BRANDING', 'WRLINUX_MAJOR_VERSION', 'WRLINUX_UPDATE_VERSION', 'WRLINUX_VARIANT', 'WRLINUX_WW_VERSION', 'WRLINUX_YEAR_VERSION', 'base_prune_suffix', 'do_compile[umask]', 'sanitise_version']
      to:
      ['B', 'BP', 'BPN', 'CPE_NAME', 'DISTRO', 'DISTRO_NAME', 'DISTRO_PRETTY_VERSION', 'DISTRO_VERSION', 'ID', 'ID_LIKE', 'NAME', 'OS_RELEASE_FIELDS', 'PN', 'PRETTY_NAME', 'PV', 'S', 'SPECIAL_PKGSUFFIX', 'VERSION', 'VERSION_ID', 'WRLINUX_BRANCH', 'WRLINUX_BRANDING', 'WRLINUX_MAJOR_VERSION', 'WRLINUX_UPDATE_VERSION', 'WRLINUX_VARIANT', 'WRLINUX_WW_VERSION', 'WRLINUX_YEAR_VERSION', 'base_prune_suffix', 'do_compile[umask]', 'sanitise_version']
      basehash changed from 2b1eeec381127f1d99797382180f24be to 50317ec5231eadce69c47b5da6cc2756
      Dependency on variable CPE_NAME was added
      Variable OS_RELEASE_FIELDS value changed:
      "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME {+CPE_NAME+}"

Steps to Reproduce

1. Create project
setup.sh  --machines=qemux86-64  --all-layers
2. Run the yocto-check-layer $laysers --dependency $depend-layers
  e.g. 
          a. Get the layers  from "bitbake-layers show-layers" to list file
          b. yocto-check-layer  `cat list` --dependency  $project/layers/wr-template

Other Downloads


Live chat
Online