Skip to content

report: decode crash output to string in add_kernel_crash_info#620

Open
bdrung wants to merge 1 commit into
canonical:mainfrom
bdrung:decode-stacktrace
Open

report: decode crash output to string in add_kernel_crash_info#620
bdrung wants to merge 1 commit into
canonical:mainfrom
bdrung:decode-stacktrace

Conversation

@bdrung

@bdrung bdrung commented Apr 30, 2026

Copy link
Copy Markdown
Member

The functions Report.crash_signature_addresses and Report._crash_signature_kernel_crash expect the value for Stacktrace to be a string.

So let add_kernel_crash_info set the value for Stacktrace as string by decoding the crash output to UTF-8.

Bug: https://launchpad.net/bugs/2146806

The functions `Report.crash_signature_addresses` and
`Report._crash_signature_kernel_crash` expect the value for `Stacktrace`
to be a string.

So let `add_kernel_crash_info` set the value for `Stacktrace` as string
by decoding the `crash` output to UTF-8.

Bug: https://launchpad.net/bugs/2146806
@codecov

codecov Bot commented Apr 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.54%. Comparing base (b24ed44) to head (f8b4bea).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   84.54%   84.54%           
=======================================
  Files         104      104           
  Lines       21028    21028           
  Branches     3219     3219           
=======================================
  Hits        17779    17779           
+ Misses       2809     2808    -1     
- Partials      440      441    +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdrung bdrung added the bug Something isn't working label Jul 1, 2026
@bdrung
bdrung requested a review from Hyask July 3, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant