Fix AudioPlayback testcase ID collision for LAVA CI#396
Open
tmoida wants to merge 1 commit intoqualcomm-linux:mainfrom
Open
Fix AudioPlayback testcase ID collision for LAVA CI#396tmoida wants to merge 1 commit intoqualcomm-linux:mainfrom
tmoida wants to merge 1 commit intoqualcomm-linux:mainfrom
Conversation
This PR fixes the testcase ID collision issue in LAVA by implementing flexible testcase naming for the AudioPlayback test suite, enabling parallel execution of multiple AudioPlayback configurations in CI. Changes: - Added RESULT_TESTNAME variable and --lava-testcase-id parameter to run.sh - Updated AudioPlayback.yaml to pass unique testcase IDs via LAVA_TESTCASE_ID - Updated Read_me.md with CI/LAVA integration documentation and examples Signed-off-by: Teja Swaroop Moida <tmoida@qti.qualcomm.com>
Contributor
Author
|
Here are the details of the validation job: |
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.
Description
This PR fixes the testcase ID collision issue in LAVA by implementing flexible testcase naming for the AudioPlayback test suite, enabling parallel execution of multiple AudioPlayback configurations in CI.
Problem
LAVA was experiencing testcase ID collisions because:
AudioPlaybackin the.resfileAudioPlayback_Config01,AudioPlayback_Config03, etc. based on the job definitionSolution
Implemented a flexible testcase naming mechanism that allows LAVA to specify unique testcase IDs:
RESULT_TESTNAMEvariable - Defaults toAudioPlaybackbut can be overridden via CLI parameter--lava-testcase-idparameter - Allows LAVA to specify unique testcase names for each configurationLAVA_TESTCASE_IDYAML parameter - Passes the testcase ID from LAVA job definition to the script.resfile writes to use$RESULT_TESTNAMEinstead of$TESTNAME--lava-testcase-idensures unique result files even if setup fails