-
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
Chef - Continue instead of breaking on build error #19988
Conversation
PR #19988: Size comparison from c38e915 to e8f3163 Increases (2 builds for cc13x2_26x2)
Decreases (3 builds for cc13x2_26x2, telink)
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chef builds all should continue trying other platform builds in the loop instead of breaking.
Why?
I clarified in the description that this change is for Chef CD only. It seems prudent here to get as many viable builds as possible despite having a single platform fail. Major issues should be caught in CI, so this is likely catching issues related to environment/container differences or incompatible interactions between specific sample app types and a specific platform. In either case, it seems reasonable to try to get as many builds as we can. Do you disagree? |
I do not understand what "is prudent" here means. It seems that we still want to have build outputs even if some fail. This is supported by other tools, but always as command line arguments (e.g. make has if you implement such a support, please make it controlled by a command line flag and it should not be the default. We want CI to generally fail on any error and we should not consider compile failure to be something normal. |
Testing is needed, at a minimum compile with and without the change locally to validate functionality. Eventually introduce an error in the build logic to see if things work as expected. |
I will update this PR to include a flag similar to the behavior of cmake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fast tracking test updates
Updated. Everything should be in order now. |
PR #19988: Size comparison from 14aa3c2 to bfd2a70 Increases (1 build for telink)
Decreases (1 build for telink)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
…atform building. (#20248) * Put software version string as <branch>:<commit_id> on esp32 while doing automation testing (#19943) * RPC: Support pw logging for linux rpc examples (#20057) Add a config option CHIP_USE_PW_LOGGING, which uses pw log output instead of printf on linux. This allows the logs to correctly get HDLC encoded and be piped over the socket for linux RPC builds. * Chef - Continue instead of breaking on build error (#19988) * Move chef .matter files back to /chef/devices (#20142) * Remove matter files from root zzz * Move .matter regen for chef * Update bundle for changed .matter location * Chef - Support cross platform Linux builds for arm64 (#20232) * Chef - Use array for passing linux args to args.gni * Chef - Add support for cross compiling linux on arm64 Co-authored-by: MtTsai <7930801+MtTsai@users.noreply.github.com> Co-authored-by: rgoliver <rgoliver@google.com> Co-authored-by: Austin Bozowski <bozowski@google.com>
…atform building. (project-chip#20248) * Put software version string as <branch>:<commit_id> on esp32 while doing automation testing (project-chip#19943) * RPC: Support pw logging for linux rpc examples (project-chip#20057) Add a config option CHIP_USE_PW_LOGGING, which uses pw log output instead of printf on linux. This allows the logs to correctly get HDLC encoded and be piped over the socket for linux RPC builds. * Chef - Continue instead of breaking on build error (project-chip#19988) * Move chef .matter files back to /chef/devices (project-chip#20142) * Remove matter files from root zzz * Move .matter regen for chef * Update bundle for changed .matter location * Chef - Support cross platform Linux builds for arm64 (project-chip#20232) * Chef - Use array for passing linux args to args.gni * Chef - Add support for cross compiling linux on arm64 Co-authored-by: MtTsai <7930801+MtTsai@users.noreply.github.com> Co-authored-by: rgoliver <rgoliver@google.com> Co-authored-by: Austin Bozowski <bozowski@google.com>
Problem
Change overview
Testing
Tested locally by building with broken platform code with and without the
--keep_going
flag.