[Lldb-commits] [clang] [compiler-rt] [libcxx] [lldb] [llvm] Rename Sanitizer Coverage => Coverage Sanitizer (PR #106505)

Aaron Ballman via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 5 04:37:33 PDT 2024


AaronBallman wrote:

Precommit CI test failures look related:
```
_bk;t=1725284334938******************** TEST 'LLVM :: tools/sancov/symbolize.test' FAILED ********************

_bk;t=1725284334938Exit Code: 1

_bk;t=1725284334938

_bk;t=1725284334938Command Output (stderr):

_bk;t=1725284334938--

_bk;t=1725284334938RUN: at line 2: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/sancov -symbolize -strip_path_prefix="llvm/" /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64 /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.sancov | /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize.test --check-prefixes=CHECK,STRIP

_bk;t=1725284334938+ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/sancov -symbolize -strip_path_prefix=llvm/ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64 /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.sancov

_bk;t=1725284334938+ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize.test --check-prefixes=CHECK,STRIP

_bk;t=1725284334938/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize.test:13:13: error: CHECK-NEXT: expected string not found in input

_bk;t=1725284334938CHECK-NEXT: "binary-hash": "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",

_bk;t=1725284334938            ^

_bk;t=1725284334938<stdin>:8:4: note: scanning from here

_bk;t=1725284334938 ],

_bk;t=1725284334938   ^

_bk;t=1725284334938<stdin>:9:2: note: possible intended match here

_bk;t=1725284334938 "binary-hash": "A13A863C18DD4DA9E926DB113A369DA45AE33134",

_bk;t=1725284334938 ^

_bk;t=1725284334938

_bk;t=1725284334938Input file: <stdin>

_bk;t=1725284334938Check file: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize.test

_bk;t=1725284334938

_bk;t=1725284334938-dump-input=help explains the following input dump.

_bk;t=1725284334938

_bk;t=1725284334938Input was:

_bk;t=1725284334938<<<<<<

_bk;t=1725284334938           1: { 

_bk;t=1725284334938           2:  "covered-points": [ 

_bk;t=1725284334938           3:  "4e132b", 

_bk;t=1725284334938           4:  "4e1472", 

_bk;t=1725284334938           5:  "4e1520", 

_bk;t=1725284334938           6:  "4e1553", 

_bk;t=1725284334938           7:  "4e1586" 

_bk;t=1725284334938           8:  ], 

_bk;t=1725284334938next:13'0        X error: no match found

_bk;t=1725284334938           9:  "binary-hash": "A13A863C18DD4DA9E926DB113A369DA45AE33134", 

_bk;t=1725284334938next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334938next:13'1      ?                                                           possible intended match

_bk;t=1725284334938          10:  "point-symbol-info": { 

_bk;t=1725284334938next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334938          11:  "test/tools/sancov/Inputs/test.cpp": { 

_bk;t=1725284334938next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334938          12:  "bar(std::string)": { 

_bk;t=1725284334938next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334938          13:  "4e132b": "12:0" 

_bk;t=1725284334938next:13'0     ~~~~~~~~~~~~~~~~~~

_bk;t=1725284334938          14:  }, 

_bk;t=1725284334938next:13'0     ~~~~

_bk;t=1725284334938           .

_bk;t=1725284334938           .

_bk;t=1725284334938           .

_bk;t=1725284334938>>>>>>

_bk;t=1725284334938

_bk;t=1725284334938--

_bk;t=1725284334938

_bk;t=1725284334938********************

_bk;t=1725284334939FAIL: LLVM :: tools/sancov/symbolize_noskip_dead_files.test (86063 of 96817)

_bk;t=1725284334939******************** TEST 'LLVM :: tools/sancov/symbolize_noskip_dead_files.test' FAILED ********************

_bk;t=1725284334939Exit Code: 1

_bk;t=1725284334939

_bk;t=1725284334939Command Output (stderr):

_bk;t=1725284334939--

_bk;t=1725284334939RUN: at line 2: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/sancov -symbolize -skip-dead-files=0 -strip_path_prefix="llvm/" /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64 /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.sancov | /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize_noskip_dead_files.test

_bk;t=1725284334939+ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/sancov -symbolize -skip-dead-files=0 -strip_path_prefix=llvm/ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64 /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.sancov

_bk;t=1725284334939+ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize_noskip_dead_files.test

_bk;t=1725284334939/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize_noskip_dead_files.test:12:13: error: CHECK-NEXT: expected string not found in input

_bk;t=1725284334939CHECK-NEXT: "binary-hash": "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5",

_bk;t=1725284334939            ^

_bk;t=1725284334939<stdin>:8:4: note: scanning from here

_bk;t=1725284334939 ],

_bk;t=1725284334939   ^

_bk;t=1725284334939<stdin>:9:2: note: possible intended match here

_bk;t=1725284334939 "binary-hash": "A13A863C18DD4DA9E926DB113A369DA45AE33134",

_bk;t=1725284334939 ^

_bk;t=1725284334939

_bk;t=1725284334939Input file: <stdin>

_bk;t=1725284334939Check file: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-c4bpt-1/llvm-project/github-pull-requests/llvm/test/tools/sancov/symbolize_noskip_dead_files.test

_bk;t=1725284334939

_bk;t=1725284334939-dump-input=help explains the following input dump.

_bk;t=1725284334939

_bk;t=1725284334939Input was:

_bk;t=1725284334939<<<<<<

_bk;t=1725284334939           1: { 

_bk;t=1725284334939           2:  "covered-points": [ 

_bk;t=1725284334939           3:  "4e132b", 

_bk;t=1725284334939           4:  "4e1472", 

_bk;t=1725284334939           5:  "4e1520", 

_bk;t=1725284334939           6:  "4e1553", 

_bk;t=1725284334939           7:  "4e1586" 

_bk;t=1725284334939           8:  ], 

_bk;t=1725284334939next:12'0        X error: no match found

_bk;t=1725284334939           9:  "binary-hash": "A13A863C18DD4DA9E926DB113A369DA45AE33134", 

_bk;t=1725284334939next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334939next:12'1      ?                                                           possible intended match

_bk;t=1725284334939          10:  "point-symbol-info": { 

_bk;t=1725284334939next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334939          11:  "test/tools/sancov/Inputs/foo.cpp": { 

_bk;t=1725284334939next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_bk;t=1725284334939          12:  "foo()": { 

_bk;t=1725284334939next:12'0     ~~~~~~~~~~~~

_bk;t=1725284334939          13:  "4e178c": "5:0" 

_bk;t=1725284334939next:12'0     ~~~~~~~~~~~~~~~~~

_bk;t=1725284334939          14:  } 

_bk;t=1725284334939next:12'0     ~~~

_bk;t=1725284334939           .

_bk;t=1725284334939           .

_bk;t=1725284334939           .

_bk;t=1725284334939>>>>>>

_bk;t=1725284334939

_bk;t=1725284334939--

_bk;t=1725284334939

_bk;t=1725284334939********************
```
it looks like some hashes may need to be updated in those tests due to the renaming.

@vitalybuka -- are you comfortable with the rename as the sanitizer owner?

https://github.com/llvm/llvm-project/pull/106505


More information about the lldb-commits mailing list