[compiler-rt] r347779 - [gcov] Disable instrprof-gcov-fork.test.

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 12:13:29 PDT 2019


Hi Calixte,

Unfortunately this test has been failing sporadically on Darwin as well. Do you have time to investigate?

Perhaps it'd be best to revert the test and any associated changes in the GCOV pass until this is understood.

Here is the output I am seeing:

FAIL: Profile-i386 :: Posix/instrprof-gcov-fork.test (24 of 234)
******************** TEST 'Profile-i386 :: Posix/instrprof-gcov-fork.test' FAILED ********************
Script:
--
: 'RUN: at line 3';   mkdir -p /Users/vsk/src/builds/llvm-project-master-RA/projects/compiler-rt/test/profile/Profile-i386/Posix/Output/instrprof-gcov-fork.test.tmp.d
: 'RUN: at line 4';   cd /Users/vsk/src/builds/llvm-project-master-RA/projects/compiler-rt/test/profile/Profile-i386/Posix/Output/instrprof-gcov-fork.test.tmp.d
: 'RUN: at line 6';      /Users/vsk/src/builds/llvm-project-master-RA/./bin/clang   -arch i386 -stdlib=libc++ -mmacosx-version-min=10.9 -isysroot /Applications/OSEng.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk  --coverage -o /Users/vsk/src/builds/llvm-project-master-RA/projects/compiler-rt/test/profile/Profile-i386/Posix/Output/instrprof-gcov-fork.test.tmp /Users/vsk/src/llvm-project-master/compiler-rt/test/profile/Posix/../Inputs/instrprof-gcov-fork.c
: 'RUN: at line 7';   test -f instrprof-gcov-fork.gcno
: 'RUN: at line 9';   rm -f instrprof-gcov-fork.gcda
: 'RUN: at line 10';    /Users/vsk/src/builds/llvm-project-master-RA/projects/compiler-rt/test/profile/Profile-i386/Posix/Output/instrprof-gcov-fork.test.tmp
: 'RUN: at line 11';   llvm-cov gcov -b -c instrprof-gcov-fork.gcda
: 'RUN: at line 12';   FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-fork.c.gcov /Users/vsk/src/llvm-project-master/compiler-rt/test/profile/Posix/../Inputs/instrprof-gcov-fork.c.gcov
--
Exit Code: 1

Command Output (stdout):
--
File '/Users/vsk/src/llvm-project-master/compiler-rt/test/profile/Posix/../Inputs/instrprof-gcov-fork.c'
Lines executed:100.00% of 7
No branches
No calls
/Users/vsk/src/llvm-project-master/compiler-rt/test/profile/Posix/../Inputs/instrprof-gcov-fork.c:creating 'instrprof-gcov-fork.c.gcov'


--
Command Output (stderr):
--
/Users/vsk/src/llvm-project-master/compiler-rt/test/profile/Posix/../Inputs/instrprof-gcov-fork.c.gcov:10:15: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT:function func2 called 2 returned 100% blocks executed 100%
              ^
instrprof-gcov-fork.c.gcov:10:1: note: scanning from here
function func2 called 1 returned 100% blocks executed 100%
^

--

thanks,
vedant

> On Nov 28, 2018, at 9:24 AM, Matt Morehouse via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: morehouse
> Date: Wed Nov 28 09:24:07 2018
> New Revision: 347779
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=347779&view=rev
> Log:
> [gcov] Disable instrprof-gcov-fork.test.
> 
> Test has been flaky for over a week and author hasn't fixed.
> 
> Modified:
>    compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test
> 
> Modified: compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test?rev=347779&r1=347778&r2=347779&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test (original)
> +++ compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test Wed Nov 28 09:24:07 2018
> @@ -1,3 +1,5 @@
> +UNSUPPORTED: linux
> +
> RUN: mkdir -p %t.d
> RUN: cd %t.d
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list