Skip to content
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

When the "Test Suites" job fails on Darwin, upload core and object files as artifacts. #7531

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

If the failure was due to a crash, this allows us to debug the crash.

Unfortunately, I don't see an obvious way to only do the upload if the
failure was due a crash. Luckily the big thing is the core file and
that won't exist if this is not a crash failure.

Problem

We keep seeing crashes in CI and now knowing what happened.

Change overview

Upload binaries and core files to allow debugging.

Testing

Did pushes to my own fork with VerifyOrDie(false) inserted in the tests to ensure that the artifacts are properly uploaded.

…les as artifacts.

If the failure was due to a crash, this allows us to debug the crash.

Unfortunately, I don't see an obvious way to only do the upload if the
failure was due a crash.  Luckily the big thing is the core file and
that won't exist if this is not a crash failure.
@bzbarsky-apple
Copy link
Contributor Author

@bzbarsky-apple bzbarsky-apple merged commit 345b466 into project-chip:master Jun 15, 2021
@bzbarsky-apple bzbarsky-apple deleted the upload-darwin-cores branch June 16, 2021 02:09
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
…les as artifacts. (project-chip#7531)

If the failure was due to a crash, this allows us to debug the crash.

Unfortunately, I don't see an obvious way to only do the upload if the
failure was due a crash.  Luckily the big thing is the core file and
that won't exist if this is not a crash failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants