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

crash-digger: Add support for using a gdb-sandbox (plus test case) #205

Merged
merged 2 commits into from Jul 20, 2023

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Jul 19, 2023

Brian was working on moving the service which retraces apport crashes in Launchpad to a different server and noticed that while the existing service uses crash-digger it does not take advantage of the GDB sandbox option which he added to apport some time ago. He has added an option to crash-digger, --gdb-sandbox, which is then is then passed through as argument to apport-retrace.

Also add a test case for crash-digger --gdb-sandbox.

Brian Murray and others added 2 commits July 19, 2023 18:07
I'm working on moving the service which retraces apport crashes in
Launchpad to a different server and noticed that while the existing
service uses crash-digger it does not take advantage of the GDB sandbox
option which I added to apport some time ago. I've added an option to
crash-digger, --gdb-sandbox, which is then is then passed through as
argument to apport-retrace.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #205 (1909605) into main (07d46e4) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #205      +/-   ##
==========================================
+ Coverage   82.76%   82.78%   +0.02%     
==========================================
  Files          91       91              
  Lines       18657    18680      +23     
==========================================
+ Hits        15441    15464      +23     
  Misses       3216     3216              
Impacted Files Coverage Δ
bin/crash-digger 81.93% <100.00%> (+0.47%) ⬆️
tests/integration/test_crash_digger.py 100.00% <100.00%> (ø)

@murraybd
Copy link
Contributor

Thanks for picking up writing the test! I've been quite busy with some other things.

@schopin-pro schopin-pro merged commit 6680b68 into canonical:main Jul 20, 2023
24 checks passed
@bdrung bdrung deleted the murraybd-digger-gdb-sandbox branch July 20, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants