OpenCV: add bounded smoke binary list for CI#487
Merged
Conversation
The OpenCV LAVA definition currently defaults to BIN_PATH= and SUITE=all, which runs the full discovered OpenCV test and performance suite. In shared lava-test-shell jobs this can consume the shell timeout before OpenCV.res is written, causing OpenCV and later test definitions to be reported as missing failures. Add a --bin-list mode to the OpenCV runner so CI can run a bounded smoke set while preserving the existing single-binary and full-suite paths. Set the default YAML smoke list to opencv_test_core and opencv_test_sfm with a per-binary timeout. Full-suite validation remains available by overriding BIN_LIST to an empty value and using SUITE=all. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Limit the default OpenCV CI execution to a bounded smoke set instead of running the full discovered OpenCV suite.
The OpenCV YAML currently defaults to:
BIN_PATH=""SUITE=allThis causes
[run.sh](http://run.sh/)to discover and run allopencv_test_*andopencv_perf_*binaries. In LAVA jobs with a sharedlava-test-shelltimeout, the full OpenCV suite can consume the shell timeout beforeOpenCV.resis written. When that happens, LAVA marks OpenCV and all following test definitions as missing failures.This change adds a repo-standard
--bin-listmode inOpenCV/[run.sh](http://run.sh/)and keeps the YAML run steps simple.Default CI smoke binaries:
opencv_test_coreopencv_test_sfmReference job with the current patch - https://lava.infra.foundries.io/scheduler/job/255904