I have gotten much closer with Yocto-check-layer, down to the same error for 
both layers, all other tests passing…

Can someone explain what the error means, and what might be causing it  ?

Meta-intel-bsp now showing:

INFO: Ran 10 tests in 341.168s
INFO: FAILED
INFO:  (failures=1, skipped=3)
INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-bsp ... FAIL

INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File 
"/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/lib/checklayer/cases/common.py",
 line 55, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % 
(self.tc.layer['name'], msg))
AssertionError: Adding layer meta-intel-bsp changed signatures.

Meta-intel-distro now showing:

INFO: Ran 8 tests in 352.407s
INFO: FAILED
INFO:  (failures=1, skipped=1)
INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-distro ... FAIL

INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File 
"/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/lib/checklayer/cases/common.py",
 line 55, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % 
(self.tc.layer['name'], msg))
AssertionError: Adding layer meta-intel-distro changed signatures.

Thanks,
Steve

From: [email protected] <[email protected]> On Behalf Of 
Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 10:17 AM
To: [email protected]
Subject: Re: [yocto] #yocto #kernel "yocto-check-layer"

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click 
on a link, decrypt/open an attachment, or enable macros.  For further 
information on how to spot phishing, access “Cybersecurity OneSpace Page” and 
report phishing by clicking the button “Report Phishing” on the Outlook toolbar.



Is there documentation on the yocto-check-layer script thtat goes over proper 
use of command line options ?


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf 
Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Wednesday, February 10, 2021 8:55 AM
To: [email protected]<mailto:[email protected]>
Subject: [yocto] #yocto #kernel "yocto-check-layer"

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click 
on a link, decrypt/open an attachment, or enable macros.  For further 
information on how to spot phishing, access “Cybersecurity OneSpace Page” and 
report phishing by clicking the button “Report Phishing” on the Outlook toolbar.



Mb build was setup and done under one layer, with “distro” and “bsp“ at the 
same layer, I wanted to split them up into separate layers inorder to better 
conform to the Yocto standard…. (Note my kernel builds and runs correctly when 
split or not split)

When not split “Yocto-check-layer” calls me out for having “distro” and “bsp” 
in same layer, when I split them I am seeing the following for each new layer:

Can someone explain the errors the script is reporting and how to resolve 
(these are not seen build the split or non-split images) ?

08:43 smonsees@yix490031 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default>yocto-check-layer
 
/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/meta-intel/meta-intel-bsp
INFO: Detected layers:
INFO: meta-intel-bsp: LayerType.BSP, 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-bsp
INFO:
INFO: Setting up for meta-intel-bsp(LayerType.BSP), 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-bsp
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
INFO: Generating signatures failed. This might be due to some parse error 
and/or general layer incompatibilities.
Command: BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" 
BB_SIGNATURE_HANDLER="OEBasicHash" bitbake -S none world
Output:
Parsing recipes...done.
Parsing of 2450 .bb files complete (0 cached, 2450 parsed). 3645 targets, 91 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'shim' (but 
/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/packagegroups/packagegroup-base.bb
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'shim' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['shim']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'packagegroup-base', 'shim']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-bsp ... FAIL (Generating world signatures)
08:44 smonsees@yix490031 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default>yocto-check-layer
 
/disk0/scratch/smonsees/yocto/workspace_3/poky/../meta-bae/meta-limws/meta-intel/meta-intel-distro
INFO: Detected layers:
INFO: meta-intel-distro: LayerType.DISTRO, 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-distro
INFO:
INFO: Setting up for meta-intel-distro(LayerType.DISTRO), 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/meta-intel-distro
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
INFO: Generating signatures failed. This might be due to some parse error 
and/or general layer incompatibilities.
Command: BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" 
BB_SIGNATURE_HANDLER="OEBasicHash" bitbake -S none world
Output:
Loading cache...done.
Loaded 3645 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'seloader' (but 
/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/packagegroups/packagegroup-base.bb
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'seloader' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['seloader']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 
'packagegroup-base', 'seloader']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel-distro ... FAIL (Generating world signatures)
08:46 smonsees@yix490031 
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default>

Thanks,
Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52289): https://lists.yoctoproject.org/g/yocto/message/52289
Mute This Topic: https://lists.yoctoproject.org/mt/80531789/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to