Hi Simon, <div><br></div><div>The strace is only supposed to run when the normal test pre_cmd fails.</div><div>If it's running that often it means your tests are all failing during pre_cmd with a framework failure </div><div><a href="https://git.haskell.org/ghc.git/blobdiff/4778cba1dbb6adf495930322d7f9e9db0af60d8f..60fb2b2160aa16194b74262f4df8fad5af171b0f:/testsuite/driver/testlib.py">https://git.haskell.org/ghc.git/blobdiff/4778cba1dbb6adf495930322d7f9e9db0af60d8f..60fb2b2160aa16194b74262f4df8fad5af171b0f:/testsuite/driver/testlib.py</a><br></div><div><br></div><div>But maybe I shouldn't turn this on my default. I'll pramaterize it when I get home. </div><div><br></div><div>Tamar. </div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 13, 2018, 17:09 Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com">simonpj@microsoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="m_-1763880775547741805WordSection1">
<p class="MsoNormal">Tamar<u></u><u></u></p>
<p class="MsoNormal">I’m getting <b>megabytes</b> of output from ‘sh validate’ on windows. It looks like this<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 629 151745 [main] sh 2880 fhandler_base::fhaccess: returning 0<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 291 152036 [main] sh 2880 faccessat: returning 0<u></u><u></u></p>
<p class="m_-1763880775547741805Code">7757 159793 [main] sh 2880 fhandler_base_overlapped::wait_overlapped: wfres 0, wores 1, bytes 7<u></u><u></u></p>
<p class="m_-1763880775547741805Code">179457 1608947 [main] make 11484 fhandler_base_overlapped::wait_overlapped: wfres 0, wores 1, bytes 7<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 99 159892 [main] sh 2880 fhandler_base_overlapped::wait_overlapped: normal write, 7 bytes ispipe() 1<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 180 1609127 [main] make 11484 fhandler_base_overlapped::wait_overlapped: normal read, 7 bytes ispipe() 1<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 139 160031 [main] sh 2880 write: 7 = write(1, 0x6000396A0, 7)<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 142 1609269 [main] make 11484 fhandler_base::read: returning 7, binary mode<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 139 1609408 [main] make 11484 read: 7 = read(5, 0x60005B4B0, 7)<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> 136 1609544 [main] make 11484 read: read(5, 0x60005B4B7, 193) blocking<u></u><u></u></p>
<p class="m_-1763880775547741805Code">4693 164724 [main] sh 2880 set_signal_mask: setmask 0, newmask 80000, mask_bits 0<u></u><u></u></p>
<p class="MsoNormal">but with hundreds of thousands of lines. (I have not counted)<u></u><u></u></p>
<p class="MsoNormal">I believe that it may be the result of this line, earlier in the log<u></u><u></u></p>
<p class="m_-1763880775547741805Code">cd "/c/Users/simonpj/AppData/Local/Temp/ghctest-8fa9s6rk/test spaces/./plugins/plugins07.run" &&
<b><span style="color:red">strace</span></b><span style="color:red"> </span>$MAKE -s --no-print-directory -C rule-defining-plugin package.plugins07 TOP=/c/code/HEAD/testsuite#<u></u><u></u></p>
<p class="MsoNormal">Note the strace.<u></u><u></u></p>
<p class="MsoNormal">That in turn was added in your commit<u></u><u></u></p>
<p class="m_-1763880775547741805Code">commit 60fb2b2160aa16194b74262f4df8fad5af171b0f<u></u><u></u></p>
<p class="m_-1763880775547741805Code">Author: Tamar Christina <<a href="mailto:tamar@zhox.com" target="_blank">tamar@zhox.com</a>><u></u><u></u></p>
<p class="m_-1763880775547741805Code">Date: Mon May 28 19:34:11 2018 +0100<u></u><u></u></p>
<p class="m_-1763880775547741805Code"><u></u> <u></u></p>
<p class="m_-1763880775547741805Code"> Clean up Windows testsuite failures<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> <u></u><u></u></p>
<p class="m_-1763880775547741805Code"> Summary:<u></u><u></u></p>
<p class="m_-1763880775547741805Code"> Another round and attempt at getting these down to 0.<u></u><u></u></p>
<p class="MsoNormal">Could you perhaps have made a mistake here? Currently validate is unusable.<u></u><u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p></div></div><div lang="EN-GB" link="#0563C1" vlink="#954F72"><div class="m_-1763880775547741805WordSection1">
<p class="MsoNormal">Simon<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></blockquote></div></div>