<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The first build where a test fails with similar symptoms has just one blamelist entry:<div class=""><br class=""></div><div class=""><a href="http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40391/" class="">http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40391/</a></div><div class=""><br class=""></div><div class=""><ol style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 13px;" class=""><li style="box-sizing: border-box;" class="">Update test_debuginfo.pl script to point to new tree location. (<a href="http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40391/changes#detail0" style="box-sizing: border-box; color: rgb(92, 53, 102);" class="">detail</a><j:text xmlns:j="jelly:core" style="box-sizing: border-box;" class="">/</j:text><a href="http://llvm.org/viewvc/llvm-project/?view=rev&rev=317949" style="box-sizing: border-box; color: rgb(92, 53, 102);" class="">ViewSVN</a><j:text xmlns:j="jelly:core" style="box-sizing: border-box;" class="">)</j:text><br style="box-sizing: border-box;" class="">by <a href="http://green.lab.llvm.org/green/user/zturner/" style="box-sizing: border-box; color: rgb(92, 53, 102);" class="">zturner</a></li></ol><div class="">-- adrian</div><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 13, 2017, at 3:21 PM, Zachary Turner <<a href="mailto:zturner@google.com" class="">zturner@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On the other hand this file hasn't changed recently, but I have no way to test this as it uses the LLDB code path, which only runs on OSX.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Nov 13, 2017 at 3:19 PM Zachary Turner <<a href="mailto:zturner@google.com" class="">zturner@google.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I might be missing something, but this doesn't look like me?<div class=""><br class=""></div><div class=""><a href="http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40478/consoleFull#-42777206a1ca8a51-895e-46c6-af87-ce24fa4cd561" target="_blank" class="">http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40478/consoleFull#-42777206a1ca8a51-895e-46c6-af87-ce24fa4cd561</a><br class=""></div><div class=""><br class=""></div><div class=""><span style="color:rgb(51,51,51);font-family:monospace;font-size:14px;white-space:pre-wrap" class="">PASS: debuginfo-tests :: dbg-arg.c (34886 of 40729)
PASS: debuginfo-tests :: ctor.cpp (34887 of 40729)
PASS: debuginfo-tests :: ctor.cpp (34888 of 40729)
PASS: debuginfo-tests :: aggregate-indirect-arg.cpp (34889 of 40729)
PASS: debuginfo-tests :: aggregate-indirect-arg.cpp (34890 of 40729)
PASS: debuginfo-tests :: dbg-arg.c (34891 of 40729)
PASS: debuginfo-tests :: asan.c (34892 of 40729)
PASS: debuginfo-tests :: asan.c (34893 of 40729)
PASS: debuginfo-tests :: asan-blocks.c (34894 of 40729)
PASS: debuginfo-tests :: asan-blocks.c (34895 of 40729)
PASS: debuginfo-tests :: nested-struct.cpp (34896 of 40729)
PASS: debuginfo-tests :: nested-struct.cpp (34897 of 40729)
PASS: debuginfo-tests :: forward-declare-class.cpp (34898 of 40729)
PASS: debuginfo-tests :: forward-declare-class.cpp (34899 of 40729)
FAIL: debuginfo-tests :: foreach.m (34900 of 40729)
</span><a id="m_-958323202978709198inbox-inbox-5456513578254eaf0-7326-4999-85b0-388101f2d404" style="box-sizing:border-box;word-wrap:break-word;color:rgb(51,51,51);font-family:monospace;font-size:14px;white-space:pre-wrap;display:block" class=""></a><span title="Regression test failed" style="box-sizing:border-box;font-family:monospace;font-size:14px;white-space:pre-wrap;color:white;background:red" class="">******************** TEST 'debuginfo-tests :: foreach.m' FAILED ********************
</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:14px;white-space:pre-wrap" class="">Script:
--
/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/bin/clang --target=x86_64-apple-darwin15.6.0 -O0 -g /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/tests/foreach.m -c -o /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.o
/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/bin/clang --target=x86_64-apple-darwin15.6.0 /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.o -o /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.out -framework Foundation
/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/<a href="http://test_debuginfo.pl/" target="_blank" class="">test_debuginfo.pl</a> /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/tests/foreach.m /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.out
--
Exit Code: 1
Command Output (stdout):
--
Debugger output was:
imported lldb from: "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python"
error: foreach.m.tmp.out debug map object file '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.o' has changed (actual time is 0x5a0a2528, debug map time is 0x5a0a2526) since this executable was linked, file will be ignored
> break 25
SBBreakpoint: id = 1, file = '', line = 25, exact_match = 0, locations = 0
> r
success
> po thing
= <could not resolve type>
> quit
--
Command Output (stderr):
--
</span><a id="m_-958323202978709198inbox-inbox--197516666349ba4694-19c4-4d7e-bec5-911270d8a58c" style="box-sizing:border-box;word-wrap:break-word;color:rgb(51,51,51);font-family:monospace;font-size:14px;white-space:pre-wrap;display:block" class=""></a><span title="Compile Error" style="box-sizing:border-box;font-family:monospace;font-size:14px;white-space:pre-wrap;color:white;background:red" class="">/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/tests/foreach.m:11:11: error: expected string not found in input
</span><span style="color:rgb(51,51,51);font-family:monospace;font-size:14px;white-space:pre-wrap" class="">// CHECK: aaa
^
/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.gdb.output:1:1: note: scanning from here
imported lldb from: "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python"
^
/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.gdb.output:2:211: note: possible intended match here
error: foreach.m.tmp.out debug map object file '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/tools/clang/test/debuginfo-tests/Output/foreach.m.tmp.o' has changed (actual time is 0x5a0a2528, debug map time is 0x5a0a2526) since this executable was linked, file will be ignored
</span><br class="m_-958323202978709198inbox-inbox-Apple-interchange-newline"></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Nov 13, 2017 at 3:17 PM Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank" class="">aprantl@apple.com</a>> wrote:<br class=""></div><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" class="">It looks like the bots are still red?<div class=""><br class=""></div><div class=""></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">— Adrian</div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Nov 10, 2017, at 3:14 PM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:</div><br class="m_-958323202978709198m_-661813389462213929Apple-interchange-newline"><div class=""><div dir="ltr" class="">Wasn't quite fixed, but it got a lot further this time. This time there was still an issue in the <a href="http://test_debuginfo.pl/" target="_blank" class="">test_debuginfo.pl</a> script regarding a hardcoded path to the llgdb.py script. I think I never encountered this locally because this codepath only happens on Darwin, and I was testing on Linux.<div class=""><br class=""></div><div class="">(As an aside, ugh... Perl...)<br class=""><div class=""><br class=""></div><div class="">Regardless, this should be fixed in r317949, and hopefully that's the last of the issues. I have to run for a couple of hours, but I can check on this again in a bit. But I strongly suspect it will be fixed now.</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Nov 10, 2017 at 2:51 PM Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank" class="">aprantl@apple.com</a>> wrote:<br class=""></div><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" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Nov 10, 2017, at 2:50 PM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:</div><br class="m_-958323202978709198m_-661813389462213929m_-3369623590772065173Apple-interchange-newline"><div class="">I checked in a fix for that already, sorry for the trouble. I’m waiting for it to cycle <br class=""></div></blockquote><div class=""><br class=""></div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">awesome. Thanks!</div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""></div><div class="">-- adrian</div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Nov 10, 2017 at 2:49 PM Adrian Prantl <<a href="mailto:aprantl@apple.com" target="_blank" class="">aprantl@apple.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It looks like this broke green dragon:<br class="">
<br class="">
<a href="http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40383/console" rel="noreferrer" target="_blank" class="">http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/40383/console</a><br class="">
<br class="">
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/projects/libcxx/utils/libcxx/test/config.py:173: note: Adding environment variables: {'DYLD_LIBRARY_PATH': '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/./lib', 'LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT': '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/projects/libcxx/test/filesystem/Output/dynamic_env'}<br class="">
<br class="">
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/llvm/config.py:332: note: using clang: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/clang-build/bin/clang<br class="">
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/util.py:379: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'<br class="">
<br class="">
llvm-lit: /Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/<a href="http://lit.cfg.py/" rel="noreferrer" target="_blank" class="">lit.cfg.py</a>', traceback: Traceback (most recent call last):<br class="">
File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path<br class="">
exec(compile(data, path, 'exec'), cfg_globals, None)<br class="">
File "/Users/buildslave/jenkins/workspace/clang-stage1-configure-RA/llvm/tools/clang/test/debuginfo-tests/<a href="http://lit.cfg.py/" rel="noreferrer" target="_blank" class="">lit.cfg.py</a>", line 36, in <module><br class="">
config.test_source_root = os.path.join(config.debuginfo_tests_src_root, 'tests')<br class="">
AttributeError: TestingConfig instance has no attribute 'debuginfo_tests_src_root'<br class="">
<br class="">
FAILED: CMakeFiles/check-all<br class="">
<br class="">
-- adrian<br class="">
<br class="">
> On Nov 10, 2017, at 1:00 PM, Zachary Turner via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
><br class="">
> This is in as of r317925. I'm keeping an eye out for failure notifications. I may or may not need help diagnosing if something does go wrong (although I'm keeping my fingers crossed)<br class="">
><br class="">
> On Thu, Nov 9, 2017 at 4:05 PM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:<br class="">
> Since it's towards the end of the day already, I'll put this in tomorrow morning around 9 or 10, to make sure I'm around to fix anything that arises (or revert).<br class="">
><br class="">
><br class="">
><br class="">
> On Thu, Nov 9, 2017 at 2:53 PM Mike Edwards <<a href="mailto:medwards@apple.com" target="_blank" class="">medwards@apple.com</a>> wrote:<br class="">
> Hi Zach,<br class="">
> Thanks for doing this extra work to make this lower impact for the rest of us. Let’s give it a try and see what happens.<br class="">
><br class="">
> -Mike<br class="">
><br class="">
><br class="">
><br class="">
>> On Nov 9, 2017, at 13:37, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:<br class="">
>><br class="">
>> Hi all, I think I've addressed all the concerns here, and I believe there should be no immediate impact to the current workflow. with that said, I plan to commit this either later today or early tomorrow if there are no other concerns.<br class="">
>><br class="">
>> On Tue, Nov 7, 2017 at 12:19 PM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:<br class="">
>> I tested this out, and AFAICT nothing will change. It will continue to just work if you have it checked out under clang/tests. It's a bit hard to construct this configuration locally since it requires moving some files around, and applying half of a CL here and half of a CL there. But, AFAICT it works.<br class="">
>><br class="">
>> I'm happy to send you some patches if you want to try them locally and confirm.<br class="">
>><br class="">
>> I'd like to print out a CMake warning if it detects the tree under clang/test and just mention that the workflow is deprecated. Any objections?<br class="">
>><br class="">
>> On Mon, Nov 6, 2017 at 1:49 PM Mike Edwards <<a href="mailto:medwards@apple.com" target="_blank" class="">medwards@apple.com</a>> wrote:<br class="">
>> Thank you Zach.<br class="">
>><br class="">
>><br class="">
>>> On Nov 6, 2017, at 13:37, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank" class="">zturner@google.com</a>> wrote:<br class="">
>>><br class="">
>>> I’m going to spend a little time seeing if i can make the change invisible to the bots so they will continue to work as they do today. Will report back after I’ve explored that a bit<br class="">
>>> On Mon, Nov 6, 2017 at 1:35 PM Mike Edwards <<a href="mailto:medwards@apple.com" target="_blank" class="">medwards@apple.com</a>> wrote:<br class="">
>>>> I'm honestly not opposed to this idea. It just seems a shame to do this for purely logistical reasons if most people agree that the "right" place for debuginfo-tests is outside of the clang tree.<br class="">
>>><br class="">
>>> I totally understand what you are saying here and will just add that sometimes being part of a larger community means being willing to do things, sometimes, not exactly the “right” way, due to logistical reasons. I am not opposed to what you would like to do, I’m just furrowing my brow at the timeframe in which to do it.<br class="">
>>><br class="">
>>>><br class="">
>>>> That said, I'd still like to hear from ChrisM and MikeE about why it will take so long, because on the surface it seems like a low-impact move.<br class="">
>>><br class="">
>>> Past experience has taught me, anything I think is going to be simple and quick to fix, rarely ever turns out that way. While there will be a significant amount of work to change the way our bots work here at Apple, the work is not impossible to accomplish. Given the choice, I would of course prefer an approach such as Paulr has suggested. The ability to run things in parallel for a time provides for a much lower impact change on the entire community. I think this approach may also give us some time to decide where the debuginfo-test should fit in the new mono-repo. It would be a bummer to do the work necessary to make this change, only to discover we would have to do it differently in the not too distant future to accommodate the new mono-repo.<br class="">
>>><br class="">
>>> Zach, I do not want to be a blocker here. I just want to make sure we have explored all of the options to make sure we are not missing a lower impact approach. I also want to make sure we are not doing something that could wait until we migrate to the mono-repo next year.<br class="">
>>><br class="">
>>> Thanks,<br class="">
>>> Mike<br class="">
>><br class="">
><br class="">
> _______________________________________________<br class="">
> LLVM Developers mailing list<br class="">
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>