Closed ChrisCummins closed 2 years ago
If the process fails to terminate within the specified timeout period, it is abandoned:
https://github.com/facebookresearch/CompilerGym/blob/63dbfac72d9f888adf8332a73fefa34faae9b2f0/compiler_gym/util/Subprocess.cc#L62-L66
Instead, the
This unit test covers the timeout case:
https://github.com/facebookresearch/CompilerGym/blob/63dbfac72d9f888adf8332a73fefa34faae9b2f0/tests/util/SubprocessTest.cc#L110-L126
run it using bazel test //tests/util:SubprocessTest.
bazel test //tests/util:SubprocessTest
The child process should be terminated.
Please fill in this checklist:
make install
Reported by @uduse https://github.com/facebookresearch/CompilerGym/issues/326#issuecomment-1121646847.
🐛 Bug
If the process fails to terminate within the specified timeout period, it is abandoned:
https://github.com/facebookresearch/CompilerGym/blob/63dbfac72d9f888adf8332a73fefa34faae9b2f0/compiler_gym/util/Subprocess.cc#L62-L66
Instead, the
To Reproduce
This unit test covers the timeout case:
https://github.com/facebookresearch/CompilerGym/blob/63dbfac72d9f888adf8332a73fefa34faae9b2f0/tests/util/SubprocessTest.cc#L110-L126
run it using
bazel test //tests/util:SubprocessTest
.Expected behavior
The child process should be terminated.
Environment
Please fill in this checklist:
make install
Additional context
Reported by @uduse https://github.com/facebookresearch/CompilerGym/issues/326#issuecomment-1121646847.