[llvm-bugs] [Bug 26607] New: check-profile produces two unexpected failures on x86_64 darwin

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Feb 13 19:15:19 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26607

            Bug ID: 26607
           Summary: check-profile produces two unexpected failures on
                    x86_64 darwin
           Product: compiler-rt
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: howarth.mailing.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On x86_64-apple-darwin15, check-profile produces two unexpected failures in the
compiler-rt test suite...

Failing Tests (2):
    Profile :: instrprof-error.c
    Profile :: instrprof-version-mismatch.c

  Expected Passes    : 21
  Unsupported Tests  : 9
  Unexpected Failures: 2

These are of the form...

FAIL: Profile :: instrprof-error.c (10 of 32)
******************** TEST 'Profile :: instrprof-error.c' FAILED
********************
Script:
--
gtimeout 1m   /sw/src/fink.build/llvm39-3.9.0-1/build/stage3/./bin/clang  
-fprofile-instr-generate -o
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp
-O3
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-error.c
gtimeout 1m  touch
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw
gtimeout 1m  chmod -w
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw
gtimeout 1m 
LLVM_PROFILE_FILE=/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw
LLVM_PROFILE_VERBOSE_ERRORS=1 
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp
1 2>&1 | FileCheck
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-error.c
gtimeout 1m  chmod +w
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw
--
Exit Code: 1

Command Output (stderr):
--
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-error.c:12:11:
error: expected string not found in input
// CHECK: LLVM Profile: Failed to write file 
          ^
<stdin>:1:1: note: scanning from here
gtimeout: failed to run command
‘LLVM_PROFILE_FILE=/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw’:
No such file or directory
<stdin>:1:171: note: possible intended match here
gtimeout: failed to run command
‘LLVM_PROFILE_FILE=/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-error.c.tmp.profraw’:
No such file or directory

--

********************

FAIL: Profile :: instrprof-version-mismatch.c (22 of 32)
******************** TEST 'Profile :: instrprof-version-mismatch.c' FAILED
********************
Script:
--
gtimeout 1m   /sw/src/fink.build/llvm39-3.9.0-1/build/stage3/./bin/clang  
-fprofile-instr-generate -o
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-version-mismatch.c.tmp
-O3
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-version-mismatch.c
gtimeout 1m  LLVM_PROFILE_VERBOSE_ERRORS=1 
/sw/src/fink.build/llvm39-3.9.0-1/build/stage3/projects/compiler-rt/test/profile/Output/instrprof-version-mismatch.c.tmp
1 2>&1 | FileCheck
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-version-mismatch.c
--
Exit Code: 1

Command Output (stderr):
--
/sw/src/fink.build/llvm39-3.9.0-1/compiler-rt-3.9.0.src/test/profile/instrprof-version-mismatch.c:11:11:
error: expected string not found in input
// CHECK: LLVM Profile: runtime and instrumentation version mismatch
          ^
<stdin>:1:1: note: scanning from here
gtimeout: failed to run command ‘LLVM_PROFILE_VERBOSE_ERRORS=1’: No such file
or directory
<stdin>:1:73: note: possible intended match here
gtimeout: failed to run command ‘LLVM_PROFILE_VERBOSE_ERRORS=1’: No such file
or directory

--

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160214/46e84865/attachment.html>


More information about the llvm-bugs mailing list