-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test_suites.sh to fail if the chip-tool command fails. #11593
Fix test_suites.sh to fail if the chip-tool command fails. #11593
Conversation
105f50d
to
0e33f96
Compare
PR #11593: Size comparison from ff5f946 to 0e33f96 Decreases (1 build for esp32)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Fast tracking to unblock logging for test failures. |
Yes, it is! @krypton36 @vivien-apple is it intended that |
Test_TC_DM_1_3 is not intended to run in CI. it is a simulated device test. I don't have a problem re-naming the test. @vivien-apple I would think we should at least generate the code and compile for simulated device YAMLS. |
#11598 addressed the issue with the test that was not supposed to be running. Rebasing this to pick it up. |
/rebase |
If chip-tool crashed, the script was not treating this as a failure, because the default exit code of a pipeline is that of the last command in the pipeline and we are piping through tee.
0e33f96
to
56131f2
Compare
PR #11593: Size comparison from 89898f8 to 56131f2 Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
…hip#11593) If chip-tool crashed, the script was not treating this as a failure, because the default exit code of a pipeline is that of the last command in the pipeline and we are piping through tee.
If chip-tool crashed, the script was not treating this as a failure,
because the default exit code of a pipeline is that of the last
command in the pipeline and we are piping through tee.
Problem
chip-tool crashes not being detected as CI failure in the "Tests" job.
Change overview
Fix it so they are.
Testing
Introduced a crash into chip-tool locally and made sure that now we get a failure exit from the test script.