Unit tests for the JSON output of cve-check
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
- Show closed items
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Marta Rybczynska added to epic &8
added to epic &8
- Marta Rybczynska added teamtesting label
added teamtesting label
- Marta Rybczynska set weight to 5
set weight to 5
- Marta Rybczynska changed epic to &98 (closed)
changed epic to &98 (closed)
- Marta Rybczynska added goofyalpha label
added goofyalpha label
- Marta Rybczynska changed milestone to %goofy alpha
changed milestone to %goofy alpha
- Marta Rybczynska changed title from Unit tests for the YAML output of cve-check to Unit tests for the JSON output of cve-check
changed title from Unit tests for the YAML output of cve-check to Unit tests for the JSON output of cve-check
- Luca Favaretto changed milestone to %goofy beta
changed milestone to %goofy beta
- Luca Favaretto added goofybeta teamV&V labels and removed goofyalpha teamtesting labels
added goofybeta teamV&V labels and removed goofyalpha teamtesting labels
- Luca Favaretto assigned to @lucafavaretto
assigned to @lucafavaretto
- Luca Favaretto changed iteration to Oniro Core Iterations Jul 1, 2022 - Jul 31, 2022
changed iteration to Oniro Core Iterations Jul 1, 2022 - Jul 31, 2022
- Author Developer
Current setup:
TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux oe-selftest -r cve_check.CVECheck.test_recipe_report_json_unpatched cve_check.CVECheck.test_recipe_report_json_ignored cve_check.CVECheck.test_recipe_report_json
Edited by Marta Rybczynska Collapse replies - Reporter
add SANITY_TESTED_DISTROS="" to local.conf before the oe-selftest command
- Reporter
@mrybczyn this is the output that we get. Is it correct? The 3 tests took about 6 minutes.
2022-07-04 16:58:31,673 - oe-selftest - INFO - Adding layer libraries: 2022-07-04 16:58:31,673 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/meta/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-arm/meta-arm/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-zephyr/meta-zephyr-core/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-freertos/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-intel/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-openembedded/meta-oe/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-raspberrypi/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/../meta-security/lib 2022-07-04 16:58:31,674 - oe-selftest - INFO - /home/lfavaretto/oniroproject/oe-core/meta-selftest/lib 2022-07-04 16:58:31,676 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable 2022-07-04 16:58:35,552 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/lfavaretto/oniroproject/build-oniro-linux-st/conf/local.conf 2022-07-04 16:58:35,553 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2022-07-04 16:58:35,553 - oe-selftest - INFO - test_recipe_report_json (cve_check.CVECheck) 2022-07-04 17:02:19,541 - oe-selftest - INFO - ... ok 2022-07-04 17:02:19,542 - oe-selftest - INFO - test_recipe_report_json_ignored (cve_check.CVECheck) 2022-07-04 17:02:33,230 - oe-selftest - INFO - ... ok 2022-07-04 17:02:33,231 - oe-selftest - INFO - test_recipe_report_json_unpatched (cve_check.CVECheck) 2022-07-04 17:04:28,723 - oe-selftest - INFO - ... ok 2022-07-04 17:04:29,820 - oe-selftest - INFO - ---------------------------------------------------------------------- 2022-07-04 17:04:29,820 - oe-selftest - INFO - Ran 3 tests in 356.283s 2022-07-04 17:04:29,820 - oe-selftest - INFO - OK 2022-07-04 17:04:35,671 - oe-selftest - INFO - RESULTS: 2022-07-04 17:04:35,671 - oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json: PASSED (223.99s) 2022-07-04 17:04:35,671 - oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json_ignored: PASSED (13.69s) 2022-07-04 17:04:35,672 - oe-selftest - INFO - RESULTS - cve_check.CVECheck.test_recipe_report_json_unpatched: PASSED (115.49s) 2022-07-04 17:04:35,672 - oe-selftest - INFO - SUMMARY: 2022-07-04 17:04:35,673 - oe-selftest - INFO - oe-selftest () - Ran 3 tests in 356.284s 2022-07-04 17:04:35,673 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=3, skipped=0, failures=0, errors=0)
- Luca Favaretto added Doing label
added Doing label
- Author Developer
Yes looks good @lucafavaretto
1 - Luca Favaretto removed Doing label
removed Doing label
- Luca Favaretto closed
closed
Please register or sign in to reply