Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
35a79fc
[wasm] Reenable some skipped tests in System.Runtime.Extensions.Tests
Jul 8, 2020
5c905bf
[wasm] PathTests GetFullPath_CoreTests skip test case on browser
Jul 8, 2020
cad48bb
[wasm] System.Runtime.Extensions Tests throwing PNSE
Jul 9, 2020
f8b3c60
[wasm] System.Runtime.Extensions tests throwing Cannot wait on monito…
Jul 9, 2020
9e41643
[wasm] System.Runtime.Extensions tests with ActiveIssues
Jul 9, 2020
0558735
[wasm] System.Runtime.Extensions test throwing EntryPointNotFoundExce…
Jul 9, 2020
c05deb2
[wasm] AppDomainTests modify expected FriendlyName
Jul 9, 2020
b19d161
Add Environment.Browser to eliminate p-invokes that were not function…
Jul 10, 2020
f1a5975
Adjust ICU dependent tests
Jul 10, 2020
c128f6d
Remove browser skip on WorkingSet_Valid
Jul 10, 2020
9745d57
Feedback
Jul 10, 2020
ff310ff
Feedback PathTests.cs
Jul 10, 2020
4a223ed
[wasm] EnvironmentTests Assert Environment.Workinset equals 0
Jul 10, 2020
1038c09
[wasm] StringComparer Use IsNotInvariantGlobalization instead of IsIc…
Jul 10, 2020
bf0521e
Remove System.Runtime.Extensions from skip test list
Jul 10, 2020
b937af6
[wasm] Return emscripten for GetComputerName on Browser
Jul 10, 2020
53350a0
Add back in Environment.UnixOrBrowser
Jul 10, 2020
f625e66
Cleaned up a few comments
Jul 10, 2020
3a4ea9c
Merge branch 'master' into mdhwang/address_system_runtime_extensions_…
akoeplinger Jul 11, 2020
8d13b06
Merge branch 'master' into mdhwang/address_system_runtime_extensions_…
akoeplinger Jul 11, 2020
952997c
PR Feedback
Jul 12, 2020
c7343fa
One more thing...
Jul 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into mdhwang/address_system_runtime_extensions_…
…tests
  • Loading branch information
akoeplinger committed Jul 11, 2020
commit 3a4ea9c76174cba6bcfd974de2b9d6bf6d86b1e3
60 changes: 60 additions & 0 deletions eng/pipelines/coreclr/libraries-gcstress-extra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
trigger: none

pr: none

# This pipeline currently has too many failures to be enabled by schedule.
# schedules:
# - cron: "0 10 * * 0"
# displayName: Sun at 2:00 AM (UTC-8:00)
# branches:
# include:
# - master
# always: true

jobs:
#
# Checkout repository
#
- template: /eng/pipelines/common/checkout-job.yml

#
# Build CoreCLR checked and libraries Release
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml
buildConfig: checked
platformGroup: gcstress

#
# Libraries Test Build - Release innerloop. All libraries are built on x64 and reused on all platforms.
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-test-job.yml
buildConfig: Release
platforms:
- Linux_x64
- Windows_NT_x64
jobParameters:
liveRuntimeBuildConfig: checked
testScope: innerloop

#
# Libraries Test Run using Release libraries, Checked CoreCLR, and stress modes
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/run-test-job.yml
buildConfig: Release
platformGroup: gcstress
helixQueueGroup: libraries
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
# Default timeout is 150 minutes (2.5 hours), which is not enough for stress.
timeoutInMinutes: 600
testScope: innerloop
liveRuntimeBuildConfig: checked
dependsOnTestBuildConfiguration: Release
dependsOnTestArchitecture: x64
coreclrTestGroup: gcstress-extra
60 changes: 60 additions & 0 deletions eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
trigger: none

pr: none

# This pipeline currently has too many failures to be enabled by schedule.
# schedules:
# - cron: "0 10 * * 6"
# displayName: Sat at 2:00 AM (UTC-8:00)
# branches:
# include:
# - master
# always: true

jobs:
#
# Checkout repository
#
- template: /eng/pipelines/common/checkout-job.yml

#
# Build CoreCLR checked and libraries Release
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml
buildConfig: checked
platformGroup: gcstress

#
# Libraries Test Build - Release innerloop. All libraries are built on x64 and reused on all platforms.
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-test-job.yml
buildConfig: Release
platforms:
- Linux_x64
- Windows_NT_x64
jobParameters:
liveRuntimeBuildConfig: checked
testScope: innerloop

#
# Libraries Test Run using Release libraries, Checked CoreCLR, and stress modes
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/run-test-job.yml
buildConfig: Release
platformGroup: gcstress
helixQueueGroup: libraries
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
# Default timeout is 150 minutes (2.5 hours), which is not enough for stress.
timeoutInMinutes: 600
testScope: innerloop
liveRuntimeBuildConfig: checked
dependsOnTestBuildConfiguration: Release
dependsOnTestArchitecture: x64
coreclrTestGroup: gcstress0x3-gcstress0xc
34 changes: 32 additions & 2 deletions eng/pipelines/libraries/run-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,24 @@ jobs:
parameters:
displayName: Test Assets
cleanUnpackFolder: false
unpackFolder: $(Build.SourcesDirectory)/artifacts
artifactName: $(librariesTestsArtifactName)
artifactFileName: $(librariesTestsArtifactName)$(archiveExtension)
unpackFolder: $(Build.SourcesDirectory)/artifacts

- ${{ if in(parameters.coreclrTestGroup, 'gcstress0x3-gcstress0xc', 'gcstress-extra') }}:
# We need to find and download the GC stress dependencies (namely, coredistools). Put them
# in the 'sharedFramework' directory where we unpacked the CoreCLR build artifacts. The 'sharedFramework'
# directory is what is copied into the testhost.
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
- script: $(Build.SourcesDirectory)\src\coreclr\tests\setup-stress-dependencies.cmd
/arch ${{ parameters.archType }}
/outputdir $(_runtimeDownloadPath)/sharedFramework
displayName: Download GC stress dependencies
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
- script: $(Build.SourcesDirectory)/src/coreclr/tests/setup-stress-dependencies.sh
--arch=${{ parameters.archType }}
--outputDir=$(_runtimeDownloadPath)/sharedFramework
displayName: Download GC stress dependencies

- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
- script: $(_buildScript)
Expand All @@ -106,7 +121,7 @@ jobs:
# eng/pipelines/common/templates/runtimes/run-test-job.yml (with 'testGroup' replaced by 'coreclrTestGroup'
# for clarity), and should remain in sync. This is only a subset; only the testGroups that are
# used to test the libraries have been added here. More could be added if we decided to test the
# libraries with more stress modes (e.g., GCStress). The scenario tags are interpreted by
# libraries with more stress modes. The scenario tags are interpreted by
# src\coreclr\tests\testenvironment.proj.
#
# The one difference here compared to eng/pipelines/common/templates/runtimes/run-test-job.yml is
Expand Down Expand Up @@ -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
# gcstress0xc runs are clean. Tracking issue: https://github.com/dotnet/runtime/issues/38903.
# - gcstress0x3
- gcstress0xc
${{ if in(parameters.coreclrTestGroup, 'gcstress-extra') }}:
scenarios:
- heapverify1
- gcstress0xc_zapdisable
- gcstress0xc_zapdisable_jitstress2
- gcstress0xc_zapdisable_heapverify1
- gcstress0xc_jitstress1
- gcstress0xc_jitstress2
- gcstress0xc_jitminopts_heapverify1
3 changes: 3 additions & 0 deletions src/coreclr/src/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6530,6 +6530,8 @@ void Lowering::LowerBlockStoreCommon(GenTreeBlk* blkNode)
bool Lowering::TryTransformStoreObjAsStoreInd(GenTreeBlk* blkNode)
{
assert(blkNode->OperIs(GT_STORE_BLK, GT_STORE_DYN_BLK, GT_STORE_OBJ));
return false;
#if 0 // the optimization is temporary disabled due to https://github.com/dotnet/wpf/issues/3226 issue.
if (blkNode->OperIs(GT_STORE_DYN_BLK))
{
return false;
Expand Down Expand Up @@ -6597,4 +6599,5 @@ bool Lowering::TryTransformStoreObjAsStoreInd(GenTreeBlk* blkNode)
}
LowerStoreIndirCommon(blkNode);
return true;
#endif
}
7 changes: 7 additions & 0 deletions src/coreclr/src/tools/aot/crossgen2/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,14 @@ private int Run()
_typeSystemContext.SetSystemModule((EcmaModule)_typeSystemContext.GetModuleForSimpleName(systemModuleName));

if (_typeSystemContext.InputFilePaths.Count == 0)
{
if (_commandLineOptions.InputFilePaths.Count() > 0)
{
Console.WriteLine(SR.InputWasNotLoadable);
return 2;
}
throw new CommandLineException(SR.NoInputFiles);
}

//
// Initialize compilation group and compilation roots
Expand Down
3 changes: 3 additions & 0 deletions src/coreclr/src/tools/aot/crossgen2/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@
<data name="MissingOutputFile" xml:space="preserve">
<value>Output filename must be specified (/out &lt;file&gt;)</value>
</data>
<data name="InputWasNotLoadable" xml:space="preserve">
<value>No input files are loadable</value>
</data>
<data name="NoInputFiles" xml:space="preserve">
<value>No input files specified</value>
</data>
Expand Down
6 changes: 3 additions & 3 deletions src/coreclr/src/vm/diagnosticserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,13 @@ void DiagnosticServer::PauseForDiagnosticsMonitor()
if (dwDotnetDiagnosticsMonitorPauseOnStart != 0)
{
_ASSERTE(s_ResumeRuntimeStartupEvent != nullptr && s_ResumeRuntimeStartupEvent->IsValid());
wprintf(W("The runtime has been configured to pause during startup and is awaiting a Diagnostics IPC ResumeStartup command from a server at '%s'.\n"), (LPWSTR)pDotnetDiagnosticsMonitorAddress);
fflush(stdout);
STRESS_LOG0(LF_DIAGNOSTICS_PORT, LL_ALWAYS, "The runtime has been configured to pause during startup and is awaiting a Diagnostics IPC ResumeStartup command.");
const DWORD dwFiveSecondWait = s_ResumeRuntimeStartupEvent->Wait(5000, false);
if (dwFiveSecondWait == WAIT_TIMEOUT)
{
STRESS_LOG0(LF_DIAGNOSTICS_PORT, LL_ALWAYS, "The runtime has been configured to pause during startup and is awaiting a Diagnostics IPC ResumeStartup command and has waitied 5 seconds.");
wprintf(W("The runtime has been configured to pause during startup and is awaiting a Diagnostics IPC ResumeStartup command from a server at '%s'.\n"), (LPWSTR)pDotnetDiagnosticsMonitorAddress);
fflush(stdout);
STRESS_LOG0(LF_DIAGNOSTICS_PORT, LL_ALWAYS, "The runtime has been configured to pause during startup and is awaiting a Diagnostics IPC ResumeStartup command and has waited 5 seconds.");
const DWORD dwWait = s_ResumeRuntimeStartupEvent->Wait(INFINITE, false);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/tests/setup-stress-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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>'
echo ''
echo 'Required arguments:'
echo ' --arch=<TargetArch> : Target arch for the build'
Expand Down
Loading