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

Grab stack traces when unit test hangs #694

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

cole-miller
Copy link
Contributor

@cole-miller cole-miller commented Aug 30, 2024

We know which binary is hanging now, try to get some backtraces using GDB if it looks like it's hanging.

Signed-off-by: Cole Miller <cole.miller@canonical.com>
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.91%. Comparing base (f1dc507) to head (494d6e7).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #694      +/-   ##
==========================================
+ Coverage   77.87%   77.91%   +0.04%     
==========================================
  Files         197      197              
  Lines       28008    28011       +3     
  Branches     5541     5536       -5     
==========================================
+ Hits        21812    21826      +14     
+ Misses       4350     4329      -21     
- Partials     1846     1856      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Cole Miller <cole.miller@canonical.com>
@cole-miller
Copy link
Contributor Author

Running the unit test with --no-fork exposed a pre-existing minor test issue where we weren't using the test/lib/sqlite.c fixture everywhere we should---I just fixed this quickly as well.

Signed-off-by: Cole Miller <cole.miller@canonical.com>
@cole-miller cole-miller merged commit 9f54f74 into canonical:master Aug 30, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants