DEBUG: Executing python function do_cve_check
DEBUG: Fetching https://crates.io/api/v1/crates/asn1/0.20.0/download to asn1-0.20.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/asn1_derive/0.20.0/download to asn1_derive-0.20.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/autocfg/1.4.0/download to autocfg-1.4.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/base64/0.22.1/download to base64-0.22.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/bitflags/2.6.0/download to bitflags-2.6.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/cc/1.2.1/download to cc-1.2.1.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.5.0/download to heck-0.5.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/indoc/2.0.5/download to indoc-2.0.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/itoa/1.0.14/download to itoa-1.0.14.crate
DEBUG: Fetching https://crates.io/api/v1/crates/libc/0.2.166/download to libc-0.2.166.crate
DEBUG: Fetching https://crates.io/api/v1/crates/memoffset/0.9.1/download to memoffset-0.9.1.crate
DEBUG: Fetching https://crates.io/api/v1/crates/once_cell/1.20.2/download to once_cell-1.20.2.crate
DEBUG: Fetching https://crates.io/api/v1/crates/openssl/0.10.68/download to openssl-0.10.68.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.104/download to openssl-sys-0.9.104.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pem/3.0.4/download to pem-3.0.4.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pkg-config/0.3.31/download to pkg-config-0.3.31.crate
DEBUG: Fetching https://crates.io/api/v1/crates/portable-atomic/1.10.0/download to portable-atomic-1.10.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/proc-macro2/1.0.92/download to proc-macro2-1.0.92.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3/0.23.5/download to pyo3-0.23.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-build-config/0.23.5/download to pyo3-build-config-0.23.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-ffi/0.23.5/download to pyo3-ffi-0.23.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros/0.23.5/download to pyo3-macros-0.23.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/pyo3-macros-backend/0.23.5/download to pyo3-macros-backend-0.23.5.crate
DEBUG: Fetching https://crates.io/api/v1/crates/quote/1.0.37/download to quote-1.0.37.crate
DEBUG: Fetching https://crates.io/api/v1/crates/self_cell/1.0.4/download to self_cell-1.0.4.crate
DEBUG: Fetching https://crates.io/api/v1/crates/shlex/1.3.0/download to shlex-1.3.0.crate
DEBUG: Fetching https://crates.io/api/v1/crates/syn/2.0.89/download to syn-2.0.89.crate
DEBUG: Fetching https://crates.io/api/v1/crates/target-lexicon/0.12.16/download to target-lexicon-0.12.16.crate
DEBUG: Fetching https://crates.io/api/v1/crates/unicode-ident/1.0.14/download to unicode-ident-1.0.14.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: Searching for 0001-pyproject.toml-remove-benchmark-disable-option.patch in paths:
/srv/pokybuild/yocto-worker/metrics/build/meta/recipes-devtools/python/python3-cryptography-44.0.2/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-44.0.2/
/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-44.0.2/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-44.0.2/
/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-44.0.2/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-44.0.2/
/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-44.0.2/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-44.0.2/
/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-44.0.2/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-44.0.2/
/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-44.0.2/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-44.0.2/
/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: 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: 354, function: check_cves
0350: else:
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
Exception: sqlite3.DatabaseError: database disk image is malformed
DEBUG: Python function do_cve_check finished