<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16374</bug_id>
          
          <creation_ts>2026-07-23 21:03:55 +0000</creation_ts>
          <short_desc>Need a builder/job which tests fragments/yocto/sbom-cve-check</short_desc>
          <delta_ts>2026-07-30 15:17:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>6.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>paul</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106325</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-07-23 21:03:55 +0000</bug_when>
    <thetext>A recent change in oe-core (00864cf5bc meta: Add tag in SRC_URI to multiple recipes) had a hidden clash with fragments/yocto/sbom-cve-check:

Since the fragment sets SRCREV = AUTOREV, this overrides at build time and do_unpack fails because it is comparing against the tag SRCREV in the recipes for sbom-cve-check-update-cvelist-native and sbom-cve-check-update-nvd-native.

The failure looks like:

ERROR: sbom-cve-check-update-nvd-native-2026.06.24-000003-r0 do_unpack: Bitbake Fetcher Error: FetchError(&quot;The revision the git tag &apos;v2026.06.24-000003&apos; resolved to didn&apos;t match the SRCREV in use (11e62eba27133a54836b7a081d05ff96f72d879b vs bce4f8648122d68567c07df0260567592e36250b)&quot;, &apos;git://github.com/fkie-cad/nvd-json-data-feeds.git;branch=main;protocol=https;destsuffix=;tag=v2026.06.24-000003&apos;)

where bce4f86 was the HEAD on branch &apos;main&apos; at the time the build was run and 11e62eb is the tag SRCREV for v2026.06.24-000003.

This has been fixed in oe-core commit:
ff6f41cc6e fragments/yocto/sbom-cve-check: fix conflict with tag=

However, we should probably test the fragment as part of patch review smoke tests to prevent future surprises.

This would have caused the &apos;metrics&apos; job to blow up, most likely, as that is the only place we currently utilize &apos;sbom-cve-check&apos; in yocto-autobuilder-helper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106380</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-07-30 14:33:59 +0000</bug_when>
    <thetext>Add a test that at least parse with that fragment enabled.- RP on YP bug review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106390</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-07-30 15:17:32 +0000</bug_when>
    <thetext>Since it fails in do_unpack, parsing alone is not sufficient.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>