DEBUG: Executing python function do_cve_check
DEBUG: Searching for Add-target-to-only-build-tests-not-run-them.patch in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch for Add-target-to-only-build-tests-not-run-them.patch
DEBUG: Searching for run-ptest in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/run-ptest for run-ptest
DEBUG: Searching for check-header-files-of-openssl-only-if-enable_.patch in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch for check-header-files-of-openssl-only-if-enable_.patch
DEBUG: Searching for 0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle-3.10.1/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch for 0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch
DEBUG: Scanning 3 patches for CVEs
DEBUG: Patch /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch doesn't solve CVEs
DEBUG: Patch /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch doesn't solve CVEs
DEBUG: Patch /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-support/nettle/nettle/0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch doesn't solve CVEs
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2015-8803
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2015-8804
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2015-8805
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2016-6489
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2018-16869
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2021-20305
NOTE: nettle-native-3.10.1 is not vulnerable to CVE-2021-3580
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: 185, function: do_cve_check
     0181:            try:
     0182:                patched_cves = get_patched_cves(d)
     0183:            except FileNotFoundError:
     0184:                bb.fatal("Failure in searching patches")
 *** 0185:            cve_data, status = check_cves(d, patched_cves)
     0186:            if len(cve_data) or (d.getVar("CVE_CHECK_COVERAGE") == "1" and status):
     0187:                get_cve_info(d, cve_data)
     0188:                cve_write_data(d, cve_data, status)
     0189:        else:
File: '/srv/pokybuild/yocto-worker/metrics/build/meta/classes/cve-check.bbclass', lineno: 355, function: check_cves
     0351:            vendor = "%"
     0352:
     0353:        # Find all relevant CVE IDs.
     0354:        cve_cursor = conn.execute("SELECT DISTINCT ID FROM PRODUCTS WHERE PRODUCT IS ? AND VENDOR LIKE ?", (product, vendor))
 *** 0355:        for cverow in cve_cursor:
     0356:            cve = cverow[0]
     0357:
     0358:            # Write status once only for each product
     0359:            if not cves_in_product:
Exception: sqlite3.DatabaseError: database disk image is malformed

DEBUG: Python function do_cve_check finished

Error details

Submitted on:
14/12/25 01:04
Error type:
Recipe
Task:
do_cve_check
Recipe:
nettle-native
Recipe version:
3.10.1-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
rocky-9.7/rocky-9.7
Branch:
walnascar
Commit:
d0b46a6624ec9c61c47270745dd0b2d5abbe6ac1
Build:
#222211
Submitter:
yp-ab-rocky9-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/2408
Similar errors:
0
Open a bug