[lldb-dev] [Bug 19605] New: FreeBSD buildbot TestCallWithTimeout failure after r206835
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 29 09:57:44 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19605
Bug ID: 19605
Summary: FreeBSD buildbot TestCallWithTimeout failure after
r206835
Product: lldb
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: emaste at freebsd.org
Classification: Unclassified
After r206835 the FreeBSD buildbot fails TestCallWithTimeout.
Run:
http://llvm-amd64.freebsd.your.org/b/builders/lldb-amd64-freebsd/builds/2044
Failure:
FAIL: LLDB (/usr/bin/clang-amd64) :: test_with_dwarf
(TestCallWithTimeout.ExprCommandWithTimeoutsTestCase)
======================================================================
FAIL: test_with_dwarf (TestCallWithTimeout.ExprCommandWithTimeoutsTestCase)
Test calling std::String member function.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/data/buildslave/lldb-amd64-freebsd/src-llvm/tools/lldb/test/lldbtest.py",
line 370, in wrapper
return func(self, *args, **kwargs)
File
"/data/buildslave/lldb-amd64-freebsd/src-llvm/tools/lldb/test/expression_command/timeout/TestCallWithTimeout.py",
line 33, in test_with_dwarf
self.call_function()
File
"/data/buildslave/lldb-amd64-freebsd/src-llvm/tools/lldb/test/expression_command/timeout/TestCallWithTimeout.py",
line 67, in call_function
self.assertTrue (value.GetError().Success() == False)
AssertionError: False is not True
Config=amd64-/usr/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 0.233s
>From TestCallWithTimeout.py:
58 # First set the timeout too short, and make sure we fail.
59 options = lldb.SBExpressionOptions()
60 options.SetTimeoutInMicroSeconds(100)
61 options.SetUnwindOnError(True)
62
63 frame = thread.GetFrameAtIndex(0)
64
65 value = frame.EvaluateExpression ("wait_a_while (10000)",
options)
66 self.assertTrue (value.IsValid())
67 self.assertTrue (value.GetError().Success() == False)
68
So we request a 100uS timeout, but report Success() for the expression.
r206835: http://llvm.org/viewvc/llvm-project?view=rev&revision=206835
Make RunThreadPlan start the timeout clock for each part of the expression
evaluation AFTER the
successful resume for that part. This will make the timeouts more stable when
lldb is running
in a busy program.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140429/838a0a2f/attachment.html>
More information about the lldb-dev
mailing list