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

TestBatchMode is flaky on linux and FreeBSD #25546

Open
labath opened this issue Oct 14, 2015 · 4 comments
Open

TestBatchMode is flaky on linux and FreeBSD #25546

labath opened this issue Oct 14, 2015 · 4 comments
Labels
bugzilla Issues migrated from bugzilla lldb

Comments

@labath
Copy link
Collaborator

labath commented Oct 14, 2015

Bugzilla Link 25172
Version unspecified
OS Linux
CC @emaste

Extended Description

The test (very rarely) fails on the linux buildbot. The reported error is:

File "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/driver/batch_mode/TestBatchMode.py", line 81, in batch_mode
self.expect_string("Got there on time and it did not crash.")
File "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/driver/batch_mode/TestBatchMode.py", line 37, in expect_string
self.fail ("Got EOF waiting for '%s'"%(string))
AssertionError: Got EOF waiting for 'Got there on time and it did not crash.'

@emaste
Copy link
Member

emaste commented Nov 24, 2015

This test failed once for me on the (not-yet-connected-to-the-buildmaster) FreeBSD 11 builder as well:

======================================================================
FAIL: test_driver_batch_mode_dwo (TestBatchMode.DriverBatchModeTest)
Test that the lldb driver's batch mode works correctly.

Traceback (most recent call last):
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 578, in wrapper
return func(self, *args, **kwargs)
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2306, in dwo_test_method
return attrvalue(self)
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 862, in wrapper
func(*args, **kwargs)
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 781, in wrapper
func(*args, **kwargs)
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 636, in wrapper
func(*args, **kwargs)
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py", line 24, in test_driver_batch_mode
self.batch_mode()
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py", line 58, in batch_mode
self.expect_string ("continue")
File "/usr/home/user/llvm/tools/lldb/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py", line 40, in expect_string
self.fail ("Timed out waiting for '%s'"%(string))
AssertionError: Timed out waiting for 'continue'
Config=x86_64-/usr/bin/cc

@emaste
Copy link
Member

emaste commented Jan 13, 2016

Annotation removed in http://llvm.org/viewvc/llvm-project?rev=257656&view=rev

@labath
Copy link
Collaborator Author

labath commented Jan 14, 2016

Annotation removed in http://llvm.org/viewvc/llvm-project?rev=257656&view=rev

The annotation was removed from TestCommandScriptImmediateOutput, which is a new test an the annotation ended up there only due to copy-paste. TestBatchMode is still marked as flaky and it is flaky, see build e.g., 10321 http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/10321/steps/test2/logs/stdio.

After looking at this again, I suspect this might be actually a duplicate of bug llvm/llvm-bugzilla-archive#25652 (at least the linux issue).

@JDevlieghere
Copy link
Member

*** Bug #23158 has been marked as a duplicate of this bug. ***

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lldb
Projects
None yet
Development

No branches or pull requests

3 participants