More teststuite woes

Simon Peyton Jones simonpj at microsoft.com
Sat Nov 17 17:56:43 UTC 2018


I'll try validating again to see if the same thing happens.
Simon

From: David Eichmann <davide at well-typed.com>
Sent: 17 November 2018 16:48
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-devs at haskell.org
Subject: Re: More teststuite woes


Hello Simon,

I had a quick look into this today, and spoke a bit with Ben about it. We don't have a clear answer as to what is causing this at the moment. We'll have to look more into this early next week.

> It means I can't validate at all.

So you've tried to validate multiple times? I.e. does the error happen deterministically or was it more of a one off event?

- David E

On 17/11/18 10:05, Simon Peyton Jones via ghc-devs wrote:
David
I got this error on Windows today.  It's during the testuite run of 'sh validate'

=====> T7969(normal) 3998 of 6647 [0, 25, 1]

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T7969.run" && $MAKE -s --no-print-directory T7969

=====> T9127(normal) 3999 of 6647 [0, 25, 1]

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T9127.run" &&  "/c/code/HEAD/bindisttest/install   dir/bin/ghc.exe" -c T9127.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output

=====> T4426(normal) 4000 of 6647 [0, 25, 1]

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T4426.run" &&  "/c/code/HEAD/bindisttest/install   dir/bin/ghc.exe" -c T4426.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T5592.run" && ./T5592

=====> T9778(normal) 4001 of 6647 [0, 25, 1]

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T9778.run" &&  "/c/code/HEAD/bindisttest/install   dir/bin/ghc.exe" -c T9778.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -fwarn-unticked-promoted-constructors

=====> T10816(normal) 4002 of 6647 [0, 25, 1]

cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-b2z6dfqg/test   spaces/rename/should_compile/T10816.run" &&  "/c/code/HEAD/bindisttest/install   dir/bin/ghc.exe" -c T10816.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output

Traceback (most recent call last):

  File "/usr/lib/python3.6/threading.py", line 426, in acquire

    self._cond.wait(timeout)

  File "/usr/lib/python3.6/threading.py", line 287, in wait

    raise RuntimeError("cannot wait on un-acquired lock")

RuntimeError: cannot wait on un-acquired lock



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "../driver/runtests.py", line 336, in <module>

    oneTest(watcher)

  File "/c/code/HEAD/testsuite/driver/testlib.py", line 717, in <lambda>

    thisTest = lambda watcher: runTest(watcher, myTestOpts, name, func, args)

  File "/c/code/HEAD/testsuite/driver/testlib.py", line 678, in runTest

    pool_sema.acquire()

  File "/usr/lib/python3.6/threading.py", line 429, in acquire

    rc = True

  File "/usr/lib/python3.6/threading.py", line 243, in __exit__

    return self._lock.__exit__(*args)

RuntimeError: release unlocked lock

make: *** [../mk/test.mk:344: test] Error 1

make: Leaving directory '/c/code/HEAD/testsuite/tests'

make: Entering directory '/c/code/HEAD/testsuite/tests/stage1'

Does this ring any bells.  It means I can't validate at all.
Thanks

Simon




_______________________________________________

ghc-devs mailing list

ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>

http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C2fa86ac0a6a4462dfae308d64cac69e7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636780700738857953&sdata=JV5yZ1AXzJoKMTYWi8HvgB60DzlKWhGXpxxLtAOZK5U%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20181117/0da996f7/attachment.html>


More information about the ghc-devs mailing list