DEBUG: Executing python function do_cve_check
DEBUG: Scanning 0 patches for CVEs
ERROR: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_cve_check(d)
0003:
File: '/srv/pokybuild/yocto-worker/metrics/build/meta/classes/cve-check.bbclass', lineno: 175, function: do_cve_check
0171: try:
0172: patched_cves = get_patched_cves(d)
0173: except FileNotFoundError:
0174: bb.fatal("Failure in searching patches")
*** 0175: cve_data, status = check_cves(d, patched_cves)
0176: if len(cve_data) or (d.getVar("CVE_CHECK_COVERAGE") == "1" and status):
0177: get_cve_info(d, cve_data)
0178: cve_write_data(d, cve_data, status)
0179: else:
File: '/srv/pokybuild/yocto-worker/metrics/build/meta/classes/cve-check.bbclass', lineno: 342, function: check_cves
0338: else:
0339: vendor = "%"
0340:
0341: # Find all relevant CVE IDs.
*** 0342: cve_cursor = conn.execute("SELECT DISTINCT ID FROM PRODUCTS WHERE PRODUCT IS ? AND VENDOR LIKE ?", (product, vendor))
0343: for cverow in cve_cursor:
0344: cve = cverow[0]
0345:
0346: # Write status once only for each product
Exception: sqlite3.DatabaseError: database disk image is malformed
DEBUG: Python function do_cve_check finished