Граф коммитов

425 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] 8d47a6b654
Update dependencies from https://github.com/dotnet/arcade build 20191215.1 (#699)
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19615.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19615.1
2019-12-16 13:47:32 +00:00
dotnet-maestro[bot] e94ff157fd
Update dependencies from https://github.com/aspnet/AspNetCore build 20191214.22 (#698)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19614.22
2019-12-15 13:40:31 +00:00
Mike McLaughlin 7f61b4932b
Revert back to 3.0.100 SDK version (#697) 2019-12-14 16:50:53 -08:00
Mike McLaughlin fd2d3d30b9
Fix scheduled build (#696) 2019-12-14 15:33:57 -08:00
Mike McLaughlin 19eb443665
Fix various issues (#690)
Issue: https://github.com/dotnet/diagnostics/issues/673

SymbolReader doesn't support UNC symbol paths. Issue: https://github.com/dotnet/diagnostics/issues/674

Add -all gcroot option to docs. Issue: https://github.com/dotnet/diagnostics/issues/632

Better doc clrstack -all and other options. Issue: https://github.com/dotnet/diagnostics/issues/576

Doc RHEL lldb install. Issue: https://github.com/dotnet/diagnostics/issues/483

Add setclrpath command to dotnet-dump on linux. Mentioned in https://github.com/dotnet/diagnostics/issues/624

Issue: https://github.com/dotnet/diagnostics/issues/590

Add -timeout option to SetSymbolServer command. Issue: https://github.com/dotnet/diagnostics/issues/602

Use CommandPlatform on Windows specific commands

Don't use the desktop clr to host SOS managed code.

Don't allow dumplog on desktop clr target.

Cleanup SOSHost "is runtime" checks.

Removed unneeded install of the x86 SDK in InstallRuntimes.proj

Fix SOS on Windows where it needs to download the DAC but the symbol
server store was never initialized from the .sympath. This is even
more important when both coreclr and desktop clr are loaded in the
process/minidump.

Update to 3.0.1 runtime version
2019-12-14 15:29:42 -08:00
dotnet-maestro[bot] 49ff7a2091
Update dependencies from https://github.com/dotnet/arcade build 20191213.1 (#694)
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19613.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19613.1
2019-12-14 18:40:26 +00:00
dotnet-maestro[bot] d890cecf0b
Update dependencies from https://github.com/aspnet/AspNetCore build 20191213.21 (#695)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19613.21
2019-12-14 13:39:36 +00:00
Mike McLaughlin 9ddf812c6d
Use darc runtime subscription versions for testing (#682)
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/423
           https://github.com/dotnet/diagnostics/issues/480
2019-12-13 14:47:52 -08:00
dotnet-maestro[bot] 648c6fdfe0
[master] Update dependencies from aspnet/AspNetCore (#688)
* Update dependencies from https://github.com/aspnet/AspNetCore build 20191211.17

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19611.17

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191212.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19612.8
2019-12-13 14:03:42 +00:00
Sung Yoon Whang b2660b8fd1
Fix GCEvent test being flakey (#689)
* Fix GCEvent test being flakey

* Fix build
2019-12-12 15:16:18 -08:00
Sean-Driscoll 6206c626b4 Incorrect tool referenced (#687) 2019-12-12 06:28:49 -08:00
dotnet-maestro[bot] fea5fdddeb
Update dependencies from https://github.com/aspnet/AspNetCore build 20191210.3 (#684)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19610.3
2019-12-11 14:36:56 +00:00
jiangzeng01 ae56e6d7a8 Fix ContentionEvents test to make it more stable (#683) 2019-12-11 02:39:26 -08:00
jiangzeng01 32bfa676bd Add EventPipe events test (#659) 2019-12-10 17:37:20 -08:00
Mike McLaughlin 10339ed7aa
Prepare SOS for single file support and add desktop CLR support (#658)
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
2019-12-09 21:46:15 -08:00
Mike McLaughlin 125ea40662
Upgrade to latest System.CommandLine version (#668)
Upgrade to latest System.CommandLine version

Use collection initializers
2019-12-06 15:13:16 -08:00
dotnet-maestro[bot] 7df57cc8b9
Update dependencies from https://github.com/aspnet/AspNetCore build 20191205.16 (#672)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19605.16
2019-12-06 13:49:39 +00:00
Sung Yoon Whang 2e62169c60
Microsoft.Diagnostics.NETCore.Client Implementation (#617)
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.
2019-12-05 16:19:51 -08:00
Sung Yoon Whang cf73548eeb
dotnet-counters JSON Exporter improvements (#666)
* make timestamp non culture-sensitive, change 'counter type' to 'counterType'

* Remove more spaces from the JSON
2019-12-05 13:23:25 -08:00
Adam Sitnik 42f505ef91 SpeedScope handles only CPU samples, events are not supported (#661) 2019-12-05 11:19:43 -08:00
Adam Sitnik d42c43cd07 add missing README.md files for global tools (#662)
* add missing README.md files for global tools

* use relative link
2019-12-04 13:30:47 -08:00
dotnet-maestro[bot] 288a82ff0e
Update dependencies from https://github.com/aspnet/AspNetCore build 20191203.5 (#665)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19603.5
2019-12-04 13:51:20 +00:00
dotnet-maestro[bot] c9108a70fb
Update dependencies from https://github.com/aspnet/AspNetCore build 20191202.2 (#660)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19602.2
2019-12-03 13:50:56 +00:00
dotnet-maestro[bot] 90c5cb42b4
Update dependencies from https://github.com/aspnet/AspNetCore build 20191201.2 (#657)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19601.2
2019-12-02 13:50:40 +00:00
dotnet-maestro[bot] f49debf8ca
Update dependencies from https://github.com/aspnet/AspNetCore build 20191128.4 (#656)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19578.4
2019-11-29 13:50:48 +00:00
dotnet-maestro[bot] b5d6ae917a
Update dependencies from https://github.com/aspnet/AspNetCore build 20191127.15 (#655)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19577.15
2019-11-28 13:50:27 +00:00
Paul Harrington 446d8c3800 Avoid exceptions when console is not available (#644)
* Do not manipulate cursor if Console not available

* Use console.GetTerminal() to test for console
2019-11-27 10:41:29 -08:00
Sung Yoon Whang 51d3b880d2
Add documentation on EventCounters (#605)
* 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
2019-11-26 16:00:30 -08:00
dotnet-maestro[bot] bf0ecc50c6
Update dependencies from https://github.com/aspnet/AspNetCore build 20191125.10 (#650)
- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19575.10
2019-11-26 13:49:43 +00:00
Mike McLaughlin 84c52f6c94
Fix Windows X86 SOS test failures (#647) 2019-11-25 15:39:18 -08:00
Juan Hoyos 3b1334ff3d
Add dependencies on testing packages (#640) 2019-11-23 11:26:01 -08:00
Mike McLaughlin 0ab857cc30
Test 3.1 runtime, stop testing on 1.1 and 2.2 (#639)
Update help doc with some missing aliases.
2019-11-23 11:25:53 -08:00
Sung Yoon Whang 21cf588c9b
Make dotnet-counters aware of DisplayUnits (#642) 2019-11-22 18:26:47 -08:00
Andy Sterland 32f49ac31e list-processes -> ps (#641)
It looks like list-processes is no longer a command and instead it's ps.
2019-11-22 17:10:39 -08:00
Mike McLaughlin 16ae730912
Add 3.1 to the installed host runtimes (#636)
Add 3.1 to the installed host runtimes

Don`t enable exception callback if bpmd hasn't been executed
2019-11-21 18:22:25 -08:00
Andrew Au 7fef83c075
Adding a documentation page for using a privately build sos (#626) 2019-11-19 16:12:56 -08:00
John Salem 6dd0789c9b
add eventpipe test harness (#618)
* Add eventpipe test harness to diagnostics repo
2019-11-19 15:10:29 -08:00
Juan Hoyos 9afb8ece50
Fix flushing of string builder for multi-parameter conditions (#625) 2019-11-19 09:47:59 -08:00
Mike McLaughlin 367aa5cd43
Fix bpmd on Windows and other changes (#622)
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
2019-11-18 14:59:18 -08:00
Juan Hoyos b7a24c4019
Fix config parser and logging path to support (#620)
* 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
2019-11-15 10:50:26 -08:00
Juan Hoyos 878f220fb8
Try using the test reporter to report tests (#615)
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
2019-11-14 11:54:22 -08:00
Juan Hoyos 850fa77cf9
Add new function options to conditions in test runner (#611)
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.
2019-11-14 11:40:42 -08:00
John Salem 2fc71674ef
Fix default PID value and add rollforward forgcdump (#614)
* Prevent default value for pid
add roll forward runtimeconfig to dotnet-gcdump

* Change default to 0 and modify error message

* Change error message
2019-11-14 10:57:27 -08:00
Juan Hoyos f43ad930d2
Wait for process exit independently of waiting for stream flushing (#612)
* 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.
2019-11-13 15:53:48 -08:00
Sung Yoon Whang a38b048e24
Draft Proposal for Diagnostics Client Library (a.k.a. "Runtime Client Library") (#574) 2019-11-13 15:05:28 -08:00
Sung Yoon Whang aa15cffb4b
Add counters tests to the diagnostics solution file to get it tested on automation (#609) 2019-11-12 15:34:45 -08:00
Denis Andrejew 40080dd548 fix typo in README.md (#608) 2019-11-09 02:21:19 -08:00
Sung Yoon Whang 7ab497e2f8
Fix formatting error in dotnet-counters doc (#604) 2019-11-08 14:36:46 -08:00
Mike McLaughlin 7d343eedf8
Revert "Update the docker images used to have a newer version of CMake. (#597)" (#598)
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]
2019-11-06 18:24:12 -08:00
Jeremy Koritzinsky 0efe77744d Update the docker images used to have a newer version of CMake. (#597) 2019-11-06 16:32:29 -08:00