Failed

Test DWARF2 / lldb-api.lang/cpp/modules-import.TestCXXModulesImport.py (from lldb-api)

Failing for the past 289 builds (Since Unstable#3318 )
Took 3.4 sec.

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 --dwarf-version=2 --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 13.0.99 (http://labmaster3.local/git/llvm-project.git revision 8da3b7d857298a306973ea8f78c35adb5ba89837)
  clang revision 8da3b7d857298a306973ea8f78c35adb5ba89837
  llvm revision 8da3b7d857298a306973ea8f78c35adb5ba89837
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 0x110e06de0> >>: 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 0x110621b10> >>: 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 0x110e06ed0> >>: 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 0x110621a20> >>: 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 1834, 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 2467, in expect
    inHistory=inHistory)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2165, 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 1834, 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 2467, in expect
    inHistory=inHistory)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2165, 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 2.908s

RESULT: FAILED (2 passes, 2 failures, 0 errors, 4 skipped, 0 expected failures, 0 unexpected successes)

--