CVE-Tool build issues in Open BMC project
Chittari Pabba
ChittariP at ami.com
Thu Aug 1 07:03:40 AEST 2019
Hello All:
We are trying to enable cve-check tool in our Open BMC project build, but we could not able to succeed, build is troughing below errors. Anyone noticed similar issues enabling of cve-check tool open BMC build? Any help highly appreciates.
Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 5 Found 0 Missed 5 Current 1625 (0% match, 99% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: cve-update-db-1.0-r0 do_populate_cve_db: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_populate_cve_db(d)
0003:
File: '/home/chittari/Projects/git-clones/openbmc/meta/recipes-core/meta/cve-update-db.bb', lineno: 31, function: do_populate_cve_db
0027: JSON_TMPFILE = d.getVar("CVE_CHECK_DB_DIR") + '/nvd.json.gz'
0028:
0029: # Connect to database
0030: db_file = d.getVar("CVE_CHECK_DB_FILE")
*** 0031: conn = sqlite3.connect(db_file)
0032: c = conn.cursor()
0033:
0034: initialize_db(c)
0035:
Exception: sqlite3.OperationalError: unable to open database file
ERROR: cve-update-db-1.0-r0 do_populate_cve_db: unable to open database file
ERROR: cve-update-db-1.0-r0 do_populate_cve_db: Function failed: do_populate_cve_db
ERROR: Logfile of failure stored in: /home/chittari/Projects/git-clones/openbmc/build/tmp/work/armv5e-openbmc-linux-gnueabi/cve-update-db/1.0-r0/temp/log.do_populate_cve_db.8218
ERROR: Task (/home/chittari/Projects/git-clones/openbmc/meta/recipes-core/meta/cve-update-db.bb:do_populate_cve_db) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1381 tasks of which 1380 didn't need to be rerun and 1 failed.
Thanks,
Chittari
Please consider the environment before printing this email.
The information contained in this message may be confidential and proprietary to American Megatrends, Inc. This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190731/8035e596/attachment.htm>
More information about the openbmc
mailing list