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

Improve blame #2552

Merged
24 commits merged into from Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
47fee27
Hide -release in console
nohwnd Jun 5, 2020
9ed42e4
Add param block
nohwnd Jun 8, 2020
6de7aca
Match on whole branch name
nohwnd Jun 8, 2020
b60cf6f
Set var
nohwnd Jun 8, 2020
1fbf4a3
Change assertion
nohwnd Jun 8, 2020
501939e
Trim version
nohwnd Jun 8, 2020
fceebbc
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 9, 2020
c449a1e
Update feeds
nohwnd Jun 9, 2020
f777f36
Merge master
nohwnd Jun 9, 2020
2474ad2
Revert to previous dotnet version
nohwnd Jun 9, 2020
df62aca
Added new exception handling (#2461)
Sanan07 Jun 12, 2020
c1b6b2c
Adding test run attachments processing (#2463)
jakubch1 Jul 2, 2020
4ec9fb2
Add environment variables to enable MacOS dump
nohwnd Aug 11, 2020
1d30394
Fixed code coverage compatibility issue (#2527)
cvpoienaru Aug 19, 2020
fd2748b
Forward merge master
nohwnd Aug 21, 2020
f5e870b
Print only whole version on release branch.
nohwnd Aug 21, 2020
c1a6782
Print version of the product in log (#2535)
nohwnd Aug 25, 2020
3454261
Trigger dumps asynchronously (#2533)
nohwnd Aug 26, 2020
088da43
Revert "Trigger dumps asynchronously (#2533)" (#2541)
nohwnd Aug 26, 2020
42b3463
Remove env variables
nohwnd Aug 28, 2020
4fcacb2
Merge branch 'rel/16.8' of https://github.com/microsoft/vstest into r…
nohwnd Aug 28, 2020
1f5ed32
Remove sleeps and extra process dumps from blame
nohwnd Sep 1, 2020
b2dbc48
Merge branch 'master' into improve-crash-message
nohwnd Sep 1, 2020
d940b5d
Update message and remove delays
nohwnd Sep 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -112,15 +112,13 @@ private void TestRunCompleteHandler(object sender, TestRunCompleteEventArgs e)
return;
}

this.output.Error(false, Resources.Resources.AbortedTestRun);

StringBuilder sb = new StringBuilder();
foreach (var tcn in testCaseNames)
{
sb.Append(tcn).Append(Environment.NewLine);
}

this.output.Error(false, sb.ToString());
this.output.Error(false, Resources.Resources.AbortedTestRun, sb.ToString());
}

#endregion
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -118,7 +118,11 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AbortedTestRun" xml:space="preserve">
<value>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</value>
<value>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</value>
<comment>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</comment>
</data>
<data name="BlameParameterKeyIncorrect" xml:space="preserve">
<value>The blame parameter key specified {0} is not valid. Ignoring this key.</value>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">Aktivní testovací běh byl přerušen, protože hostitelský proces byl neočekávaně ukončen při provádění následujících testů:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">Aktivní testovací běh byl přerušen, protože hostitelský proces byl neočekávaně ukončen při provádění následujících testů:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">Der aktive Testlauf wurde abgebrochen, weil der Hostprozess beim Ausführen der folgenden Tests unerwartet beendet wurde:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">Der aktive Testlauf wurde abgebrochen, weil der Hostprozess beim Ausführen der folgenden Tests unerwartet beendet wurde:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">La serie de pruebas activa se anuló porque el proceso del host se cerró inesperadamente al ejecutar las pruebas siguientes:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">La serie de pruebas activa se anuló porque el proceso del host se cerró inesperadamente al ejecutar las pruebas siguientes:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">La série de tests active a été abandonnée, car le processus hôte s'est arrêté de manière inattendue durant l'exécution du ou des tests suivants :</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">La série de tests active a été abandonnée, car le processus hôte s'est arrêté de manière inattendue durant l'exécution du ou des tests suivants :</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">L'esecuzione dei test attiva è stata interrotta perché il processo host è stato terminato in modo imprevisto durante l'esecuzione del test o dei test seguenti:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">L'esecuzione dei test attiva è stata interrotta perché il processo host è stato terminato in modo imprevisto durante l'esecuzione del test o dei test seguenti:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">以下のテストの実行中にホスト プロセスが予期せず終了したため、アクティブなテスト実行が中止されました:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">以下のテストの実行中にホスト プロセスが予期せず終了したため、アクティブなテスト実行が中止されました:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">다음 테스트를 실행하는 동안 호스트 프로세스가 예기치 않게 종료되어 활성 테스트 실행이 중단되었습니다.</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">다음 테스트를 실행하는 동안 호스트 프로세스가 예기치 않게 종료되어 활성 테스트 실행이 중단되었습니다.</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">Aktywny przebieg testu został przerwany, ponieważ proces hosta nieoczekiwanie zakończył działanie podczas wykonywania następujących testów:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">Aktywny przebieg testu został przerwany, ponieważ proces hosta nieoczekiwanie zakończył działanie podczas wykonywania następujących testów:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">A Execução de Teste ativa foi anulada pois o processo do host saiu inesperadamente ao executar os seguintes testes:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">A Execução de Teste ativa foi anulada pois o processo do host saiu inesperadamente ao executar os seguintes testes:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">Активный тестовый запуск прерван, так как хост-процесс завершил работу непредвиденным образом при выполнении следующих тестов:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">Активный тестовый запуск прерван, так как хост-процесс завершил работу непредвиденным образом при выполнении следующих тестов:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">Aşağıdaki testler yürütülürken konak işleminden beklenmedik bir şekilde çıkıldığından etkin Test Çalıştırması iptal edildi:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">Aşağıdaki testler yürütülürken konak işleminden beklenmedik bir şekilde çıkıldığından etkin Test Çalıştırması iptal edildi:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -3,9 +3,12 @@
<file datatype="xml" source-language="en" original="../Resources.resx">
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">The active Test Run was aborted because the host process exited unexpectedly while executing test </target>
<note></note>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">执行以下测试时主机进程意外退出,活动的测试运行已中止:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">执行以下测试时主机进程意外退出,活动的测试运行已中止:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down
Expand Up @@ -21,9 +21,12 @@
</header>
<body>
<trans-unit id="AbortedTestRun">
<source>The active Test Run was aborted because the host process exited unexpectedly while executing following test(s):</source>
<target state="translated">因為主機處理序在執行下列測試時未預期地結束,所以使用中的測試回合已中止:</target>
<note />
<source>The active Test Run was aborted because the host process exited unexpectedly. Please inspect the call stack above, if available, to get more information about where the exception originated from.
The test running when the crash occurred:
{0}
This test may, or may not be the source of the crash.</source>
<target state="new">因為主機處理序在執行下列測試時未預期地結束,所以使用中的測試回合已中止:</target>
<note>{0} is a single test (or in rare cases multiple tests) that were running when test host crashed.</note>
</trans-unit>
<trans-unit id="ProcDumpEnvVarEmpty">
<source>Required environment variable PROCDUMP_PATH was null or empty. Set PROCDUMP_PATH to path of folder containing appropriate procdump executable.</source>
Expand Down