T13456

Simon Peyton Jones simonpj at microsoft.com
Mon Apr 20 12:00:12 UTC 2020


I'm getting this failure (below) from validate fairly consistently.
It is often silenced by adding an empty file ghci/should_run/T13456.stderr
But it's troubling.  Does anyone else see this?  How can I debug it?

Thanks
Simon



Framework failures:

   /tmp/ghctest-31oxzmog/test   spaces/ghci/should_run/T13456.run  T13456 [Traceback (most recent call last):

  File "/home/simonpj/code/HEAD-1/testsuite/driver/testlib.py", line 996, in test_common_work

    do_test(name, way, func, args, files)

  File "/home/simonpj/code/HEAD-1/testsuite/driver/testlib.py", line 1094, in do_test

    result = func(*[name,way] + args)

  File "/home/simonpj/code/HEAD-1/testsuite/driver/testlib.py", line 1213, in ghci_script

    return simple_run( name, way, cmd, getTestOpts().extra_run_opts )

  File "/home/simonpj/code/HEAD-1/testsuite/driver/testlib.py", line 1638, in simple_run

    stderr=read_stderr(name),

  File "/home/simonpj/code/HEAD-1/testsuite/driver/testlib.py", line 1808, in read_stderr

    return in_testdir(name, 'run.stderr').read_text(encoding='UTF-8')

  File "/usr/lib/python3.6/pathlib.py", line 1196, in read_text

    with self.open(mode='r', encoding=encoding, errors=errors) as f:

  File "/usr/lib/python3.6/pathlib.py", line 1183, in open

    opener=self._opener)

  File "/usr/lib/python3.6/pathlib.py", line 1037, in _opener

    return self._accessor.open(self, flags, mode)

  File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped

    return strfunc(str(pathobj), *args)

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ghctest-31oxzmog/test   spaces/ghci/should_run/T13456.run/T13456.run.stderr'

] (ghci)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20200420/354fd409/attachment.html>


More information about the ghc-devs mailing list