DEBUG: Executing python function do_cve_check
DEBUG: Fetching https://crates.io/api/v1/crates/asn1/0.15.5/download to asn1-0.15.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/asn1_derive/0.15.5/download to asn1_derive-0.15.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/autocfg/1.1.0/download to autocfg-1.1.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/base64/0.21.7/download to base64-0.21.7.crate
DEBUG: Fetching https://crates.io/api/v1/crates/bitflags/1.3.2/download to bitflags-1.3.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/bitflags/2.4.2/download to bitflags-2.4.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/cc/1.0.83/download to cc-1.0.83.crate
DEBUG: Fetching https://crates.io/api/v1/crates/cfg-if/1.0.0/download to cfg-if-1.0.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/foreign-types/0.3.2/download to foreign-types-0.3.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/foreign-types-shared/0.1.1/download to foreign-types-shared-0.1.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/heck/0.4.1/download to heck-0.4.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/indoc/2.0.4/download to indoc-2.0.4.crate
DEBUG: Fetching https://crates.io/api/v1/crates/libc/0.2.152/download to libc-0.2.152.crate
DEBUG: Fetching https://crates.io/api/v1/crates/lock_api/0.4.11/download to lock_api-0.4.11.crate
DEBUG: Fetching https://crates.io/api/v1/crates/memoffset/0.9.0/download to memoffset-0.9.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/once_cell/1.19.0/download to once_cell-1.19.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl/0.10.64/download to openssl-0.10.64.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl-macros/0.1.1/download to openssl-macros-0.1.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl-sys/0.9.102/download to openssl-sys-0.9.102.crate
DEBUG: Fetching https://crates.io/api/v1/crates/parking_lot/0.12.1/download to parking_lot-0.12.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/parking_lot_core/0.9.9/download to parking_lot_core-0.9.9.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pem/3.0.3/download to pem-3.0.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pkg-config/0.3.29/download to pkg-config-0.3.29.crate
DEBUG: Fetching https://crates.io/api/v1/crates/portable-atomic/1.6.0/download to portable-atomic-1.6.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/proc-macro2/1.0.78/download to proc-macro2-1.0.78.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3/0.20.3/download to pyo3-0.20.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-build-config/0.20.3/download to pyo3-build-config-0.20.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-ffi/0.20.3/download to pyo3-ffi-0.20.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros/0.20.3/download to pyo3-macros-0.20.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros-backend/0.20.3/download to pyo3-macros-backend-0.20.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/quote/1.0.35/download to quote-1.0.35.crate
DEBUG: Fetching https://crates.io/api/v1/crates/redox_syscall/0.4.1/download to redox_syscall-0.4.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/scopeguard/1.2.0/download to scopeguard-1.2.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/self_cell/1.0.3/download to self_cell-1.0.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/smallvec/1.13.1/download to smallvec-1.13.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/syn/2.0.48/download to syn-2.0.48.crate
DEBUG: Fetching https://crates.io/api/v1/crates/target-lexicon/0.12.13/download to target-lexicon-0.12.13.crate
DEBUG: Fetching https://crates.io/api/v1/crates/unicode-ident/1.0.12/download to unicode-ident-1.0.12.crate
DEBUG: Fetching https://crates.io/api/v1/crates/unindent/0.2.3/download to unindent-0.2.3.crate
DEBUG: Fetching https://crates.io/api/v1/crates/vcpkg/0.2.15/download to vcpkg-0.2.15.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows-targets/0.48.5/download to windows-targets-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.5/download to windows_aarch64_gnullvm-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.5/download to windows_aarch64_msvc-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_i686_gnu/0.48.5/download to windows_i686_gnu-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_i686_msvc/0.48.5/download to windows_i686_msvc-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.5/download to windows_x86_64_gnu-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.5/download to windows_x86_64_gnullvm-0.48.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.5/download to windows_x86_64_msvc-0.48.5.crate
DEBUG: Searching for 0001-pyproject.toml-remove-benchmark-disable-option.patch in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch for 0001-pyproject.toml-remove-benchmark-disable-option.patch
DEBUG: Searching for check-memfree.py in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/check-memfree.py for check-memfree.py
DEBUG: Searching for run-ptest in paths:
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/poky
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/x86-64
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-42.0.8/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/
    /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/files/
DEBUG: Using /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/run-ptest for run-ptest
DEBUG: Scanning 1 patches for CVEs
DEBUG: Patch /srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch doesn't solve 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

Error details

Submitted on:
28/04/25 01:49
Error type:
Recipe
Task:
do_cve_check
Recipe:
python3-cryptography-native
Recipe version:
42.0.8-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
styhead
Commit:
70dc28ac287bf35541270cae1d99130a0f6b7b5f
Build:
#205157
Submitter:
yp-ab-debian12-vk-8
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/1032
Similar errors:
1
Open a bug