[GHC] #14704: Spurious cost-centre test failures

GHC ghc-devs at haskell.org
Mon Jan 22 19:02:38 UTC 2018


#14704: Spurious cost-centre test failures
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Profiling         |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * version:  8.2.2 => 8.5


Old description:

> CircleCI seems to routinely turn up spurious differences in cost-center
> profiler tests,
> {{{patch
> --- ./profiling/should_run/scc003.run/scc003.prof.sample.normalised
> 2018-01-22 18:57:35.961616901 +0000
> +++ ./profiling/should_run/scc003.run/scc003.prof.normalised
> 2018-01-22 18:57:35.961616901 +0000
> @@ -1,6 +1,6 @@
>  MAIN MAIN <built-in> 0
>  f Main scc003.hs:5:1-41 1
> -f.(...) Main scc003.hs:5:11-21 1
> -fib Main scc003.hs:8:1-50 21891
>  f.\ Main scc003.hs:5:32-41 1
>  fib Main scc003.hs:8:1-50 2692537
> +f.x' Main scc003.hs:5:11-21 1
> +fib Main scc003.hs:8:1-50 21891
> --- ./profiling/should_run/scc003.run/scc003.prof.sample.normalised
> 2018-01-22 18:57:37.321632723 +0000
> +++ ./profiling/should_run/scc003.run/scc003.prof.normalised
> 2018-01-22 18:57:37.321632723 +0000
> @@ -1,6 +1,6 @@
>  MAIN MAIN <built-in> 0
>  f Main scc003.hs:5:1-41 1
> -f.(...) Main scc003.hs:5:11-21 1
> -fib Main scc003.hs:8:1-50 21891
>  f.\ Main scc003.hs:5:32-41 1
>  fib Main scc003.hs:8:1-50 2692537
> +f.x' Main scc003.hs:5:11-21 1
> +fib Main scc003.hs:8:1-50 21891
> --- ./profiling/should_run/T12962.run/T12962.prof.sample.normalised
> 2018-01-22 18:57:46.241736499 +0000
> +++ ./profiling/should_run/T12962.run/T12962.prof.normalised
> 2018-01-22 18:57:46.241736499 +0000
> @@ -1,4 +1,4 @@
>  MAIN MAIN <built-in> 0
> -blah Main T12962.hs:15:1-22 1
> -niz3 Main T12962.hs:12:1-27 1
> -foo Main T12962.hs:8:1-21 100
> +blah Main T12962.hs:19:1-22 1
> +niz3 Main T12962.hs:16:1-27 1
> +foo Main T12962.hs:12:1-21 100
> --- ./profiling/should_run/T12962.run/T12962.prof.sample.normalised
> 2018-01-22 18:57:47.209747760 +0000
> +++ ./profiling/should_run/T12962.run/T12962.prof.normalised
> 2018-01-22 18:57:47.209747760 +0000
> @@ -1,4 +1,4 @@
>  MAIN MAIN <built-in> 0
> -blah Main T12962.hs:15:1-22 1
> -niz3 Main T12962.hs:12:1-27 1
> -foo Main T12962.hs:8:1-21 100
> +blah Main T12962.hs:19:1-22 1
> +niz3 Main T12962.hs:16:1-27 1
> +foo Main T12962.hs:12:1-21 100
> }}}

New description:

 CircleCI seems to routinely turn up spurious differences in cost-center
 profiler tests,
 {{{#!patch
 --- ./profiling/should_run/scc003.run/scc003.prof.sample.normalised
 2018-01-22 18:57:35.961616901 +0000
 +++ ./profiling/should_run/scc003.run/scc003.prof.normalised    2018-01-22
 18:57:35.961616901 +0000
 @@ -1,6 +1,6 @@
  MAIN MAIN <built-in> 0
  f Main scc003.hs:5:1-41 1
 -f.(...) Main scc003.hs:5:11-21 1
 -fib Main scc003.hs:8:1-50 21891
  f.\ Main scc003.hs:5:32-41 1
  fib Main scc003.hs:8:1-50 2692537
 +f.x' Main scc003.hs:5:11-21 1
 +fib Main scc003.hs:8:1-50 21891
 --- ./profiling/should_run/scc003.run/scc003.prof.sample.normalised
 2018-01-22 18:57:37.321632723 +0000
 +++ ./profiling/should_run/scc003.run/scc003.prof.normalised    2018-01-22
 18:57:37.321632723 +0000
 @@ -1,6 +1,6 @@
  MAIN MAIN <built-in> 0
  f Main scc003.hs:5:1-41 1
 -f.(...) Main scc003.hs:5:11-21 1
 -fib Main scc003.hs:8:1-50 21891
  f.\ Main scc003.hs:5:32-41 1
  fib Main scc003.hs:8:1-50 2692537
 +f.x' Main scc003.hs:5:11-21 1
 +fib Main scc003.hs:8:1-50 21891
 --- ./profiling/should_run/T12962.run/T12962.prof.sample.normalised
 2018-01-22 18:57:46.241736499 +0000
 +++ ./profiling/should_run/T12962.run/T12962.prof.normalised    2018-01-22
 18:57:46.241736499 +0000
 @@ -1,4 +1,4 @@
  MAIN MAIN <built-in> 0
 -blah Main T12962.hs:15:1-22 1
 -niz3 Main T12962.hs:12:1-27 1
 -foo Main T12962.hs:8:1-21 100
 +blah Main T12962.hs:19:1-22 1
 +niz3 Main T12962.hs:16:1-27 1
 +foo Main T12962.hs:12:1-21 100
 --- ./profiling/should_run/T12962.run/T12962.prof.sample.normalised
 2018-01-22 18:57:47.209747760 +0000
 +++ ./profiling/should_run/T12962.run/T12962.prof.normalised    2018-01-22
 18:57:47.209747760 +0000
 @@ -1,4 +1,4 @@
  MAIN MAIN <built-in> 0
 -blah Main T12962.hs:15:1-22 1
 -niz3 Main T12962.hs:12:1-27 1
 -foo Main T12962.hs:8:1-21 100
 +blah Main T12962.hs:19:1-22 1
 +niz3 Main T12962.hs:16:1-27 1
 +foo Main T12962.hs:12:1-21 100
 }}}

--

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14704#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list