<div dir="ltr">This might be related this change rL319620.<div><br></div><div>While the first build with this change seems to build fine, all the ones after it fail to re-run the clean-build-dir and cmake-configure steps. </div><div><br></div><div>  <a href="http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6535">http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6535</a></div><div><br></div><div>There have been a couple of tweaks to it, but basically this change defers creating the NATIVE subdir and running cmake until needed (it was always getting called twice -- once at config time and again at build time).</div><div><br></div><div>I don't have windows, so I have no way to test this.</div><div><br></div><div>hth...</div><div>don</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 12:53 PM, Daniel Sanders via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I've been having the same problem for a while on the GlobalISel work. We didn't get to the bottom of it, but it seems likely that the CMake Generator this bot uses forgets to create a dependency.<br><div><br><blockquote type="cite"><div><div class="h5"><div>On 6 Dec 2017, at 09:40, Oliver Stannard via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="m_-4510940893785226194Apple-interchange-newline"></div></div><div><div><div class="h5"><div class="m_-4510940893785226194WordSection1" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I’ve had another look, and some of the failing tests don’t use temporary files, so I don’t think this is a case of tests having side-effects.<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Instead, I’ve noticed that in the build log (<a href="http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6552/steps/build-unified-tree/logs/stdio" style="color:purple;text-decoration:underline" target="_blank">http://lab.llvm.org:8011/<wbr>builders/llvm-clang-x86_64-<wbr>expensive-checks-win/builds/<wbr>6552/steps/build-unified-tree/<wbr>logs/stdio</a>), llvm-tblgen.exe is built (my patch modified it), but the table-generation steps of the main build (importantly, ARMGenAsmMatcher.inc) do not appear to be running. I think this would explain the FileCheck output from those failing tests.<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Could there be a buildbot misconfiguration which is preventing the newly-built llvm-tblgen from being used?<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Oliver<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></div><div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0cm 0cm 0cm 4pt"><div><div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0cm 0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"><span class="m_-4510940893785226194Apple-converted-space"> </span>Galina Kistanova [<a href="mailto:gkistanova@gmail.com" style="color:purple;text-decoration:underline" target="_blank">mailto:gkistanova@gmail.com</a>]<span class="m_-4510940893785226194Apple-converted-space"> </span><br><b>Sent:</b><span class="m_-4510940893785226194Apple-converted-space"> </span>04 December 2017 22:30<br><b>To:</b><span class="m_-4510940893785226194Apple-converted-space"> </span>Oliver Stannard<br><b>Cc:</b><span class="m_-4510940893785226194Apple-converted-space"> </span>Sander De Smalen; nd<br><b>Subject:</b><span class="m_-4510940893785226194Apple-converted-space"> </span>Re: buildbot failure in LLVM on llvm-clang-x86_64-expensive-<wbr>checks-win<u></u><u></u></span></div></div></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">Hi <span style="font-size:9.5pt">Oliver,</span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">I have requested a clean build of that exact revision and all the tests passes.<u></u><u></u></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><a href="http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6561" style="color:purple;text-decoration:underline" target="_blank">http://lab.llvm.org:8011/<wbr>builders/llvm-clang-x86_64-<wbr>expensive-checks-win/builds/<wbr>6561</a><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">This is kind of bad, as it seems some tests have side effects.<u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">Thanks<u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">Galina<u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">On Mon, Dec 4, 2017 at 5:47 AM, Oliver Stannard <<a href="mailto:Oliver.Stannard@arm.com" style="color:purple;text-decoration:underline" target="_blank">Oliver.Stannard@arm.com</a>> wrote:<u></u><u></u></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif">Hi Galina,<br><br>This buildbot failure looks related to my patch (blamelist of 1, the failing tests are ones I modified), but it's not clear what is wrong from the lit output, and I haven't been able to reproduce this locally. Would it be possible for you to send me the output of one of the failing llvm-mc commands on that bot?<br><br>Sander also hit a similar problem with the same bot in<span class="m_-4510940893785226194Apple-converted-space"> </span><a href="https://reviews.llvm.org/D40011" style="color:purple;text-decoration:underline" target="_blank">https://reviews.llvm.org/<wbr>D40011</a>.<br><br>Thanks,<br>Oliver<u></u><u></u></div><div><div><p class="MsoNormal" style="margin:0cm 0cm 12pt;font-size:12pt;font-family:"Times New Roman",serif"><br>> -----Original Message-----<br>> From:<span class="m_-4510940893785226194Apple-converted-space"> </span><a href="mailto:llvm.buildmaster@lab.llvm.org" style="color:purple;text-decoration:underline" target="_blank">llvm.buildmaster@lab.<wbr>llvm.org</a><br>> [mailto:<a href="mailto:llvm.buildmaster@lab.llvm.org" style="color:purple;text-decoration:underline" target="_blank">llvm.buildmaster@lab.<wbr>llvm.org</a>]<br>> Sent: 04 December 2017 12:51<br>> To: Oliver Stannard<br>> Cc:<span class="m_-4510940893785226194Apple-converted-space"> </span><a href="mailto:gkistanova@gmail.com" style="color:purple;text-decoration:underline" target="_blank">gkistanova@gmail.com</a><br>> Subject: buildbot failure in LLVM on llvm-clang-x86_64-expensive-<wbr>checks-<br>> win<br>><br>> The Buildbot has detected a new failure on builder llvm-clang-x86_64-<br>> expensive-checks-win while building llvm.<br>> Full details are available at:<br>> <span class="m_-4510940893785226194Apple-converted-space"> </span><a href="http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-" style="color:purple;text-decoration:underline" target="_blank">http://lab.llvm.org:8011/<wbr>builders/llvm-clang-x86_64-<wbr>expensive-checks-</a><br>> win/builds/6552<br>><br>> Buildbot URL:<span class="m_-4510940893785226194Apple-converted-space"> </span><a href="http://lab.llvm.org:8011/" style="color:purple;text-decoration:underline" target="_blank">http://lab.llvm.org:8011/</a><br>><br>> Buildslave for this Build: ps4-buildslave2<br>><br>> Build Reason: scheduler<br>> Build Source Stamp: [branch trunk] 319649<br>> Blamelist: olista01<br>><br>> BUILD FAILED: failed test-check-all<br>><br>> sincerely,<br>>  -The Buildbot<br>><br>><u></u><u></u></p></div></div></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><u></u> <u></u></div></div></div></div></div></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">______________________________<wbr>_________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">LLVM Developers mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:llvm-dev@lists.llvm.org" style="color:purple;text-decoration:underline;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">llvm-dev@lists.llvm.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" style="color:purple;text-decoration:underline;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a></div></blockquote></div><br></div><br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>