<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 - TestCppNsImport.py fails on Linux"
   href="https://bugs.llvm.org/show_bug.cgi?id=40048">40048</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestCppNsImport.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/nsimport/TestCppNsImport.py (575 of 1410)
******************** TEST 'lldb-Suite :: lang/cpp/nsimport/TestCppNsImport.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/nsimport
-p TestCppNsImport.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_dsym (TestCppNsImport.TestCppNsImport) (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 (TestCppNsImport.TestCppNsImport)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command_dwo (TestCppNsImport.TestCppNsImport)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_gmodules (TestCppNsImport.TestCppNsImport) (test case
does not fall in any category of interest for this run)
======================================================================
FAIL: test_with_run_command_dwo (TestCppNsImport.TestCppNsImport)
   Tests imported namespaces in C++.
----------------------------------------------------------------------
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/lang/cpp/nsimport/TestCppNsImport.py",
line 112, in test_with_run_command
    "imported = 99")
AssertionError: False is not True : imported = 99
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
----------------------------------------------------------------------
Ran 4 tests in 1.797s

RESULT: FAILED (1 passes, 1 failures, 0 errors, 2 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>