More teststuite woes
David Eichmann
davide at well-typed.com
Sat Nov 17 16:47:48 UTC 2018
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
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20181117/0b86cc0d/attachment.html>
More information about the ghc-devs
mailing list