-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
False Pass / green failureP2Critical bugs or normal featuresCritical bugs or normal featurestype:bugSomething doesn't work as expectedSomething doesn't work as expectedtype:test coverage gapThis requires a new test case, not just fixing oneThis requires a new test case, not just fixing one
Description
Describe the bug
pausing/releasing pipelines with random wait times results in missing the failure with the multiple-pause-resume test.
To Reproduce
diff --git a/test-case/multiple-pause-resume.sh b/test-case/multiple-pause-resume.sh
index f37bfaa..1ed1f82 100755
--- a/test-case/multiple-pause-resume.sh
+++ b/test-case/multiple-pause-resume.sh
@@ -119,14 +119,14 @@ spawn $cmd -D $dev -r $rate -c $channel -f $fmt -vv -i $file -q
set i 1
expect {
"*#*+*\%" {
- set sleep_t [expr int([expr rand() * $rnd_range]) + $rnd_min ]
+ set sleep_t 200
puts "\r(\$i/$repeat_count) pcm'$pcm' cmd'$cmd' id'$idx': Wait for \$sleep_t ms before pause"
send " "
after \$sleep_t
exp_continue
}
"*PAUSE*" {
- set sleep_t [expr int([expr rand() * $rnd_range]) + $rnd_min ]
+ set sleep_t 200
puts "\r(\$i/$repeat_count) pcm'$pcm' cmd'$cmd' id'$idx': Wait for \$sleep_t ms before resume"
send " "
after \$sleep_t
Expected behavior
Pausing/release for the second DMIC pipeline after the first pipeline is stopped should work normally
Detail Info
- Branch name and commit hash of the 3 repositories: sof (firmware/topology), linux (kernel driver) and sof-test (test case)
- Kernel: d07af1319
- SOF: d6e29ced24307
- SOF-TEST: 18106e8
- Test DUT Model (or a brief discribtion about the device)
- MODEL: All HDA platforms with sof-hda-generic-4ch/2ch.tplg
- Test TPLG
- TPLG: sof-hda-generic-4ch/2ch.tplg
- Test case (what test script and how you run it)
- TESTCASE: ./multiple-pause-resume.sh -l 1
Metadata
Metadata
Assignees
Labels
False Pass / green failureP2Critical bugs or normal featuresCritical bugs or normal featurestype:bugSomething doesn't work as expectedSomething doesn't work as expectedtype:test coverage gapThis requires a new test case, not just fixing oneThis requires a new test case, not just fixing one