Failed
Test Clang 9.0.0 / lldb-api.lang/cpp/modules-import.TestCXXModulesImport.py (from lldb-api)
Stacktrace
Script: -- /usr/local/Frameworks/Python.framework/Versions/3.7/bin/python3.7 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --arch=x86_64 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/lang/cpp/modules-import -p TestCXXModulesImport.py -- Exit Code: 1 Command Output (stdout): -- lldb version 14.0.99 (http://labmaster3.local/git/llvm-project.git revision 2ca637c9769ff50e94ace3083075a97b50d147f0) clang revision 2ca637c9769ff50e94ace3083075a97b50d147f0 llvm revision 2ca637c9769ff50e94ace3083075a97b50d147f0 Skipping the following test categories: ['gmodules', 'watchpoint', 'libstdcxx', 'dwo', 'llgs', 'fork'] -- Command Output (stderr): -- Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/lang/cpp/modules-import runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.inherit-tcc true output: runCmd: settings set target.detach-on-error false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: expr -l Objective-C++ -- @import Bar runCmd failed! error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_dsym (TestCXXModulesImport.CXXModulesImportTestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10cbb7db0> >>: success runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.inherit-tcc true output: runCmd: settings set target.detach-on-error false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: expr -l Objective-C++ -- @import Bar runCmd failed! error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_dwarf (TestCXXModulesImport.CXXModulesImportTestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c3caae0> >>: success UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_dwo (TestCXXModulesImport.CXXModulesImportTestCase) (test case does not fall in any category of interest for this run) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.inherit-tcc true output: runCmd: settings set target.detach-on-error false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: expr -l Objective-C++ -- @import Bar check of return status not required runCmd failed! error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar Ran command: "expr -l Objective-C++ -- @import Bar" Got output: error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10cbb7ea0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_failing_import_dsym (TestCXXModulesImport.CXXModulesImportTestCase) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.inherit-tcc true output: runCmd: settings set target.detach-on-error false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: expr -l Objective-C++ -- @import Bar check of return status not required runCmd failed! error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar Ran command: "expr -l Objective-C++ -- @import Bar" Got output: error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c3ca9f0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_failing_import_dwarf (TestCXXModulesImport.CXXModulesImportTestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_failing_import_dwo (TestCXXModulesImport.CXXModulesImportTestCase) (test case does not fall in any category of interest for this run) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_failing_import_gmodules (TestCXXModulesImport.CXXModulesImportTestCase) (test case does not fall in any category of interest for this run) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_expr_gmodules (TestCXXModulesImport.CXXModulesImportTestCase) (test case does not fall in any category of interest for this run) Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test ====================================================================== FAIL: test_expr_dsym (TestCXXModulesImport.CXXModulesImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1835, in test_method return attrvalue(self) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper return func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py", line 32, in test_expr self.expect("expr -l Objective-C++ -- @import Bar") File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2468, in expect inHistory=inHistory) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2166, in runCmd msg if (msg) else CMD_MSG(cmd)) AssertionError: False is not True : Command 'expr -l Objective-C++ -- @import Bar Error output: error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar ' did not return successfully Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang ====================================================================== FAIL: test_expr_dwarf (TestCXXModulesImport.CXXModulesImportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1835, in test_method return attrvalue(self) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper return func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/lang/cpp/modules-import/TestCXXModulesImport.py", line 32, in test_expr self.expect("expr -l Objective-C++ -- @import Bar") File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2468, in expect inHistory=inHistory) File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2166, in runCmd msg if (msg) else CMD_MSG(cmd)) AssertionError: False is not True : Command 'expr -l Objective-C++ -- @import Bar Error output: error: expression failed to parse: error: Header search couldn't locate module Foo error: while importing modules: error: Header search couldn't locate module Bar ' did not return successfully Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang ---------------------------------------------------------------------- Ran 8 tests in 7.519s RESULT: FAILED (2 passes, 2 failures, 0 errors, 4 skipped, 0 expected failures, 0 unexpected successes) --