<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
mso-style-link:"Code Char";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Courier New";}
span.CodeChar
{mso-style-name:"Code Char";
mso-style-link:Code;
font-family:"Courier New";}
p.m1038731655912591952code, li.m1038731655912591952code, div.m1038731655912591952code
{mso-style-name:m_1038731655912591952code;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.m1038731655912591952m-1763880775547741805code, li.m1038731655912591952m-1763880775547741805code, div.m1038731655912591952m-1763880775547741805code
{mso-style-name:m_1038731655912591952m-1763880775547741805code;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:337537303;
mso-list-type:hybrid;
mso-list-template-ids:-270236146 134807553 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1944459280;
mso-list-template-ids:-919697922;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2
{mso-list-id:2120560936;
mso-list-template-ids:458937076;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level2
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Tamar<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">OK, the first thing I tried was this<o:p></o:p></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">cd testsuite/tests/plugins<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">make<o:p></o:p></span></li></ul>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Note no “-j”, so this is single threaded.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Output is below. Yes, fewer failures, so it does seem that many of the failures I see in a generic test suite run are to do with concurrency. So that’s Bug #1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">But even if Bug #1 was solved, I seem to get three failures that happen even in the absence of concurrent testing. This is Bug #2 (or maybe 2,3,4).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Happy to run more commands!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">.../tests/plugins$ make<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">PYTHON="python3" "python3" ../../driver/runtests.py -e "ghc_compiler_always_flags='-dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
-fno-diagnostics-show-caret -dno-debug-output'" -e config.compiler_debugged=False -e ghc_with_native_codegen=1 -e config.have_vanilla=True -e config.have_dynamic=False -e config.have_profiling=False -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=0 -e config.have_interp=True
-e config.unregisterised=False -e config.have_gdb=False -e config.have_readelf=True -e config.ghc_dynamic_by_default=False -e config.ghc_dynamic=False -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=True -e darwin=False -e config.in_tree_compiler=True -e config.cleanup=True
-e config.local=True --rootdir=. --config-file=../../config/ghc -e 'config.confdir="../../config"' -e 'config.platform="x86_64-unknown-mingw32"' -e 'config.os="mingw32"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout'
-e 'config.exeext=".exe"' -e 'config.top="/c/code/HEAD/testsuite"' --config 'compiler="/c/code/HEAD/inplace/bin/ghc-stage2.exe"' --config 'ghc_pkg="/c/code/HEAD/inplace/bin/ghc-pkg.exe"' --config 'haddock=' --config 'hp2ps="/c/code/HEAD/inplace/bin/hp2ps.exe"'
--config 'hpc="/c/code/HEAD/inplace/bin/hpc.exe"' --config 'gs="gs"' --config 'timeout_prog="../../timeout/install-inplace/bin/timeout.exe"' -e "config.stage=2" \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> \<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> <o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Timeout is 300<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Found 1 .T files...<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Beginning test run at Mon Jun 18 11:24:57 2018 GMTST<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">--- ./plugins09.run/plugins09.stdout.normalised 2018-06-18 11:27:47.971987800 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">+++ ./plugins09.run/plugins09.run.stdout.normalised 2018-06-18 11:27:47.972177400 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">@@ -1,9 +0,0 @@<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-parsePlugin(a,b)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: Prelude<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Float<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Base<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Types<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-typeCheckPlugin (rn)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-typeCheckPlugin (tc)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Integer.Type<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Natural<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">--- ./plugins11.run/plugins11.stdout.normalised 2018-06-18 11:28:40.307222400 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">+++ ./plugins11.run/plugins11.run.stdout.normalised 2018-06-18 11:28:40.307675400 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">@@ -1,9 +0,0 @@<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-parsePlugin()<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: Prelude<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Float<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Base<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Types<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-typeCheckPlugin (rn)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-typeCheckPlugin (tc)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Integer.Type<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-interfacePlugin: GHC.Natural<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">--- ./T11244.run/T11244.stderr.normalised 2018-06-18 11:32:21.142334600 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">+++ ./T11244.run/T11244.run.stderr.normalised 2018-06-18 11:32:21.145148100 +0100<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">@@ -1,4 +1,4 @@<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">-<command line>: Could not load module ‘RuleDefiningPlugin’<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">+<command line>: Could not find module ‘RuleDefiningPlugin’<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">It is a member of the hidden package ‘rule-defining-plugin-0.1’.<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">You can run ‘:set -package rule-defining-plugin’ to expose it.<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">(Note: this unloads all the modules in the current scope.)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">====> Scanning ./all.T<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins01(normal) 1 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins01.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins01 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins01.run" && $MAKE -s --no-print-directory plugins01
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins02(normal) 2 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins02.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins02 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins02.run" && "/c/code/HEAD/inplace/bin/ghc-stage2.exe" -c plugins02.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
-fno-diagnostics-show-caret -dno-debug-output -package-db simple-plugin/pkg.plugins02/local.package.conf -fplugin Simple.BadlyTypedPlugin -package simple-plugin -static<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins03(normal) 3 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins03.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins03 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins03.run" && "/c/code/HEAD/inplace/bin/ghc-stage2.exe" -c plugins03.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
-fno-diagnostics-show-caret -dno-debug-output -package-db simple-plugin/pkg.plugins03/local.package.conf -fplugin Simple.NonExistentPlugin -package simple-plugin<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins04(normal) 4 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins04.run" && "/c/code/HEAD/inplace/bin/ghc-stage2.exe" --make plugins04 -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
-fno-diagnostics-show-caret -dno-debug-output -package ghc -fplugin HomePackagePlugin<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins05(normal) 5 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins05.run" && "/c/code/HEAD/inplace/bin/ghc-stage2.exe" --make -o plugins05 plugins05 -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups
-fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -package ghc<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins05.run" && ./plugins05
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins07(normal) 7 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins07.run" && $MAKE -s --no-print-directory -C rule-defining-plugin package.plugins07 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins07.run" && $MAKE -s --no-print-directory plugins07
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins08(normal) 8 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins08.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins08 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins08.run" && $MAKE -s --no-print-directory plugins08
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins09(normal) 9 of 25 [0, 0, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins09.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins09 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins09.run" && $MAKE -s --no-print-directory plugins09
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Actual stdout output differs from expected:<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">diff -uw "./plugins09.run/plugins09.stdout.normalised" "./plugins09.run/plugins09.run.stdout.normalised"<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">*** unexpected failure for plugins09(normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins10(normal) 10 of 25 [0, 1, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins10.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins10 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins10.run" && $MAKE -s --no-print-directory plugins10
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins11(normal) 11 of 25 [0, 1, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins11.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins11 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins11.run" && $MAKE -s --no-print-directory plugins11
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Actual stdout output differs from expected:<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">diff -uw "./plugins11.run/plugins11.stdout.normalised" "./plugins11.run/plugins11.run.stdout.normalised"<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">*** unexpected failure for plugins11(normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins12(normal) 12 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins12.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins12 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins12.run" && $MAKE -s --no-print-directory plugins12
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins13(normal) 13 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins13.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins13 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins13.run" && $MAKE -s --no-print-directory plugins13
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins14(normal) 14 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins14.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins14 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins14.run" && $MAKE -s --no-print-directory plugins14
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugins15(normal) 15 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins15.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins15 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugins15.run" && $MAKE -s --no-print-directory plugins15
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T10420(normal) 16 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10420.run" && $MAKE -s --no-print-directory -C rule-defining-plugin package.T10420 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10420.run" && $MAKE -s --no-print-directory T10420
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T10294(normal) 17 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10294.run" && $MAKE -s --no-print-directory -C annotation-plugin package.T10294 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10294.run" && $MAKE -s --no-print-directory T10294
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T10294a(normal) 18 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10294a.run" && $MAKE -s --no-print-directory -C annotation-plugin package.T10294a TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T10294a.run" && $MAKE -s --no-print-directory T10294a
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> frontend01(normal) 19 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./frontend01.run" && $MAKE -s --no-print-directory frontend01
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T11244(normal) 20 of 25 [0, 2, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T11244.run" && $MAKE -s --no-print-directory -C rule-defining-plugin package.T11244 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T11244.run" && $MAKE -s --no-print-directory T11244
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Actual stderr output differs from expected:<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">diff -uw "./T11244.run/T11244.stderr.normalised" "./T11244.run/T11244.run.stderr.normalised"<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">*** unexpected failure for T11244(normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T12567a(normal) 21 of 25 [0, 3, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T12567a.run" && $MAKE -s --no-print-directory -C simple-plugin package.T12567a TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T12567a.run" && $MAKE -s --no-print-directory T12567a
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> T14335(normal) 22 of 25 [0, 3, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T14335.run" && $MAKE -s --no-print-directory -C simple-plugin package.plugins01 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./T14335.run" && "/c/code/HEAD/inplace/bin/ghc-stage2.exe" -c T14335.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
-fno-diagnostics-show-caret -dno-debug-output -package-db simple-plugin/pkg.plugins01/local.package.conf -fplugin Simple.Plugin -fexternal-interpreter -package simple-plugin -static<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugin-recomp-pure(normal) 23 of 25 [0, 3, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-pure.run" && $MAKE -s --no-print-directory -C plugin-recomp package.plugins01 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-pure.run" && $MAKE -s --no-print-directory plugin-recomp-pure
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugin-recomp-impure(normal) 24 of 25 [0, 3, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-impure.run" && $MAKE -s --no-print-directory -C plugin-recomp package.plugins01 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-impure.run" && $MAKE -s --no-print-directory plugin-recomp-impure
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">=====> plugin-recomp-flags(normal) 25 of 25 [0, 3, 0]<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-flags.run" && $MAKE -s --no-print-directory -C plugin-recomp package.plugins01 TOP=/c/code/HEAD/testsuite<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">cd "./plugin-recomp-flags.run" && $MAKE -s --no-print-directory plugin-recomp-flags
<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Unexpected results from:<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">TEST="T11244 plugins09 plugins11"<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">SUMMARY for test run started at Mon Jun 18 11:24:57 2018 GMTST<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">0:11:18 spent to go through<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 25 total tests, which gave rise to<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 35 test cases, of which<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 11 were skipped<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 0 had missing libraries<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 19 expected passes<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 2 expected failures<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 0 caused framework failures<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 0 caused framework warnings<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 0 unexpected passes<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 3 unexpected failures<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> 0 unexpected stat failures<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">Unexpected failures:<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> plugins09.run plugins09 [bad stdout] (normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> plugins11.run plugins11 [bad stdout] (normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"> T11244.run T11244 [bad stderr] (normal)<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">make: *** [../../mk/test.mk:329: test] Error 1<o:p></o:p></span></b></p>
<p class="Code"><b><span style="mso-fareast-language:EN-US">.../tests/plugins$<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Phyx <lonetiger@gmail.com>
<br>
<b>Sent:</b> 13 June 2018 20:47<br>
<b>To:</b> Simon Peyton Jones <simonpj@microsoft.com><br>
<b>Cc:</b> ghc-devs@haskell.org<br>
<b>Subject:</b> Re: Strace<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Simon,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">On Wed, Jun 13, 2018 at 5:24 PM, Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">OK – so maybe the root cause is a framework failure – and indeed for the last few weeks I’ve seen<o:p></o:p></p>
<p class="m1038731655912591952code">Framework failures:<o:p></o:p></p>
<p class="m1038731655912591952code"> plugins/plugins07.run plugins07 [normal] (pre_cmd failed: 2)<o:p></o:p></p>
<p class="m1038731655912591952code"> plugins/T10420.run T10420 [normal] (pre_cmd failed: 2)<o:p></o:p></p>
<p class="m1038731655912591952code"> plugins/T11244.run T11244 [normal] (pre_cmd failed: 2)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have just learned to live with these failures, because I knew you were working on making things better. But it sounds as if they are still taking place.<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The commit I made should have reduced the amount of failing tests to 0. framework failures are always quite unusual.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">So:<o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo1">
Yes, please make it not happen by default<o:p></o:p></li></ul>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal">I've removed the code, if you update it should be gone. It was there and on by default because I was trying to debug failures on Harbormaster, I<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">realized a switch isn't very useful as I won't be able to toggle it for Harbormaster anyway.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<o:p> </o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
If you don’t get these framework failures, can we work together to resolve them?<o:p></o:p></li></ul>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal">These don't happen for me nor on Harbormaster, try picking a test, e.g T10420
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">run only that test to make sure it's not a threading issue:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">make TEST=T10420 test -C testsuite/tests <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If it still gives a framework error then do at the top level<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">make VERBOSE=3 TEST=T10420 test -C testsuite/tests<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">once it runs, the output should contain the command it ran as a pre_cmd, and the stdout and<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">stderr from the pre_cmd output. Could you then send the error?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">if it doesn't show any of this, try<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">make CLEANP=0 VERBOSE=3 TEST= T10420 test -C testsuite/tests --trace
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">and copy and paste the pre_cmd command, which should just replay the action it did.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Tamar<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Simon<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Phyx <<a href="mailto:lonetiger@gmail.com" target="_blank">lonetiger@gmail.com</a>>
<br>
<b>Sent:</b> 13 June 2018 17:19<br>
<b>To:</b> Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>><br>
<b>Cc:</b> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<b>Subject:</b> Re: Strace</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi Simon, <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The strace is only supposed to run when the normal test pre_cmd fails.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">If it's running that often it means your tests are all failing during pre_cmd with a framework failure <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://git.haskell.org/ghc.git/blobdiff/4778cba1dbb6adf495930322d7f9e9db0af60d8f..60fb2b2160aa16194b74262f4df8fad5af171b0f:/testsuite/driver/testlib.py" target="_blank">https://git.haskell.org/ghc.git/blobdiff/4778cba1dbb6adf495930322d7f9e9db0af60d8f..60fb2b2160aa16194b74262f4df8fad5af171b0f:/testsuite/driver/testlib.py</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But maybe I shouldn't turn this on my default. I'll pramaterize it when I get home. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Tamar. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Wed, Jun 13, 2018, 17:09 Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Tamar<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m getting
<b>megabytes</b> of output from ‘sh validate’ on windows. It looks like this<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 629 151745 [main] sh 2880 fhandler_base::fhaccess: returning 0<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 291 152036 [main] sh 2880 faccessat: returning 0<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">7757 159793 [main] sh 2880 fhandler_base_overlapped::wait_overlapped: wfres 0, wores 1, bytes 7<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">179457 1608947 [main] make 11484 fhandler_base_overlapped::wait_overlapped: wfres 0, wores 1, bytes 7<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 99 159892 [main] sh 2880 fhandler_base_overlapped::wait_overlapped: normal write, 7 bytes ispipe() 1<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 180 1609127 [main] make 11484 fhandler_base_overlapped::wait_overlapped: normal read, 7 bytes ispipe() 1<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 139 160031 [main] sh 2880 write: 7 = write(1, 0x6000396A0, 7)<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 142 1609269 [main] make 11484 fhandler_base::read: returning 7, binary mode<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 139 1609408 [main] make 11484 read: 7 = read(5, 0x60005B4B0, 7)<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> 136 1609544 [main] make 11484 read: read(5, 0x60005B4B7, 193) blocking<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">4693 164724 [main] sh 2880 set_signal_mask: setmask 0, newmask 80000, mask_bits 0<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">but with hundreds of thousands of lines. (I have not counted)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I believe that it may be the result of this line, earlier in the log<o:p></o:p></p>
<p class="m1038731655912591952m-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#<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Note the strace.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">That in turn was added in your commit<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">commit 60fb2b2160aa16194b74262f4df8fad5af171b0f<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">Author: Tamar Christina <<a href="mailto:tamar@zhox.com" target="_blank">tamar@zhox.com</a>><o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code">Date: Mon May 28 19:34:11 2018 +0100<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> <o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> Clean up Windows testsuite failures<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> <o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> Summary:<o:p></o:p></p>
<p class="m1038731655912591952m-1763880775547741805code"> Another round and attempt at getting these down to 0.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Could you perhaps have made a mistake here? Currently validate is unusable.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks!<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Simon<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>