<div dir="ltr">I tried few more options.<div><br></div><div>I tried switching my shell to bash and giving it a go.</div><div>This time I got some unusual configuration error.</div><div>The error came from /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPythonInterp.cmake.</div><div>Unfortunately the error message was in stderr, while I only captured stdout: <a href="https://gist.github.com/mgrebenets/bf3a54cb90141c17c715f5ddfddf6c04">https://gist.github.com/mgrebenets/bf3a54cb90141c17c715f5ddfddf6c04</a></div><div><br></div><div>So then I added CMake.app bin to the path</div><div>export PATH=/Applications/CMake.app/Contents/bin:PATH<br></div><div>and ran the build again.</div><div>This time it didn't fail with configuration error, but failed with "too many files open" and somehow still using cmake 3.9.2 from Homebrew installation:</div><div><a href="https://gist.github.com/mgrebenets/100cf995fbb9c5415a26e0968aa7ed58">https://gist.github.com/mgrebenets/100cf995fbb9c5415a26e0968aa7ed58</a><br></div><div><br></div><div>So finally, I decided to use CMake.app only:</div><div>brew unlink cmake<br></div><div>Run again, and same 3 tests fail on same i386 simulator: </div><div><a href="https://gist.github.com/mgrebenets/cf722b3e19894e7cbeeb3c4fa6d2511e">https://gist.github.com/mgrebenets/cf722b3e19894e7cbeeb3c4fa6d2511e</a><br></div><div><br></div><div>Regards,</div><div>Max</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 2:59 PM, Maksym Grebenets <span dir="ltr"><<a href="mailto:mgrebenets@gmail.com" target="_blank">mgrebenets@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I see.<div><br></div><div>I gave it another go: <a href="https://gist.github.com/mgrebenets/e2c981951586910c679df17d377c9e69" target="_blank">https://gist.github.com/<wbr>mgrebenets/<wbr>e2c981951586910c679df17d377c9e<wbr>69</a></div><div><br></div><div>Looking at the build logs, I can definitely see llvm source code being built.<br>I've looked up a bunch of llvm .cpp files in the build log, e.g. LLVMTargetMachine.cpp.</div><div>Unless I'm not looking in the right place.</div><div><br></div><div>Still same 3 failures in the end.</div><div><br></div><div>I have noticed that in certain places Jenkings builds are using /Applications/CMake.app, while on my machine it is <b style="color:rgb(69,69,69);font-family:"Helvetica Neue";font-size:12px">/usr/local/Cellar/cmake/3.<wbr>9.1/bin/cmake.</b></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">So I've tried to upgrade to 3.9.2 and run same test command manually - same failures. </span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Same for using CMake.app downloaded from <a href="http://cmake.org" target="_blank">cmake.org</a> (3.9.2) version.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><b><br></b></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">I've double checked python version that I have, it's 2.7.10, same as on Jenkins instances.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><br></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">I do have python3 installed in /usr/local/bin/python3, not sure if this could be related.<br><br></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Looking at the failing tests, it seems like all of them are related to encoding.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">The first one is related to Unicode 9 graphemes.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">For a string </span></font><span class="m_8825358364639058251gmail-s1" style="color:rgb(69,69,69)">"</span><span style="color:rgb(69,69,69);font-family:".Apple Color Emoji UI";font-size:12px">🇺🇸🇨🇦🇩🇰🏳️🌈</span><span class="m_8825358364639058251gmail-s1" style="color:rgb(69,69,69)">" the expected count is 4, while on my machine it's 5.</span></div><div><span class="m_8825358364639058251gmail-s1" style="color:rgb(69,69,69)">Other failures are in CodableTests.swift, but all of them report an error like:</span></div><div><span class="m_8825358364639058251gmail-s1" style="color:rgb(69,69,69)"><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre-wrap">Decoded URLComponents <//<a href="http://0.0.0.0" target="_blank">0.0.0.0</a>> not equal to original <//<a href="http://0.0.0.0" target="_blank">0.0.0.0</a>></div></span></div>
<div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">I can't really spot the difference, unless there's some invisible escape character...</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><b><br></b></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Last failing test is for NSValue bridging:</span></font></div><span class=""><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre-wrap"><div>stdout>>> check failed at /Users/grebenma/Projects/oss/<wbr>swift/swift/stdlib/private/<wbr>StdlibUnittestFoundationExtras<wbr>/<wbr>StdlibUnittestFoundationExtras<wbr>.swift, line 130</div><div>stdout>>> expected: <00000000 00003140 00000000 00004340> (of type NSConcreteValue)</div><div>stdout>>> actual: <00000000 00003140 00000000 00004340> (of type NSConcreteValue)</div></div></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><b><br></b></span></font></div></span><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">It appears that all failures are for iPhone Simulator i386.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">So it must be related to 32-bit platforms only.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><br></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">I don't have much ideas on what it could be.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Is it something set in my bash (zsh) profile?</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">E.g. something in the path, or some 3rd party tool installed.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Are there any hints in the log that may point me in the right direction?</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><br></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px">Thanks.</span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><br></span></font></div><div><font color="#454545" face="Helvetica Neue"><span style="font-size:12px"><br></span></font></div>
</div>
</blockquote></div><br></div>