[lldb-dev] [Bug 40049] New: TestNamespace.py fails on Linux

via lldb-dev lldb-dev at lists.llvm.org
Mon Dec 17 04:29:00 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=40049

            Bug ID: 40049
           Summary: TestNamespace.py fails on Linux
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: martongabesz at gmail.com
                CC: llvm-bugs at lists.llvm.org

Ubuntu 16.04, x86_64 (I did not experienced this error on macOS)

During the execution of ninja check-lldb:

********************
FAIL: lldb-Suite :: lang/cpp/namespace/TestNamespace.py (588 of 1410)
******************** TEST 'lldb-Suite :: lang/cpp/namespace/TestNamespace.py'
FAILED ********************
lldb version 8.0.0 (https://llvm.org/svn/llvm-project/lldb/trunk revision
349316)
  clang revision 349336
  llvm revision 349338
LLDB library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
LLDB import library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
The 'lldb-vscode' executable cannot be located.  The lldb-vscode tests can not
be run as a result.
Skipping following debug info categories: ['dsym', 'gmodules']

Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace
-p TestNamespace.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_a_func_full_dsym (TestNamespace.NamespaceBreakpointTestCase)
(test case does not fall in any category of interest for this run)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_a_func_full_dwarf
(TestNamespace.NamespaceBreakpointTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_a_func_full_dwo (TestNamespace.NamespaceBreakpointTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_a_func_full_gmodules
(TestNamespace.NamespaceBreakpointTestCase) (test case does not fall in any
category of interest for this run)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_func_auto_dsym (TestNamespace.NamespaceBreakpointTestCase)
(test case does not fall in any category of interest for this run)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_func_auto_dwarf (TestNamespace.NamespaceBreakpointTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_func_auto_dwo (TestNamespace.NamespaceBreakpointTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_func_auto_gmodules (TestNamespace.NamespaceBreakpointTestCase)
(test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_func_full_dsym (TestNamespace.NamespaceBreakpointTestCase)
(test case does not fall in any category of interest for this run)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_func_full_dwarf (TestNamespace.NamespaceBreakpointTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_breakpoints_func_full_dwo (TestNamespace.NamespaceBreakpointTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_breakpoints_func_full_gmodules (TestNamespace.NamespaceBreakpointTestCase)
(test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_dsym (TestNamespace.NamespaceTestCase) (test case does
not fall in any category of interest for this run)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command_dwarf (TestNamespace.NamespaceTestCase)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command_dwo (TestNamespace.NamespaceTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_gmodules (TestNamespace.NamespaceTestCase) (test case
does not fall in any category of interest for this run)
======================================================================
FAIL: test_with_run_command_dwo (TestNamespace.NamespaceTestCase)
    Test that anonymous and named namespace variables display correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1743, in test_method
    return attrvalue(self)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 113, in wrapper
    func(*args, **kwargs)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py",
line 163, in test_with_run_command
    self.expect("expression -- value", startstr="(int) $1 = 200")
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2365, in expect
    msg if msg else EXP_MSG(str, output, exe))
AssertionError: False is not True : 'expression -- value' returns expected
result, got '(int) $1 = 100'
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
----------------------------------------------------------------------
Ran 16 tests in 11.180s

RESULT: FAILED (7 passes, 1 failures, 0 errors, 8 skipped, 0 expected failures,
0 unexpected successes)

-- 
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/20181217/4041cb68/attachment-0001.html>


More information about the lldb-dev mailing list