<?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>14894</bug_id>
          
          <creation_ts>2022-08-17 14:49:11 +0000</creation_ts>
          <short_desc>AB-INT: do_cve_check failure: sqlite3.OperationalError: database is locked</short_desc>
          <delta_ts>2022-08-18 14:38:00 +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>oe-core other</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14887</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>richard.purdie</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>93828</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-08-17 14:49:11 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/138/builds/102/steps/11/logs/stdio

metrics ubuntu2204-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/4006/steps/15/logs/stdio

oe-selftest-centos alma8-ty-1

ERROR: linux-yocto-5.19+gitAUTOINC+89fdc2046b_e0e977e1b0-r0 do_cve_check: 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:do_cve_check(d)
     0003:
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/classes/cve-check.bbclass&apos;, lineno: 155, function: do_cve_check
     0151:        except FileNotFoundError:
     0152:            bb.fatal(&quot;Failure in searching patches&quot;)
     0153:        ignored, patched, unpatched, status = check_cves(d, patched_cves)
     0154:        if patched or unpatched or (d.getVar(&quot;CVE_CHECK_COVERAGE&quot;) == &quot;1&quot; and status):
 *** 0155:            cve_data = get_cve_info(d, patched + unpatched + ignored)
     0156:            cve_write_data(d, patched, unpatched, ignored, cve_data, status)
     0157:    else:
     0158:        bb.note(&quot;No CVE database found, skipping CVE check&quot;)
     0159:
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/classes/cve-check.bbclass&apos;, lineno: 390, function: get_cve_info
     0386:    db_file = d.expand(&quot;file:${CVE_CHECK_DB_FILE}?mode=ro&quot;)
     0387:    conn = sqlite3.connect(db_file, uri=True)
     0388:
     0389:    for cve in cves:
 *** 0390:        for row in conn.execute(&quot;SELECT * FROM NVD WHERE ID IS ?&quot;, (cve,)):
     0391:            cve_data[row[0]] = {}
     0392:            cve_data[row[0]][&quot;summary&quot;] = row[1]
     0393:            cve_data[row[0]][&quot;scorev2&quot;] = row[2]
     0394:            cve_data[row[0]][&quot;scorev3&quot;] = row[3]
Exception: sqlite3.OperationalError: database is locked</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93843</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-08-18 14:38:00 +0000</bug_when>
    <thetext>Bug filed twice

*** This bug has been marked as a duplicate of bug 14887 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>