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

[Harness] Make CrashSnapshotReporter injectable and add unit tests #8129

Merged
merged 43 commits into from
Mar 20, 2020

Conversation

premun
Copy link
Contributor

@premun premun commented Mar 17, 2020

Another dependency of AppRunner that will need to be refactored out to make AppRunner testable

Premek Vysoky added 30 commits March 13, 2020 11:27
…tils

Conflicts:
	tests/xharness/Harness.cs
	tests/xharness/Program.cs
…tils

Conflicts:
	tests/xharness/AppRunner.cs
	tests/xharness/CrashReportSnapshot.cs
	tests/xharness/Harness.cs
	tests/xharness/xharness.csproj
…tils

Conflicts:
	tests/xharness/BCLTestImporter/BCLTestImportTargetFactory.cs
	tests/xharness/BCLTestImporter/BCLTestProjectGenerator.cs
	tests/xharness/xharness.csproj
Conflicts:
	tests/xharness/AppRunner.cs
	tests/xharness/CrashReportSnapshot.cs
	tests/xharness/Harness.cs
	tests/xharness/Jenkins/TestTasks/MacExecuteTask.cs
	tests/xharness/Jenkins/TestTasks/RunXtroTask.cs
Copy link
Member

@mandel-macaque mandel-macaque left a comment

Choose a reason for hiding this comment

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

Minor comments to be fixed.

tests/xharness/CrashSnapshotReporter.cs Outdated Show resolved Hide resolved
tests/xharness/Execution/ProcessManager.cs Outdated Show resolved Hide resolved
tests/xharness/Execution/ProcessManager.cs Outdated Show resolved Hide resolved
tests/xharness/AppRunner.cs Outdated Show resolved Hide resolved
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

2 tests failed, 85 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug: BuildFailure
  • xammac tests/Mac Modern/Release: BuildFailure

Conflicts:
	tests/xharness/AppRunner.cs
	tests/xharness/Harness.cs
	tests/xharness/Jenkins/TestTasks/RunDeviceTask.cs
	tests/xharness/Jenkins/TestTasks/RunSimulatorTask.cs
	tests/xharness/Xharness.Tests/Tests/AppRunnerTests.cs
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

2 tests failed, 85 tests passed.

Failed tests

  • xammac tests/Mac Modern/Release: Failed (Test run failed.)
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): Failed

@premun
Copy link
Contributor Author

premun commented Mar 19, 2020

@rolfbjarne tested that crash logs propagate back:
image

We can merge this (I think the failed tests are known issues)

Copy link
Member

@mandel-macaque mandel-macaque left a comment

Choose a reason for hiding this comment

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

Small comments to address.

tests/xharness/CrashSnapshotReporter.cs Outdated Show resolved Hide resolved
tests/xharness/Execution/ProcessManager.cs Outdated Show resolved Hide resolved
tests/xharness/Execution/ProcessManager.cs Show resolved Hide resolved
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

4 tests failed, 83 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar): Failed
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): Failed
  • monotouch-test/tvOS - simulator/Debug: Failed

Conflicts:
	tests/xharness/AppRunner.cs
	tests/xharness/Jenkins/Jenkins.cs
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

3 tests failed, 84 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug: BuildFailure
  • xammac tests/Mac Modern/Release: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk): Failed

Conflicts:
	tests/xharness/AppRunner.cs
	tests/xharness/Jenkins/TestTasks/RunTestTask.cs
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)
🔥 Test run failed 🔥

Test results

1 tests failed, 86 tests passed.

Failed tests

  • xammac tests/Mac Modern/Release: BuildFailure

@rolfbjarne
Copy link
Member

Test failure is unrelated: https://github.com/xamarin/maccore/issues/2177

@rolfbjarne rolfbjarne merged commit ec420e6 into xamarin:master Mar 20, 2020
@premun premun deleted the prvysoky/snapshots branch March 20, 2020 11:00
@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants