[GHC] #12554: Testsuite exhibits large amount of framework failures
GHC
ghc-devs at haskell.org
Mon Oct 17 19:02:18 UTC 2016
#12554: Testsuite exhibits large amount of framework failures
-------------------------------------+-------------------------------------
Reporter: Phyx- | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 8.0.1
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"9cb4459893c1c56553b413786cea3171b4e665ca/ghc"
9cb44598/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="9cb4459893c1c56553b413786cea3171b4e665ca"
testsuite: Work around #12554
It seems that Python 2.7.11 and "recent" msys2 releases are broken,
holding open file locks unexpected. This causes rmtree to intermittently
fail. Even worse, it would fail silently (since we pass
ignore_errors=True), causing makedirs to fail later.
We now explicitly check for the existence of the test directory before
attempting to delete it and disable ignore_errors. Moreover, on Windows
we now try multiple times to rmtree the testdir, working around the
apparently msys bug.
This is all just terrible, but Phyx and I spent several hours trying to
track down the issue to no available. The workaround is better than
nothing.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12554#comment:26>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list