Skip to content

Commit

Permalink
Improve blame (#2552)
Browse files Browse the repository at this point in the history
* Hide -release in console

* Add param block

* Match on whole branch name

* Set var

* Change assertion

* Trim version

* Update dependencies from https://github.com/dotnet/arcade build 20200602.3 (#2456)

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 5.0.0-beta.20052.1 -> To Version 1.0.0-beta.20302.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update feeds

* Revert to previous dotnet version

* Added new exception handling (#2461)

* Test space added

* Exception handler was added to catch AccessDeniedException while trying to create TestResults folder

* Remove unnecessary space

* Deleted unnecessary test. Changed console message and corrected folder path in that message

* Remove unnecessary dot

* Removed unnecessary lines and usings and coreccted exception message

* Removed unnecessary line

* Updating resource files

* New exception handling was added

* Formatted exception message

* Adding test run attachments processing (#2463)

* v1

* Merging v1

* Rename to MultiTestRunsFinalization

* New version

* More changes

* More changes

* Next changes

* Fix

* test

* More changes

* Dmc chagnes

* next

* small changes

* compiled

* More changes

* acceptance tests green

* Review comments #1

* Resolving more comments

* Tests for design mode client

* Tests for events handler

* revert not related changes

* More changes

* Compiling OK, tests OK

* Unit tests for manager

* More changes

* More tests

* tests for reqeust sender

* more tests

* Tests for cancelling

* Acceptance tests done

* Remove not used stuff

* Fix comments

* Fix race condition in test

* Fix another race condition

* Fix converting to xml

* fix next test

* fix test

* Next changes

* Review changes #1

* Fixing multi test finalization manager tests

* Fixes

* Fix last unit test

* Fix acceptance tests

* Progress feature, compiling + unit tests

* acceptance tests changes

* More changes

* Fixing resources accesability

* Fix test

* Fix race conditions in acceptance tests

* RFC changes merged

* Log warning in case of unexpected message id

* Fix spelling

* Additional comment

* Restore some stuff in interfaces

* Big renaming

* Added processingSettings

* Fix naming

* Move explanation to <remarks>

* Add environment variables to enable MacOS dump

* Fixed code coverage compatibility issue (#2527)

Fixed code coverage compatibility issue

* Print version of the product in log (#2535)

* Trigger dumps asynchronously (#2533)

* Run each dump in a task in netclient dumper

* More reasonable timeout

* Revert "Trigger dumps asynchronously (#2533)" (#2541)

This reverts commit 3454261.

* Remove env variables

* Remove sleeps and extra process dumps from blame

* Update message and remove delays

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sanan Yuzbashiyev <Sanan07@users.noreply.github.com>
Co-authored-by: Jakub Chocholowicz <59966772+jakubch1@users.noreply.github.com>
Co-authored-by: Codrin-Victor Poienaru <cvpoienaru@gmail.com>
  • Loading branch information
6 people committed Sep 1, 2020
1 parent 327c428 commit ddda590
Show file tree
Hide file tree
Showing 20 changed files with 95 additions and 52 deletions.
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

0 comments on commit ddda590

Please sign in to comment.