Bug 14850 - cve-check selftest failing
Summary: cve-check selftest failing
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-06-29 15:20 UTC by Ross Burton
Modified: 2022-06-30 14:34 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2022-06-29 15:20:01 UTC
All of a sudden, cve-check selftest fails:

oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json: FAILED (12.71s)
oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json_ignored: FAILED (13.37s)
oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json_unpatched: FAILED (20.04s)

The relevant log:
Complete CVE report summary created at: /yocto/ross/build-selftest-st-1060560/tmp/log/cve/cve-summary
NOTE: Generating JSON CVE summary
ERROR: Error adding the same package twice
ERROR: Error adding the same package twice
Complete CVE JSON report summary created at: /yocto/ross/build-selftest-st-1060560/tmp/log/cve/cve-summary.json
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Comment 1 Ross Burton 2022-06-29 15:20:25 UTC
Patch on the list (cve-check: hook cleanup to the BuildCompleted event, not CookerExit).
Comment 2 Alexandre Belloni 2022-06-30 14:33:52 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1893/steps/15/logs/stdio

oe-selftest opensuse154-ty-3
Comment 3 Ross Burton 2022-06-30 14:34:37 UTC
Merged in oe-core fccdcfd301de281a427bfee48d8ff47fa07b7259.