-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix race condition in ServiceProcess tests #59676
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you. Why did this take so long to appear I wonder.
No pipelines are associated with this pull request. |
/azp run outerloop |
No pipelines are associated with this pull request. |
/azp run runtime-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
@BruceForstall should the format job be clean? also, it has a bunch of errors like
|
Arm32 failures are known: #58481 |
@ericstj do the outerloop tests even run as admin (so these tests actually run)? I actually can't find the config in the Azdo UI that is outerloop. Looking at each of the Windows libraries test configs, I see a line like this:
Note |
CHecking the logs. @safern recommended this trigger to me. Not sure if the Test UI is good for checking on passing tests because there are so many. I might be able to find the console logs from build log spew. |
I actually don't see where libraries outerloop tests are even run. I see coreclr runtime pri1, but no libraries tests. |
Oops this was my bad, there is a |
No worries, next time I'll use |
Good info. @safern do you know (or know how to know) whether we run elevated? |
I opened #59712 to find out (and get test coverage I was hoping to have in this PR). Interestingly since its the same hash it doesn't retrigger the main validation builds, bonus resource savings :) |
Yes, you have the ability to start processes lower but the default is prompt-less elevated. In the earliest days, we had some machines set up to run the helix client in Medium IL mode and it hit tons of problems with people's work items. |
🧬 == 🍯 |
@MattGal were those issues in regular runs or just outerloop? I remember at one point we said outerloop would get elevation but inner loop wouldn't. |
The helix agents don't know or care about your concepts of inner/outer-loopiness. |
How is this done? It might be good to add one such run in the mix. Also, is this the case for both Windows and Unix (elevated or su respectively) |
It should be, and is in subsequent runs. The real failure was earlier:
@jkoritzinsky Is this your new downloader from #59374 not handling failure well? |
Yeah I think there’s a problem with the new downloader script. I’ll take a look into it next time I have cycles |
Fixes #59297