recomp013

Gabor Greif ggreif at gmail.com
Thu Sep 19 12:57:26 UTC 2013


On 9/19/13, Simon Peyton-Jones <simonpj at microsoft.com> wrote:
> I lied.  Whether or not the 'sleep' is there, the test usually fails, but
> occasionally (one time in ten or so) succeeds.

I am the originator of the bug report, and could consistently
reproduce it in a bigger project. Unfortunately I have no time
currently to dive into the issue, but I have it earmarked for later.

Cheers,

    Gabor


>
> SImon
>
> | -----Original Message-----
> | From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Simon
> | Peyton-Jones
> | Sent: 19 September 2013 12:50
> | To: Joachim Breitner; ghc-devs at haskell.org
> | Subject: RE: recomp013
> |
> | that makes it work.!
> |
> | | -----Original Message-----
> | | From: Joachim Breitner [mailto:mail at joachim-breitner.de]
> | | Sent: 19 September 2013 12:41
> | | To: Simon Peyton-Jones; ghc-devs at haskell.org
> | | Subject: Re: recomp013
> | |
> | | Dear Simon,
> | |
> | | Am Donnerstag, den 19.09.2013, 11:33 +0000 schrieb Simon Peyton-Jones:
> | | > =====> recomp013(normal) 89 of 114 [0, 0, 0]
> | | > cd ./recomp013 && $MAKE -s --no-print-directory recomp013
> | | </dev/null >recomp013.run.stdout 2>recomp013.run.stderr
> | | > Actual stdout output differs from expected:
> | | > --- ./recomp013/recomp013.stdout	2013-09-18 12:38:22.000000000
> | +0100
> | | > +++ ./recomp013/recomp013.run.stdout	2013-09-19 12:15:22.611120935
> | | +0100
> | | > @@ -3,5 +3,3 @@
> | | >  [2 of 3] Compiling B                ( B.hs, B.o )
> | | >  [3 of 3] Compiling C                ( C.hs, C.o )
> | | >  second run
> | | > -[2 of 3] Compiling B                ( B.hs, B.o )
> | | > -[3 of 3] Compiling C                ( C.hs, C.o ) [B changed]
> | | > *** unexpected failure for recomp013(normal)
> | |
> | | It works here. So that means either two things:
> | |  * that the bug described in #8247 is actually present in HEAD, but
> | |    only under certain circumstances, or
> | |  * that there is a timing issue with the update of B.hs.
> | |
> | | The latter seems to be more likely. I notice that other recomp-tests
> | | have a "sleep 1" before updating the file: If you insert that in
> | | recomp013/Makefile, does it go through for you?
> | |
> | | Greetings,
> | | Joachim
> | |
> | | --
> | | Joachim “nomeata” Breitner
> | |   mail at joachim-breitner.dehttp://www.joachim-breitner.de/
> | |   Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
> | |   Debian Developer: nomeata at debian.org
> | _______________________________________________
> | ghc-devs mailing list
> | ghc-devs at haskell.org
> | http://www.haskell.org/mailman/listinfo/ghc-devs
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



More information about the ghc-devs mailing list