Use darc runtime subscription versions for testing
Update arcade to version 5.0.0-beta.19608.1
Replace install scripts with InstallRuntimes.proj (thanks to Juan).
Add build.ps1 on Windows. Build-Native.cmd just builds the native bits now.
Combine build.sh and build-native.sh scripts.
Remove -publish from scripts
Add running sosstatus command on SOSRunner errors.
Always set the host runtime (SOSHostRuntime) in test configs
Fix RuntimeFrameworkVersion config property usage
Sign, package and publish only if build legs successful
Issues: https://github.com/dotnet/diagnostics/issues/423https://github.com/dotnet/diagnostics/issues/480
Prepare SOS for single file support and add desktop CLR support
Add defines and functions for the runtime, dac and dbi modules/dlls names.
Also supports desktop CLR
Add minidump retry for ERROR_PARTIAL_COPY
This is the initial implementation of Microsoft.Diagnostics.NETCore.Client library.
This will be released with version 1.0.0-preview, and when I feel that enough customers have validated it that we can match it with the rest of the diagnostics OOB packages and bump up the version to 3.1.
* Adding some initial EventCounters documentation
* Add more stuff about incrementingeventcounter
* Add pictures
* Add more description about how to write your own counter
* Add out-of-proc consumption, more samples
* formatting
* more formatting
* Add section about concurrency
* cleanup, formatting
* format
* Address PR feedback
Fix bpmd on Windows by implementing IDataTarget2 which allows the DAC to allocate a JIT notification
table which is empty on Windows. Issue https://github.com/dotnet/diagnostics/issues/584.
Add SetRuntimeLoadedCallback lldb service for bpmd
Allow bpmd to work before coreclr is loaded. Issue https://github.com/dotnet/diagnostics/issues/15
Upgrade to symstore 1.0.55801
Set/reset symbol server path anytime .sympath changes
Add lldb h files to plugin project
Add bpmd tests. Update readme and help docs
* Fix flaw in configuration parser error detection for negative clauses
* Logging paths can't have wildcards, but runtime specifiers can and this is used in our log names. In that case I resorted to use <Major.Minor.Patch> as the version for the log while preserving old behavior. That way xUnit still displays the full arg list for test disambiguation, but the logs only contain valid file names
Use the AzDO pipeline reporter for xUnit style tests:
- This adds a per test report per run.
- Reports are now seen in the tests tab of a pipeline run as well as a tally in GitHub
Adds the following options to the test helper condition attributes:
* Contains(string, string)
* StartsWith(string, string)
* EndsWith(string, string)
And adds argument validation that throws exception - to prevent any more tests to be skipped silently.
* Wait for process exit independently of waiting for stream flushing
Before, the ProcessRunner waited for the process completion as well as stream
buffer flushing for stdout and stderr. This is problematic if the process
it ran dies, but its spawned child processes keep the defunct's standard
streams alive by redirecting to them. We have had no way of harvesting
the children, so this process hung the runner.
After this change, we wait for the spawned process to die. As soon as that happens,
we give the pipes a grace period of 15 seconds to flush, after which we assume
the process is dead. This has the shortcoming of two potentially problematic
situations:
- We've potentially left an unobserved aggregate exception unobserved that will throw
on the finalizer thread once the tasks get collected in exceptional cases.
- This might leak threadpool threads.
This reverts commit 0efe77744d.
Not ready for the new CentOS 7 image with lldb 9.0 and the cross build images fail because build-native.sh needs to use clang 9.0 and the alpine image fails just building managed code with:
##[error].packages/microsoft.build.tasks.git/1.0.0-beta2-19270-01/build/Microsoft.Build.Tasks.Git.targets(16,5): error : The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.
at LibGit2Sharp.Core.NativeMethods.git_buf_free(GitBuf buf)
at LibGit2Sharp.Core.Proxy.git_buf_free(GitBuf buf)
at LibGit2Sharp.Core.Handles.GitBuf.Dispose()
at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
at LibGit2Sharp.Core.Proxy.git_repository_discover(FilePath start_path)
at LibGit2Sharp.Repository.Discover(String startingPath)
at Microsoft.Build.Tasks.Git.GitOperations.LocateRepository(String directory) in /_/src/Microsoft.Build.Tasks.Git.Operations/GitOperations.cs:line 26
at Microsoft.Build.Tasks.Git.RepositoryTasks.LocateRepository(LocateRepository task) in /_/src/Microsoft.Build.Tasks.Git.Operations/RepositoryTasks.cs:line 58
/datadisks/disk1/workspace/_work/1/s/.dotnet/sdk/3.0.100/Roslyn/Microsoft.Managed.Core.targets(102,5): error : SourceRoot items must include at least one top-level (not nested) item when DeterministicSourcePaths is true [/datadisks/disk1/workspace/_work/1/s/src/SOS/lldbplugin.tests/TestDebuggee/TestDebuggee.csproj]