Skip to content
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

Add GCStress testing for libraries tests on checked CoreCLR #38235

Merged

Conversation

BruceForstall
Copy link
Member

@BruceForstall BruceForstall commented Jun 22, 2020

Part of this is downloading and copying the stress dependencies (namely, coredistools) into the
testhost.

There are still many issues to address with failures in these tests, so the schedule
is disabled.

Disable GCStress0x3 for now, as that causes many timeouts in these tests.

Fixes #38233

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. Please help me learn by adding exactly one area label.

@BruceForstall

This comment has been minimized.

@BruceForstall

This comment has been minimized.

@BruceForstall BruceForstall force-pushed the LibrariesTestsForCoreClrAddGCStress2 branch from 5ae7c1d to a0a379b Compare June 27, 2020 19:44
@BruceForstall

This comment has been minimized.

@BruceForstall BruceForstall force-pushed the LibrariesTestsForCoreClrAddGCStress2 branch from a0a379b to 6b18fa0 Compare June 28, 2020 03:37
@BruceForstall

This comment has been minimized.

@BruceForstall BruceForstall marked this pull request as ready for review June 29, 2020 01:11
@BruceForstall
Copy link
Member Author

Triggered runtime-coreclr libraries-gcstress0x3-gcstress0xc: https://dev.azure.com/dnceng/public/_build/results?buildId=708812&view=results

@BruceForstall
Copy link
Member Author

ping

can anyone take a look?

@BruceForstall
Copy link
Member Author

ping

Maybe someone on @dotnet/jit-contrib can sign off?

@@ -144,3 +159,18 @@ jobs:
- jitstress2_jitstressregs0x10
- jitstress2_jitstressregs0x80
- jitstress2_jitstressregs0x1000
${{ if in(parameters.coreclrTestGroup, 'gcstress0x3-gcstress0xc') }}:
scenarios:
# Disable gcstress0x3 for now; it causes lots of test timeouts. Investigate this after
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we link this to an issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense. I'll add one.

<TimeoutInSeconds Condition="'$(Scenario)' == '' and ('$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm')">1800</TimeoutInSeconds>
<TimeoutInSeconds Condition="'$(Scenario)' != '' and ('$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'arm')">3600</TimeoutInSeconds>
<TimeoutInSeconds Condition="
'$(Scenario)' == 'gcstress0x3' or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use $(Scenario.StartsWith('gcstress')) or '$(Scenario)' == 'heapverify1'?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to leave it explicit, even through it is more verbose, as it makes it easier to 'grep' for a full scenario name and find every file that references it.

@safern
Copy link
Member

safern commented Jul 7, 2020

Sorry I missed this. Just reviewed.

@@ -16,7 +16,7 @@ function print_usage {
echo ''
echo 'Command line:'
echo ''
echo './setup-gcstress.sh --arch=<TargetArch> --outputDir=<coredistools_lib_install_path>'
echo './setup-stress-dependencies.sh --arch=<TargetArch> --outputDir=<coredistools_lib_install_path>'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit,

    echo "$0 --arch=<TargetArch> --outputDir=<coredistools_lib_install_path>"

Disable GCStress0x3 for now, as that causes many timeouts in
these tests.
There are currently too many failures in these jobs
so we don't want to run them on a schedule yet.
@BruceForstall BruceForstall force-pushed the LibrariesTestsForCoreClrAddGCStress2 branch from d5c7565 to 9bdf668 Compare July 8, 2020 01:26
@BruceForstall
Copy link
Member Author

Any final objections? Or sign-off?

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Bruce for making these improvements!

@BruceForstall BruceForstall merged commit c4dfc54 into dotnet:master Jul 10, 2020
@BruceForstall BruceForstall deleted the LibrariesTestsForCoreClrAddGCStress2 branch July 10, 2020 23:59
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GCStress testing AzDO pipelines for libraries tests against coreclr
5 participants