You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see if the new test fails [...] this rules out the possibility that the new test is flawed and will always pass.
For a start, host-testbench.sh has no set -e (set -o errexit)
$ shellcheck ./scripts/host-testbench.sh
In scripts/host-testbench.sh line 62:
if [[ $? -ne 0 ]]; then
^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
@lgirdwood@singalsu It seems the CI for the testbench works for few days before it get error again. I will try to fix it asap.
I'm not sure what you meant here but I filed this bug very specifically about "green failures" = green failed test. Once all failures are red we can close this bug.
Activity
CI: Travis: disable host-testbench as long as it ignores errors
marc-hb commentedon Apr 10, 2020
Reducing the default verbosity would also help IMHO.
lgirdwood commentedon Apr 16, 2020
@singalsu fyi - is this a quick fix for you ?
singalsu commentedon Apr 16, 2020
@marc-hb @singalsu I have never used this script. I'll take a look but also it's an option to remove it from repository.
lgirdwood commentedon Apr 16, 2020
@singalsu I think CI uses this script then, @xiulipan can you confirm ?
singalsu commentedon Apr 16, 2020
Yes, this has been recently updated by @xiulipan and it should be fixed to detect early fails too.
xiulipan commentedon Apr 17, 2020
@lgirdwood @singalsu It seems the CI for the testbench works for few days before it get error again. I will try to fix it asap.
marc-hb commentedon Apr 17, 2020
I'm not sure what you meant here but I filed this bug very specifically about "green failures" = green failed test. Once all failures are red we can close this bug.
[-][BUG] host-testbench.sh ignores errors[/-][+][BUG] [GREEN FAILURES] host-testbench.sh ignores errors[/+]scripts/testbench: add set -e