Failed

lldb-shell.Subprocess.fork-follow-child-wp.test (from lldb-shell)

Failing for the past 1 build (Since #1962 )
Took 4.1 sec.

Stacktrace

Script:
--
: 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang --driver-mode=g++ --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 /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Subprocess/Inputs/fork.cpp -DTEST_FORK=fork -o /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Subprocess/Output/fork-follow-child-wp.test.tmp
: 'RUN: at line 4';   /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/llvm-project/lldb/test/Shell/Subprocess/fork-follow-child-wp.test /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test/Shell/Subprocess/Output/fork-follow-child-wp.test.tmp | /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Subprocess/fork-follow-child-wp.test
--
Exit Code: 1

Command Output (stderr):
--
clang-14: 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 must be launched.
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Subprocess/fork-follow-child-wp.test:12:10: error: CHECK: expected string not found in input
# CHECK: stop reason = watchpoint
         ^
<stdin>:29:71: note: scanning from here
* thread #1, queue = 'com.apple.main-thread', stop reason = watchpoint 1
                                                                      ^
<stdin>:40:4: note: possible intended match here
function run in parent
   ^

Input file: <stdin>
Check file: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/Shell/Subprocess/fork-follow-child-wp.test

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

Input was:
<<<<<<
            .
            .
            .
           24: Watchpoint 1 hit: 
           25: old value: 0 
           26: new value: 1 
           27: Process 902 resuming 
           28: Process 902 stopped 
           29: * thread #1, queue = 'com.apple.main-thread', stop reason = watchpoint 1 
check:12'0                                                                           X~~ error: no match found
           30:  frame #0: 0x0000000100000cbe fork-follow-child-wp.test.tmp`parent_func() at fork.cpp:15:3 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           31:  12  
check:12'0     ~~~~~
           32:  13 void parent_func() { 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  14 g_val = 1; 
check:12'0     ~~~~~~~~~~~~~~~
           34: -> 15 printf("function run in parent\n"); 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           35:  ^ 
check:12'0     ~~~
           36:  16 } 
check:12'0     ~~~~~~
           37:  17  
check:12'0     ~~~~~
           38:  18 int child_func(void *unused) { 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           39: (lldb) continue 
check:12'0     ~~~~~~~~~~~~~~~~
           40: function run in parent 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~
check:12'1        ?                    possible intended match
           41: child exited: 0 
check:12'0     ~~~~~~~~~~~~~~~~
           42: Process 902 resuming 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~
           43: Process 902 exited with status = 0 (0x00000000) 
check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           44: (lldb) continue 
check:12'0     ~~~~~~~~~~~~~~~~
>>>>>>

--