llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.33k stars 12.13k forks source link

TestProcessIO is flaky on android #26811

Open labath opened 8 years ago

labath commented 8 years ago
Bugzilla Link 26437
Version unspecified
OS Linux

Extended Description

(At least) in build 5110 of the ubuntu->android buildbot it failed the start the inferior.

====================================================================== FAIL: test_stdin_redirection_dwo (TestProcessIO.ProcessIOTestCase) Exercise SBLaunchInfo::AddOpenFileAction() for STDIN without specifying STDOUT or STDERR.

Traceback (most recent call last): File "/home/lldb_build/lldbSlave/lldb-cross-compile/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2299, in dwo_test_method return attrvalue(self) File "/home/lldb_build/lldbSlave/lldb-cross-compile/llvm/tools/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py", line 47, in test_stdin_redirection self.run_process(False) File "/home/lldb_build/lldbSlave/lldb-cross-compile/llvm/tools/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py", line 165, in run_process self.assertTrue(error.Success(), "Make sure process launched successfully") AssertionError: False is not True : Make sure process launched successfully Config=aarch64-/home/lldb_build/Toolchains/aarch64-21/bin/aarch64-linux-android-gcc

The logs seems to indicate that the server returned an error response to the $A packet. It is hard to diagnose the exact error without access to the server logs.

labath commented 8 years ago

I have seen other tests in TestProcessIO failing this way as well. Marking the whole test as flaky.