<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ok. I am looking at this now on my side machine.<div class=""><br class=""></div><div class="">Sorry for the delay, I had to land code and then I had vacation = (.</div><div class=""><br class=""></div><div class="">Michael</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 20, 2017, at 10:05 PM, Michael Gottesman via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">FYI, I haven't forgotten you! I just need to land some code tonight ; ). I want to try to reproduce exactly what you are doing.</div><div class=""><br class=""></div><div class="">Michael</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On Sep 20, 2017, at 6:08 AM, Maksym Grebenets &lt;<a href="mailto:mgrebenets@gmail.com" class="">mgrebenets@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I tried few more options.<div class=""><br class=""></div><div class="">I tried switching my shell to bash and giving it a go.</div><div class="">This time I got some unusual configuration error.</div><div class="">The error came from&nbsp;/usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPythonInterp.cmake.</div><div class="">Unfortunately the error message was in stderr, while I only captured stdout:&nbsp;<a href="https://gist.github.com/mgrebenets/bf3a54cb90141c17c715f5ddfddf6c04" class="">https://gist.github.com/mgrebenets/bf3a54cb90141c17c715f5ddfddf6c04</a></div><div class=""><br class=""></div><div class="">So then I added CMake.app bin to the path</div><div class="">export PATH=/Applications/CMake.app/Contents/bin:PATH<br class=""></div><div class="">and ran the build again.</div><div class="">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 class=""><a href="https://gist.github.com/mgrebenets/100cf995fbb9c5415a26e0968aa7ed58" class="">https://gist.github.com/mgrebenets/100cf995fbb9c5415a26e0968aa7ed58</a><br class=""></div><div class=""><br class=""></div><div class="">So finally, I decided to use CMake.app only:</div><div class="">brew unlink cmake<br class=""></div><div class="">Run again, and same 3 tests fail on same i386 simulator:&nbsp;</div><div class=""><a href="https://gist.github.com/mgrebenets/cf722b3e19894e7cbeeb3c4fa6d2511e" class="">https://gist.github.com/mgrebenets/cf722b3e19894e7cbeeb3c4fa6d2511e</a><br class=""></div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Max</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Sep 20, 2017 at 2:59 PM, Maksym Grebenets <span dir="ltr" class="">&lt;<a href="mailto:mgrebenets@gmail.com" target="_blank" class="">mgrebenets@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I see.<div class=""><br class=""></div><div class="">I gave it another go:&nbsp;<a href="https://gist.github.com/mgrebenets/e2c981951586910c679df17d377c9e69" target="_blank" class="">https://gist.github.com/<wbr class="">mgrebenets/<wbr class="">e2c981951586910c679df17d377c9e<wbr class="">69</a></div><div class=""><br class=""></div><div class="">Looking at the build logs, I can definitely see llvm source code being built.<br class="">I've looked up a bunch of llvm .cpp files in the build log, e.g.&nbsp;LLVMTargetMachine.cpp.</div><div class="">Unless I'm not looking in the right place.</div><div class=""><br class=""></div><div class="">Still same 3 failures in the end.</div><div class=""><br class=""></div><div class="">I have noticed that in certain places Jenkings builds are using /Applications/CMake.app, while on my machine it is&nbsp;<b style="color:rgb(69,69,69);font-family:&quot;Helvetica Neue&quot;;font-size:12px" class="">/usr/local/Cellar/cmake/3.<wbr class="">9.1/bin/cmake.</b></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">So I've tried to upgrade&nbsp;to 3.9.2 and run same test command manually - same failures.&nbsp;</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Same for using CMake.app downloaded from <a href="http://cmake.org/" target="_blank" class="">cmake.org</a> (3.9.2) version.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><b class=""><br class=""></b></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">I've double checked python version that I have, it's 2.7.10, same as on Jenkins instances.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><br class=""></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">I do have python3 installed in&nbsp;/usr/local/bin/python3, not sure if this could be related.<br class=""><br class=""></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Looking at the failing tests, it seems like all of them are related to encoding.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">The first one is related to Unicode 9 graphemes.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">For a string&nbsp;</span></font><span class="m_8825358364639058251gmail-s1" style="color:rgb(69,69,69)">"</span><span style="color:rgb(69,69,69);font-family:&quot;.Apple Color Emoji UI&quot;;font-size:12px" class="">πŸ‡ΊπŸ‡ΈπŸ‡¨πŸ‡¦πŸ‡©πŸ‡°πŸ³οΈβ€πŸŒˆ</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 class=""><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 class=""><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,&quot;Courier New&quot;,monospace;font-size:12px;line-height:18px;white-space:pre-wrap" class="">Decoded URLComponents &lt;//<a href="http://0.0.0.0/" target="_blank" class="">0.0.0.0</a>&gt; not equal to original &lt;//<a href="http://0.0.0.0/" target="_blank" class="">0.0.0.0</a>&gt;</div></span></div>







<div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">I can't really spot the difference, unless there's some invisible escape character...</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><b class=""><br class=""></b></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Last failing test is for NSValue bridging:</span></font></div><span class=""><div class=""><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,&quot;Courier New&quot;,monospace;font-size:12px;line-height:18px;white-space:pre-wrap" class=""><div class="">stdout&gt;&gt;&gt; check failed at /Users/grebenma/Projects/oss/<wbr class="">swift/swift/stdlib/private/<wbr class="">StdlibUnittestFoundationExtras<wbr class="">/<wbr class="">StdlibUnittestFoundationExtras<wbr class="">.swift, line 130</div><div class="">stdout&gt;&gt;&gt; expected: &lt;00000000 00003140 00000000 00004340&gt; (of type NSConcreteValue)</div><div class="">stdout&gt;&gt;&gt; actual: &lt;00000000 00003140 00000000 00004340&gt; (of type NSConcreteValue)</div></div></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><b class=""><br class=""></b></span></font></div></span><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">It appears that all failures are for iPhone Simulator i386.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">So it must be related to 32-bit platforms only.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><br class=""></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">I don't have much ideas on what it could be.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Is it something set in my bash (zsh) profile?</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">E.g. something in the path, or some 3rd party tool installed.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Are there any hints in the log that may point me in the right direction?</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><br class=""></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class="">Thanks.</span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><br class=""></span></font></div><div class=""><font color="#454545" face="Helvetica Neue" class=""><span style="font-size:12px" class=""><br class=""></span></font></div>







</div>
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div>_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></div></body></html>