We've been seeing this failure on green dragon when the system is under high load. Unfortunately this is outside of LLDB's control.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/packages/Python/lldbsuite/test/lldbutil.py | ||
---|---|---|
826 | Why is this necessary? Is there an error case where error.GetCString is not a python string? If so we should probably factor this out in a function and do the if sys.version_info.major == 2: str.decode('utf-8', 'replace') trick instead because otherwise the retry won't kick in. |
lldb/packages/Python/lldbsuite/test/lldbutil.py | ||
---|---|---|
826 | It may be None. So I guess we could write and error.GetCString()? I just didn't want to crash on unexpected input. |
Nit: can we make this a global constant like SIMULATOR_RETRY?