<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TestNamespace.py fails on Linux"
   href="https://bugs.llvm.org/show_bug.cgi?id=40049">40049</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestNamespace.py fails on Linux
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>martongabesz@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 (<a href="https://llvm.org/svn/llvm-project/lldb/trunk">https://llvm.org/svn/llvm-project/lldb/trunk</a> 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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>