[Lldb-commits] [lldb] [lldb][test][win][x86_64] XFAIL already failing Shell/Driver tests (PR #100473)
Kendal Harland via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 24 16:00:20 PDT 2024
kendalharland wrote:
> How are these tests failing? Neither of them seem to be testing something specific to x86_64 and presumably the test are passing on [the aarch64 windows buildbot](https://lab.llvm.org/buildbot/#/builders/141)?
I am currently seeing this output:
```
Testing: 0.. 10
FAIL: lldb-shell :: Driver/TestConvenienceVariables.test (48 of 2873)
******************** TEST 'lldb-shell :: Driver/TestConvenienceVariables.test' FAILED ********************
Script:
--
: 'RUN: at line 2'; mkdir -p S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp
: 'RUN: at line 3'; 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe' S:\SourceCache\llvm-project\lldb\test\Shell\helper\build.py --compiler=any --arch=64 --tools-dir=S:/b/1/./bin --libs-dir=S:/b/1/./lib S:\SourceCache\llvm-project\lldb\test\Shell\Driver/Inputs/hello.cpp -o S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp/target.out
: 'RUN: at line 4'; s:\b\1\bin\lldb.exe --no-lldbinit -S S:/b/1/tools/lldb\test\Shell\lit-lldb-init-quiet S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp/target.out -s S:\SourceCache\llvm-project\lldb\test\Shell\Driver/Inputs/convenience.in -o quit | s:\b\1\bin\filecheck.exe S:\SourceCache\llvm-project\lldb\test\Shell\Driver\TestConvenienceVariables.test
--
Exit Code: 1
Command Output (stdout):
--
$ ":" "RUN: at line 2"
note: command had no output on stdout or stderr
$ "mkdir" "-p" "S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp"
note: command had no output on stdout or stderr
$ ":" "RUN: at line 3"
note: command had no output on stdout or stderr
$ "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe" "S:\SourceCache\llvm-project\lldb\test\Shell\helper\build.py" "--compiler=any" "--arch=64" "--tools-dir=S:/b/1/./bin" "--libs-dir=S:/b/1/./lib" "S:\SourceCache\llvm-project\lldb\test\Shell\Driver/Inputs/hello.cpp" "-o" "S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp/target.out"
# command output:
Cleaning hello.ilk
Cleaning target.out-hello.obj
Cleaning target.pdb
Cleaning target.out
compiling hello.cpp -> target.out-hello.obj
STDOUT:
linking target.out-hello.obj -> target.out
STDOUT:
$ ":" "RUN: at line 4"
note: command had no output on stdout or stderr
$ "s:\b\1\bin\lldb.exe" "--no-lldbinit" "-S" "S:/b/1/tools/lldb\test\Shell\lit-lldb-init-quiet" "S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp/target.out" "-s" "S:\SourceCache\llvm-project\lldb\test\Shell\Driver/Inputs/convenience.in" "-o" "quit"
note: command had no output on stdout or stderr
$ "s:\b\1\bin\filecheck.exe" "S:\SourceCache\llvm-project\lldb\test\Shell\Driver\TestConvenienceVariables.test"
# command stderr:
S:\SourceCache\llvm-project\lldb\test\Shell\Driver\TestConvenienceVariables.test:6:8: error: CHECK: expected string not found in input
CHECK: stop reason = breakpoint 1.1
^
<stdin>:1:1: note: scanning from here
(lldb) command source -s 0 'S:/b/1/tools/lldb\test\Shell\lit-lldb-init-quiet'
^
<stdin>:13:14: note: possible intended match here
* thread #1, stop reason = breakpoint 1.2
^
Input file: <stdin>
Check file: S:\SourceCache\llvm-project\lldb\test\Shell\Driver\TestConvenienceVariables.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: (lldb) command source -s 0 'S:/b/1/tools/lldb\test\Shell\lit-lldb-init-quiet'
check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: Executing commands in 'S:\b\1\tools\lldb\test\Shell\lit-lldb-init-quiet'.
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: (lldb) command source -C --silent-run true lit-lldb-init
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: (lldb) target create "S:\\b\\1\\tools\\lldb\\test\\Shell\\Driver\\Output\\TestConvenienceVariables.test.tmp/target.out"
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: Current executable set to 'S:\b\1\tools\lldb\test\Shell\Driver\Output\TestConvenienceVariables.test.tmp\target.out' (x86_64).
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: (lldb) command source -s 0 'S:\SourceCache\llvm-project\lldb\test\Shell\Driver/Inputs/convenience.in'
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: Executing commands in 'S:\SourceCache\llvm-project\lldb\test\Shell\Driver\Inputs\convenience.in'.
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8: (lldb) breakpoint set -f hello.cpp -p Hello
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9: Breakpoint 1: where = target.out`main + 21 at hello.cpp:4, address = 0x0000000140001015
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10: (lldb) run
check:6'0 ~~~~~~~~~~~
11: 1 location added to breakpoint 1
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: (lldb) Process 51956 stopped
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13: * thread #1, stop reason = breakpoint 1.2
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:6'1 ? possible intended match
14: frame #0: 0x00007ff7031b1015 target.out`main(argc=1, argv=0x0000010f1571f7e0) at hello.cpp:4
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15: 1 #include<stdio.h>
check:6'0 ~~~~~~~~~~~~~~~~~~~~~
16: 2
check:6'0 ~~~~
17: 3 int main(int argc, char **argv) {
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18: -> 4 printf("Hello World\n");
check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
error: command failed with exit status: 1
```
https://github.com/llvm/llvm-project/pull/100473
More information about the lldb-commits
mailing list