-
Notifications
You must be signed in to change notification settings - Fork 10.4k
HELIX failures investigations #41563
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
Conversation
Suggest adding May also be worthwhile adding |
/fyi @MarcoRossignoli this PR incorporates your suggestions |
cc: @nohwnd |
I had a look on your logs, and there is no indication of what is happening, other than that a template test always runs when crash happens. Testhost seems to abruptly die. So there are few things you can do:
|
@nohwnd so what we are trying in this PR is:
It looks like some new blame variants have been added like the one you suggested, can we drop our blame with CollectHangDump/Dump/TestTimeout and replace with blame-crash and blame-hang-timeout:
|
@HaoK the newer --blame-crash syntax translates to what you already had. I did not see you are already using CollectDump in the code, I probably overlooked it or saw the code before it was added. In the latest build with abort, the vstest logs look like processes are killed externally, and this log indicates that this is the case: 2022-05-12T00:27:28.8279660Z Non-quarantined tests exceeded configured timeout: 40m. So I guess you have one more timeout to change? :) |
- Ensure project directory name uniqueness - Comment out DotNetNewLock for now
…project template tests
- Deleted unused code - Updated README with details about test timeouts & conditional tests
2f51c1b
to
e06b8d7
Compare
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.
Thanks for grinding through this even after falling into all the pits of doom, things look way better!
@@ -62,6 +62,101 @@ Then, use one of: | |||
previous step, it is NOT advised that you install templates created on your local machine using just | |||
`dotnet new -i [nupkgPath]`. | |||
|
|||
#### Conditional tests & skipping test platforms |
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.
How much of this is specific to template tests? Should it be documented in another location instead?
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.
Yeah @HaoK said the same thing in a comment on a commit before I rebased (so it got lost from here) but I'll do that shuffle once this is in main.
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.
Maybe docs/Helix.md for most of this❔
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.
One thing to clean up and a few questions…
[ConditionalTheory] | ||
[InlineData("Individual", new string[] { ArgConstants.UseLocalDb })] | ||
[InlineData("Individual", new string[] { ArgConstants.UseProgramMain, ArgConstants.UseLocalDb })] | ||
[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX, SkipReason = "No LocalDb on non-Windows")] |
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.
Any idea how these tests ever succeeded on Linux or macOS before❔
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.
The pages don't fail unless you try to actually register a user (i.e. hit the database).
@@ -62,6 +62,101 @@ Then, use one of: | |||
previous step, it is NOT advised that you install templates created on your local machine using just | |||
`dotnet new -i [nupkgPath]`. | |||
|
|||
#### Conditional tests & skipping test platforms |
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.
Maybe docs/Helix.md for most of this❔
Investigating helix failures.