<?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>14974</bug_id>
          
          <creation_ts>2022-11-24 15:17:42 +0000</creation_ts>
          <short_desc>cve_check_write_rootfs_manifest fails with FileNotFoundError</short_desc>
          <delta_ts>2023-05-04 13:14:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>jermain.horsman</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94445</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-11-24 15:17:42 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/4368/steps/14/logs/stdio

ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: &apos;exec_func_python() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:cve_check_write_rootfs_manifest(d)
     0003:
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes/cve-check.bbclass&apos;, lineno: 238, function: cve_check_write_rootfs_manifest
     0234:    if enable_text:
     0235:        link_path = os.path.join(deploy_dir, &quot;%s.cve&quot; % link_name)
     0236:        manifest_name = d.getVar(&quot;CVE_CHECK_MANIFEST&quot;)
     0237:
 *** 0238:        with open(manifest_name, &quot;w&quot;) as f:
     0239:            f.write(text_data)
     0240:
     0241:        update_symlinks(manifest_name, link_path)
     0242:        bb.plain(&quot;Image CVE report stored in: %s&quot; % manifest_name)
Exception: FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-710930/tmp/deploy/images/qemux86-64/core-image-minimal-initramfs-qemux86-64-20221118204257.cve&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94493</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-12-08 10:53:45 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/4441/steps/14/logs/stdio
oe-selftest-fedora fedora36-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95456</commentid>
    <comment_count>2</comment_count>
    <who name="Jermain Horsman">jermain.horsman</who>
    <bug_when>2023-04-26 06:34:27 +0000</bug_when>
    <thetext>This should be fixed as of https://git.yoctoproject.org/poky/commit/?id=14a852c273c43dbf04d6502c5cbbe5768d165c5d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95496</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-05-04 13:14:18 +0000</bug_when>
    <thetext>Fixed (see previous comment)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>