This is an archive of the discontinued LLVM Phabricator instance.

[lit, shtest-timeout] Always use an internal shell for the shtest-timeout to diagnose buildbot failures
ClosedPublic

Authored by stella.stamenova on Aug 27 2018, 2:47 PM.

Details

Summary

Right now this test is failing on the builtbots on Windows but we have a very similar setup where the test passes. The test is meant to test that specifying a timeout works correctly by running an infnite loop and having it timeout - on the buildbot, the infinite loop doesn't actually execute. This change runs all of the tests in the set using an internal shell rather than an external shell. I expect this will make the test pass which means that either the way the external shell is invoked or the external shell setup on the buildbots is not correct. Regardless of whether the test passes with this change, we'll need to undo this change and have a real fix.

@gkistanova was able to get logs from the buildbot to rule out a number of theories as to why this test is failing, but they didn't have enough information to confirm exactly what the issue is. The purpose of this change is to narrow it down, but if someone has a local repro and can aid in debugging, that would make it much speedier (and less prone to making the bots fail).

Diff Detail

Repository
rL LLVM

Event Timeline

zturner added a reviewer: rnk.Aug 27 2018, 2:55 PM
rnk accepted this revision.Aug 27 2018, 3:22 PM
rnk added a reviewer: delcypher.

Sounds good. I'm not very interested in testing the external shell on Windows. Everyone should be migrated over to the internal one if possible.

This revision is now accepted and ready to land.Aug 27 2018, 3:23 PM
This revision was automatically updated to reflect the committed changes.

@ stella.stamenova Thanks for taking a look at fixing. Provided that this change isn't permanent then this change is probably okay.