On Mar 26, 2014, at 6:56 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:> On 3/26/2014 11:39 AM, İsmail Dönmez wrote: >> >> make check-all but yes make check would suffice. Thanks! > > I see two reported failures: > > > FAIL: LLVM :: BugPoint/compile-custom.ll (459 of 9992) > ******************** TEST 'LLVM :: BugPoint/compile-custom.ll' FAILED ******************** > Script: > -- > /usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load /usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so --compile-custom --compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --output-prefix /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll | /usr/home/kparzysz/bld.lv/Release+Asserts/bin/FileCheck /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.llCould you please run this command manually without piping it into FileCheck and send me the output? Thanks, Adam> -- > Exit Code: 1 > > Command Output (stderr): > -- > *** Debugging code generator crash! > <crash> > <crash> > /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll:8:10: error: expected string not found in input > ; CHECK: Error: arg1 arg2 > ^ > <stdin>:1:1: note: scanning from here > Read input file : '/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll' > ^ > <stdin>:6:54: note: possible intended match here > /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-979d8b7.bc > ^ > > -- > > ******************** > FAIL: LLVM :: MC/COFF/section-name-encoding.s (6304 of 9992) > ******************** TEST 'LLVM :: MC/COFF/section-name-encoding.s' FAILED ******************** > Script: > -- > /usr/home/kparzysz/bld.lv/Release+Asserts/bin/llvm-mc -triple x86_64-pc-win32 -filetype=obj /usr/home/kparzysz/llvm/test/MC/COFF/section-name-encoding.s | /usr/home/kparzysz/bld.lv/Release+Asserts/bin/llvm-readobj -s | /usr/home/kparzysz/bld.lv/Release+Asserts/bin/FileCheck /usr/home/kparzysz/llvm/test/MC/COFF/section-name-encoding.s > -- > Exit Code: 2 > > Command Output (stderr): > -- > Stack dump: > 0. Program arguments: /usr/home/kparzysz/bld.lv/Release+Asserts/bin/llvm-mc -triple x86_64-pc-win32 -filetype=obj /usr/home/kparzysz/llvm/test/MC/COFF/section-name-encoding.s > <stdin>: The file was not recognized as a valid object file > FileCheck error: '-' is empty. > > -- > > ******************** > > Testing Time: 2030.66s > ******************** > Failing Tests (2): > LLVM :: BugPoint/compile-custom.ll > LLVM :: MC/COFF/section-name-encoding.s > > Expected Passes : 9831 > Expected Failures : 64 > Unsupported Tests : 95 > Unexpected Failures: 2 > gmake[1]: *** [check-local] Error 1 > gmake[1]: Leaving directory `/usr/home/kparzysz/bld.lv/test' > gmake: *** [check] Error 2 > > > -Krzysztof > > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Krzysztof Parzyszek
2014-Mar-27 11:56 UTC
[LLVMdev] Lots of regtest failures on PPC64/Linux
On 3/26/2014 11:03 PM, Adam Nemet wrote:> > Could you please run this command manually without piping it into FileCheck and send me the output?Certainly. Will do it tonight. -K -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Krzysztof Parzyszek
2014-Mar-28 00:08 UTC
[LLVMdev] Lots of regtest failures on PPC64/Linux
On 3/26/2014 11:03 PM, Adam Nemet wrote:> > > Could you please run this command manually without piping it into FileCheck and send me the output?Seems like absence of python and opt in PATH was the problem here: /usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load /usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so --compile-custom --compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --output-prefix /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll Read input file : '/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll' *** All input ok Initializing execution environment: Found command in: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py Running the code generator to test for a crash: Error running tool: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-c898032.bc env: python: No such file or directory *** Debugging code generator crash! Checking for crash with only these blocks: : Cannot find `opt' in PATH! simplifycfg failed! After adding both to PATH: /usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load /usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so --compile-custom --compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --output-prefix /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll Read input file : '/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll' *** All input ok Initializing execution environment: Found command in: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py Running the code generator to test for a crash: Error running tool: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc Error: arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc *** Debugging code generator crash! Checking for crash with only these blocks: : <crash> Emitted bitcode to '/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-blocks.bc' *** Attempting to reduce testcase by deleting instructions: Simplification Level #1 *** Attempting to reduce testcase by deleting instructions: Simplification Level #0 *** Attempting to perform final cleanups: <crash> Emitted bitcode to '/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-simplified.bc' With piping through FileCheck, I get *** Debugging code generator crash! <crash> <crash> but the return code is 0. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
On Mar 27, 2014, at 5:08 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:> On 3/26/2014 11:03 PM, Adam Nemet wrote: >> >> >> Could you please run this command manually without piping it into FileCheck and send me the output? > > Seems like absence of python and opt in PATH was the problem here: > > /usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load /usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so --compile-custom --compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --output-prefix /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll > Read input file : '/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll' > *** All input ok > Initializing execution environment: Found command in: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py > Running the code generator to test for a crash: > Error running tool: > /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-c898032.bc > env: python: No such file or directory > *** Debugging code generator crash! > Checking for crash with only these blocks: : Cannot find `opt' in PATH! > simplifycfg failed! > > > After adding both to PATH: > > > /usr/home/kparzysz/bld.lv/Release+Asserts/bin/bugpoint -load /usr/home/kparzysz/bld.lv/Release+Asserts/lib/BugpointPasses.so --compile-custom --compile-command="/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --output-prefix /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll > Read input file : '/usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll' > *** All input ok > Initializing execution environment: Found command in: /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py > Running the code generator to test for a crash: > Error running tool: > /usr/home/kparzysz/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc > Error: arg1 arg2 /usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-test-program-3a0bf46.bc > *** Debugging code generator crash! > Checking for crash with only these blocks: : <crash> > Emitted bitcode to '/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-blocks.bc' > > *** Attempting to reduce testcase by deleting instructions: Simplification Level #1 > > *** Attempting to reduce testcase by deleting instructions: Simplification Level #0 > > *** Attempting to perform final cleanups: <crash> > Emitted bitcode to '/usr/home/kparzysz/bld.lv/test/BugPoint/Output/compile-custom.ll.tmp-reduced-simplified.bc' > > > With piping through FileCheck, I get > *** Debugging code generator crash! > <crash> > <crash> > but the return code is 0.Awesome, thanks! I don’t think you need opt in the path. Bugpoint may print an error message but that is beyond the point we’re interested. But yeah it does need python in the path :). Adam> > > -Krzysztof > > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation