reving cli version, updating json generation

making single stress test build failures not fail whole build
  adding incremental stress suite configs
This commit is contained in:
sschaab 2016-05-16 18:12:08 -07:00
Родитель f8828b703e
Коммит 286b3c2f83
10 изменённых файлов: 190 добавлений и 3 удалений

Просмотреть файл

@ -1 +1 @@
1.0.25-prerelease-00412-01
1.0.25-prerelease-00414-01

Просмотреть файл

@ -1 +1 @@
1.0.0-rc2-002468
1.0.0-preview2-002733

Просмотреть файл

@ -44,7 +44,7 @@ echo Installing dotnet cli...
if NOT exist "%DOTNET_PATH%" mkdir "%DOTNET_PATH%"
set /p DOTNET_VERSION=< "%~dp0DotnetCLIVersion.txt"
set DOTNET_ZIP_NAME=dotnet-dev-win-x64.%DOTNET_VERSION%.zip
set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME%
set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME%
set DOTNET_LOCAL_PATH=%DOTNET_PATH%%DOTNET_ZIP_NAME%
echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> "%INIT_TOOLS_LOG%"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%"

Просмотреть файл

@ -27,6 +27,7 @@ namespace stress.codegen
runtimes = new Dictionary<string, Dictionary<string, string>>()
{
{ "win", new Dictionary<string, string>() },
{ "win7-x64", new Dictionary<string, string>() },
{ "win7-x86", new Dictionary<string, string>() },
{ "ubuntu.14.04-x64", new Dictionary<string, string>() },

Просмотреть файл

@ -161,6 +161,7 @@
<MSBuild Targets="Build"
Projects="@(GeneratedProjects)"
BuildInParallel="true"
ContinueOnError="true"
Properties="$(GeneratedProjectBuildProps)"/>
</Target>

Просмотреть файл

@ -0,0 +1,37 @@
{
"Host": "./corerun",
"LoadTestConfigs": [
{
"TestCount": 4,
"NumTests": 100,
"Duration": "16:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
},
{
"TestCount": 4,
"NumTests": 100,
"Duration": "16:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_GCStress": "3",
"COMPlus_HeapVerify": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
}
]
}

Просмотреть файл

@ -0,0 +1,37 @@
{
"Host": "./corerun",
"LoadTestConfigs": [
{
"TestCount": 64,
"NumTests": 10,
"Duration": "01:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
},
{
"TestCount": 64,
"NumTests": 10,
"Duration": "01:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_GCStress": "3",
"COMPlus_HeapVerify": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
}
]
}

Просмотреть файл

@ -0,0 +1,37 @@
{
"Host": "./corerun",
"LoadTestConfigs": [
{
"TestCount": 32,
"NumTests": 20,
"Duration": "02:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
},
{
"TestCount": 32,
"NumTests": 20,
"Duration": "02:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_GCStress": "3",
"COMPlus_HeapVerify": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
}
]
}

Просмотреть файл

@ -0,0 +1,37 @@
{
"Host": "./corerun",
"LoadTestConfigs": [
{
"TestCount": 16,
"NumTests": 50,
"Duration": "04:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
},
{
"TestCount": 16,
"NumTests": 50,
"Duration": "04:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_GCStress": "3",
"COMPlus_HeapVerify": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
}
]
}

Просмотреть файл

@ -0,0 +1,37 @@
{
"Host": "./corerun",
"LoadTestConfigs": [
{
"TestCount": 8,
"NumTests": 50,
"Duration": "08:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
},
{
"TestCount": 8,
"NumTests": 50,
"Duration": "08:00:00",
"NumWorkers": 8,
"TestPattern": "stress.execution.RandomTestPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"LoadPattern": "stress.execution.StaticLoadPattern, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"WorkerStrategy": "stress.execution.DedicatedThreadWorkerStrategy, stress.execution, Version=1.0.0, Culture=neutral, PublicKeyToken=null",
"EnvironmentVariables": {
"COMPlus_DebugBreakOnAssert": "1",
"COMPlus_AssertOnFailFast": "1",
"COMPlus_GCStress": "3",
"COMPlus_HeapVerify": "1",
"COMPlus_StressLog": "1",
"COMPlus_StressLogSize": "2097152"
}
}
]
}