[lldb-dev] [Bug 40050] New: TestCompDirSymLink.py fails on Linux

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


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

            Bug ID: 40050
           Summary: TestCompDirSymLink.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 ::
functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py (209 of 1410)
******************** TEST 'lldb-Suite ::
functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.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/functionalities/breakpoint/comp_dir_symlink
-p TestCompDirSymLink.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_symlink_paths_set_dsym (TestCompDirSymLink.CompDirSymLinkTestCase) (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_symlink_paths_set_dwarf (TestCompDirSymLink.CompDirSymLinkTestCase)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_symlink_paths_set_dwo (TestCompDirSymLink.CompDirSymLinkTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_symlink_paths_set_gmodules (TestCompDirSymLink.CompDirSymLinkTestCase)
(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_symlink_paths_set_procselfcwd_dsym
(TestCompDirSymLink.CompDirSymLinkTestCase) (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_symlink_paths_set_procselfcwd_dwarf
(TestCompDirSymLink.CompDirSymLinkTestCase)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_symlink_paths_set_procselfcwd_dwo
(TestCompDirSymLink.CompDirSymLinkTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_symlink_paths_set_procselfcwd_gmodules
(TestCompDirSymLink.CompDirSymLinkTestCase) (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_symlink_paths_unset_dsym (TestCompDirSymLink.CompDirSymLinkTestCase) (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_symlink_paths_unset_dwarf (TestCompDirSymLink.CompDirSymLinkTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_symlink_paths_unset_dwo (TestCompDirSymLink.CompDirSymLinkTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_symlink_paths_unset_gmodules (TestCompDirSymLink.CompDirSymLinkTestCase)
(test case does not fall in any category of interest for this run)
======================================================================
FAIL: test_symlink_paths_set_dwo (TestCompDirSymLink.CompDirSymLinkTestCase)
----------------------------------------------------------------------
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 143, in wrapper
    func(*args, **kwargs)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py",
line 40, in test_symlink_paths_set
    lldbutil.run_break_set_by_file_and_line(self, src_path, self.line)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbutil.py",
line 390, in run_break_set_by_file_and_line
    num_locations=num_expected_locations)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbutil.py",
line 586, in check_breakpoint_result
    out_num_locations))
AssertionError: False is not True : Expecting 1 locations, got 0.
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
======================================================================
FAIL: test_symlink_paths_set_procselfcwd_dwo
(TestCompDirSymLink.CompDirSymLinkTestCase)
----------------------------------------------------------------------
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 143, in wrapper
    func(*args, **kwargs)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py",
line 51, in test_symlink_paths_set_procselfcwd
    lldbutil.run_break_set_by_file_and_line(self, src_path, self.line)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbutil.py",
line 390, in run_break_set_by_file_and_line
    num_locations=num_expected_locations)
  File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbutil.py",
line 586, in check_breakpoint_result
    out_num_locations))
AssertionError: False is not True : Expecting 1 locations, got 0.
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
----------------------------------------------------------------------
Ran 12 tests in 2.840s

RESULT: FAILED (4 passes, 2 failures, 0 errors, 6 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/d331715d/attachment.html>


More information about the lldb-dev mailing list