Regression

lldb-shell.Commands.command-script-import.test (from lldb-shell)

Failing for the past 1 build (Since #1876 )
Took 31 sec.

Stacktrace

Script:
--
: 'RUN: at line 2';   echo 'b main' > /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in
: 'RUN: at line 3';   echo 'run' >> /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in
: 'RUN: at line 4';   echo 'command script import /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Commands/Inputs/frame.py' >> /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in
: 'RUN: at line 6';   /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-apple-darwin19.5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-shell -g -O0 /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Commands/Inputs/main.c -o /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.out
: 'RUN: at line 7';   /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/lldb --no-lldbinit -S /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/lit-lldb-init -b -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in -o 'script print("script: {}".format(lldb.frame))' /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.out | /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Commands/command-script-import.test
--
Exit Code: 1

Command Output (stderr):
--
clang-13: warning: argument unused during compilation: '-fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-shell' [-Wunused-command-line-argument]
error: process exited with status -1 (tried to attach to process already being debugged)
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Commands/command-script-import.test:10:10: error: CHECK: expected string not found in input
# CHECK: frame.py: None
         ^
<stdin>:1:1: note: scanning from here
(lldb) command source -s 0 '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/lit-lldb-init'
^
<stdin>:18:46: note: possible intended match here
(lldb) script print("script: {}".format(lldb.frame))
                                             ^

Input file: <stdin>
Check file: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Commands/command-script-import.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: (lldb) command source -s 0 '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/lit-lldb-init' 
check:10'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
            2: Executing commands in '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/lit-lldb-init'. 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            3: (lldb) # LLDB init file for the LIT tests. 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            4: (lldb) settings set symbols.enable-external-lookup false 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            5: (lldb) settings set plugin.process.gdb-remote.packet-timeout 60 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            6: (lldb) settings set interpreter.echo-comment-commands false 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
           13: (lldb) command source -s 0 '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in' 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           14: Executing commands in '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Commands/Output/command-script-import.test.tmp.in'. 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           15: (lldb) b main 
check:10'0     ~~~~~~~~~~~~~~
           16: Breakpoint 1: where = command-script-import.test.tmp.out`main + 15 at main.c:2:21, address = 0x0000000100000f9f 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           17: (lldb) run 
check:10'0     ~~~~~~~~~~~
           18: (lldb) script print("script: {}".format(lldb.frame)) 
check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:10'1                                                  ?        possible intended match
           19: script: No value 
check:10'0     ~~~~~~~~~~~~~~~~~
>>>>>>

--