Closed tevoinea closed 11 months ago
If this timeout case hits, we never terminate the child process. https://github.com/microsoft/onefuzz/blob/c7a982748e13cfd1d8bf2e39dd8b36ee28980e46/src/agent/coverage/src/record.rs#L128-L148
What is the expected result of the above steps?
We should call quit_debugging from the Debugger module as well as kill and/or wait on the returned `Child.
quit_debugging
Debugger
kill
wait
https://github.com/microsoft/onefuzz/blob/c7a982748e13cfd1d8bf2e39dd8b36ee28980e46/src/agent/debugger/src/debugger.rs#L306 https://doc.rust-lang.org/std/process/struct.Child.html#method.kill https://doc.rust-lang.org/std/process/struct.Child.html#method.wait
AB#166281
Information
Provide detailed reproduction steps (if any)
If this timeout case hits, we never terminate the child process. https://github.com/microsoft/onefuzz/blob/c7a982748e13cfd1d8bf2e39dd8b36ee28980e46/src/agent/coverage/src/record.rs#L128-L148
Expected result
What is the expected result of the above steps?
We should call
quit_debugging
from theDebugger
module as well askill
and/orwait
on the returned `Child.https://github.com/microsoft/onefuzz/blob/c7a982748e13cfd1d8bf2e39dd8b36ee28980e46/src/agent/debugger/src/debugger.rs#L306 https://doc.rust-lang.org/std/process/struct.Child.html#method.kill https://doc.rust-lang.org/std/process/struct.Child.html#method.wait
AB#166281