platform/upstream/dotnet/runtime.git
5 years agoUpdate dependencies from dotnet/coreclr (dotnet/corefx#35051)
dotnet-maestro[bot] [Sun, 3 Feb 2019 16:38:37 +0000 (16:38 +0000)]
Update dependencies from dotnet/coreclr (dotnet/corefx#35051)

* Update dependencies from https://github.com/dotnet/coreclr build 20190201.72

This change updates the following dependencies
- Microsoft.NET.Sdk.IL - 3.0.0-preview-27401-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview-27401-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview-27401-72

* Update dependencies from https://github.com/dotnet/coreclr build 20190202.72

This change updates the following dependencies
- Microsoft.NET.Sdk.IL - 3.0.0-preview-27402-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview-27402-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview-27402-72

* Fixing various tests that have new behavior due to the string formatting changes for double/float.

Commit migrated from https://github.com/dotnet/corefx/commit/ebf1c9753ab5624c967b0dbd352b1e73805b1fe5

5 years agoMove Interop.GetTimestamp.cs to shared CoreLib partition. (dotnet/corefx#35031)
Filip Navara [Sun, 3 Feb 2019 01:35:39 +0000 (02:35 +0100)]
Move Interop.GetTimestamp.cs to shared CoreLib partition. (dotnet/corefx#35031)

Commit migrated from https://github.com/dotnet/corefx/commit/c28f9c24d236d4d254d8299897e981ccf6492431

5 years agoUpdate ProjectNTfs, ProjectNTfsTestILC to beta-27401-00, beta-27401-00, respectively
dotnet-maestro-bot [Sat, 2 Feb 2019 06:49:37 +0000 (22:49 -0800)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-27401-00, beta-27401-00, respectively

Commit migrated from https://github.com/dotnet/corefx/commit/c8da75f0b3fa5742d4aa9b4456be8cc9f4835511

5 years agoCleanup security permission and resource consumption attribute references (dotnet...
Jan Kotas [Sat, 2 Feb 2019 08:09:09 +0000 (00:09 -0800)]
Cleanup security permission and resource consumption attribute references (dotnet/corefx#35042)

Commit migrated from https://github.com/dotnet/corefx/commit/2c2e4a599889652ec579a870054b0f8915ea70fd

5 years agoAdding Kill(bool entireProcessTree) -- terminates a process tree (dotnet/corefx#34147)
Ben Gribaudo [Sat, 2 Feb 2019 01:09:16 +0000 (19:09 -0600)]
Adding Kill(bool entireProcessTree) -- terminates a process tree (dotnet/corefx#34147)

* Adding Kill(bool entireProcessTree)

* Slightly cleaning up NtQueryInformationProcess interop code

* Trimming down PROCESSINFOCLASS enum members

* Refactoring--adjusting indents, changing param from ref to out, etc.

* Revising NtQueryInformationProcess-related code

* Comment & indentation tweaks

* TryGetParentProcessId -> GetParentProcessId rename/refactoring -- includes eliminating the output parameter

* Removing UAP double-definition of KillTree()

* Moving code so that not included in Uap build & tests so that not included in Uap and NetFx builds

* Moving relevant code from Windows -> Win32

* Moving relevant code from Windows -> Win32

* Working to satisfy contract for Uap (code written to fail test to verify that it works)

* Typo fix (missing return signature)

* Removing unneeded Uap-specific test file

* Adding temp. test to verify that UAP CI is catching test failures.

* Using lists (vs. enumerables) as test assert arguments

* Giving Kill() a moment to take effect

* Removing whitespace

* Removing irrelevant comment

* Revising initial check that ensures process has started.

* Moving process tree creation outside of finally

* Adding retry logic to tests

* Adjusting retry times/delay

* Adding backoff to retry helper

* Introducing non-auto-dispose variant of CreateProcess; refactoring

* Improving exception handling

* Moving catch

* Minor refactoring/reformatting

* Testing test execution by CI

* Partially removing code testing CI system

* Experimenting with implementing on OSX

* Adding cast

* Re-adding [ActiveIssue] attribute accidentally removed

* Re-adding inadvertently-removed commented-out test attributes

* Allowing aggregated Win32Exceptions to propagate out; disallowing calling Kill(true) on tree containing caller

* Adjusting test attributes, removing CI verification test, adjusting expected exception

* Marking non-local process test as platform-specific

* Adding PlatformNotSupported throw for Uap.

* Adding missing closing XML tag

* XML doc tag tweak

* Cleaning up two merge artifacts (whitespace + comment)

* Adding console output for debugging

* Fixing typo

* Removing logging to console

* Removing unused parameter

* Unix & OSX exception tweaks

* Variable rename

* Whitespace tweak

* Refactoring IsInTreeOf to use @danmosemsft's optimization suggestion; Renaming method

* Missed a rename

* Tweaking

* Reworking IsSelfOrDescendant to use refactored GetChildProcesses

* Minor fix

* Applying minor tweaks suggested by @krwq

* Adding a delay safety cutoff to RetryWithBackoff per
@krwq's suggestion.

* Adjusting backoff delay max to 10 seconds.

* IsSelfOrDescendant -> IsSelfOrDescendantOf

* Unix: If Stop() fails, don't try to continue with the process (thanks @tmds!).

* Fixing typo.

* Adding comments about kill/stop returning before termination/stopping completes.

* Adding comment.

Commit migrated from https://github.com/dotnet/corefx/commit/81bd671efda5db20fae1eb381aeff2cf8ea727ac

5 years agoAdd TypeConverterAttribute tests and fix bugs (dotnet/corefx#35019)
Hugh Bellamy [Sat, 2 Feb 2019 00:00:18 +0000 (00:00 +0000)]
Add TypeConverterAttribute tests and fix bugs (dotnet/corefx#35019)

Commit migrated from https://github.com/dotnet/corefx/commit/93ecfc6e1e5646328b85e113409de7797774fb97

5 years agoFilter symbols by shipping and non-shipping for BAR metadata (dotnet/corefx#35028)
Santiago Fernandez Madero [Fri, 1 Feb 2019 23:50:55 +0000 (15:50 -0800)]
Filter symbols by shipping and non-shipping for BAR metadata (dotnet/corefx#35028)

Commit migrated from https://github.com/dotnet/corefx/commit/75a42d467d617b04cd4c0daae8ff185cb82bc73b

5 years agoRemove stale warning 420 pragmas (dotnet/corefx#35023)
Stephen Toub [Fri, 1 Feb 2019 19:57:35 +0000 (14:57 -0500)]
Remove stale warning 420 pragmas (dotnet/corefx#35023)

It used to be that the CS0420 warning ("a reference to a volatile field will not be treated as volatile") would fire when a volatile was used with an Interlocked.* operation.  That warning was unnecessary, as Interlocked.* would itself provide the relevant barriers, and these functions were special cased in Roslyn a long time ago.  But there are still lots of places where pragmas disabling the warning have stuck around.  I'm deleting them.

Commit migrated from https://github.com/dotnet/corefx/commit/8b3446f4e8ad1a7b19c7298e20396629c6e0092e

5 years agoMove corefx dependencies to itself to consume from BAR (dotnet/corefx#34981)
Santiago Fernandez Madero [Fri, 1 Feb 2019 19:25:46 +0000 (11:25 -0800)]
Move corefx dependencies to itself to consume from BAR (dotnet/corefx#34981)

Commit migrated from https://github.com/dotnet/corefx/commit/38c9269a1152be6f5b157f78b1d95c4bb1997127

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19101.1, beta-27401-00...
dotnet-maestro-bot [Fri, 1 Feb 2019 18:07:37 +0000 (10:07 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19101.1, beta-27401-00, beta-27401-00, respectively (dotnet/corefx#35015)

Commit migrated from https://github.com/dotnet/corefx/commit/bd3cb6968320e3f2fc0397036e7420e774e1b558

5 years agoFix time conversion in SystemNative_GetCpuUtilization (dotnet/corefx#35017)
Filip Navara [Fri, 1 Feb 2019 12:52:54 +0000 (13:52 +0100)]
Fix time conversion in SystemNative_GetCpuUtilization (dotnet/corefx#35017)

Commit migrated from https://github.com/dotnet/corefx/commit/0d41c895ff6e3094e1e8105a9bb6b4cf3d985bd7

5 years agoEnable TLS channel binding token for NTLM authentication on Linux (dotnet/corefx...
David Shulman [Fri, 1 Feb 2019 01:31:03 +0000 (17:31 -0800)]
Enable TLS channel binding token for NTLM authentication on Linux (dotnet/corefx#34998)

This PR adds support for passing in the computed TLS channel binding
token (cbt) into the gssapi during NTLM authentication. This included
removing the code that threw the PlatformNotSupported exception.

No new tests were added to this PR since it requires machine changes
to test. However, I manually tested various combinations of NTLM
authentication including when the server requires (or NOT) the cbt
to be used. Currently only Windows Servers uses this functionality
as part of the "Extended Protection for Authentication" feature.

CurlHandler does not support using the cbt during NTLM authentication.
This is a problem with libcurl itself.

As part of this PR I removed a redundant assert and refactored the
SecChannelBindings structure into src/Common.

Fixes dotnet/corefx#34879

Commit migrated from https://github.com/dotnet/corefx/commit/6575de65608c95717b2a032b689adae32378778f

5 years agoDiable System.Net.Http.FunctionalTests parallel execution on UAP run (dotnet/corefx...
Caesar Chen [Thu, 31 Jan 2019 23:55:40 +0000 (15:55 -0800)]
Diable System.Net.Http.FunctionalTests parallel execution on UAP run (dotnet/corefx#35004)

* diable parallel execution

* fix format....

* address feedback

Commit migrated from https://github.com/dotnet/corefx/commit/5543097d8b6039dedffdcd8b8e713de38e5a1ece

5 years agoUpdate CoreFx to preview.19081.2 (dotnet/corefx#35005)
dotnet-maestro-bot [Thu, 31 Jan 2019 23:37:13 +0000 (15:37 -0800)]
Update CoreFx to preview.19081.2 (dotnet/corefx#35005)

Commit migrated from https://github.com/dotnet/corefx/commit/154e8eaad6b79393af8ac9745c7f49c92cfbbf7a

5 years agoRe-enable disabled DecimalTestData (dotnet/corefx#34975)
Stephen Toub [Thu, 31 Jan 2019 20:28:35 +0000 (15:28 -0500)]
Re-enable disabled DecimalTestData (dotnet/corefx#34975)

Commit migrated from https://github.com/dotnet/corefx/commit/6e56a8fa5e237e5d9789a08918bf22d0fde4d785

5 years agoRefactor pre-test targets (dotnet/corefx#34973)
Eric StJohn [Thu, 31 Jan 2019 20:07:42 +0000 (12:07 -0800)]
Refactor pre-test targets (dotnet/corefx#34973)

* Refactor pre-test targets

Moves pre-testing targets to their own project that builds after others, rather than as targets in dirs.proj.

Use the GenerateTestSharedFrameworkDepsFile from the CoreFxTesting package rather than from buildtools.

* Manually update Arcade to latest

Commit migrated from https://github.com/dotnet/corefx/commit/f1336fa043309e587dee5e3d59ee04249ddff97b

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19081.1, beta-27331-00...
dotnet-maestro-bot [Thu, 31 Jan 2019 17:10:21 +0000 (09:10 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19081.1, beta-27331-00, beta-27331-00, respectively (dotnet/corefx#34978)

Commit migrated from https://github.com/dotnet/corefx/commit/e849d7a98d8137a0d0d325f7c610b36c3903250f

5 years agoMirror changes from dotnet/coreclr (dotnet/corefx#34987)
Stephen Toub [Thu, 31 Jan 2019 17:09:58 +0000 (12:09 -0500)]
Mirror changes from dotnet/coreclr (dotnet/corefx#34987)

* Reverting "Fixing up the UTF8Formatter and some tests to properly handle -0.0" (dotnet/corefx#22300)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
* Add managed implementation of GetSystemMaxDBCSCharSize (dotnet/corefx#22290)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/corefx/commit/35a2040b73969b0d69a3cc0d358eb91c5238de26

5 years agoManual darc update for arcade and coreclr (dotnet/corefx#34977)
Santiago Fernandez Madero [Thu, 31 Jan 2019 17:09:37 +0000 (09:09 -0800)]
Manual darc update for arcade and coreclr (dotnet/corefx#34977)

* Remove target to print MCUrl now that helix sdk always prints it

* Run darc update for dotnet/arcade

* Run darc update for dotnet\coreclr

* Fix build after Environment pushed down to coreclr

Commit migrated from https://github.com/dotnet/corefx/commit/28c46ef8a123864178c099580b7eb3c8eda3f495

5 years agoExpose/test IAsyncDisposable.ConfigureAwait (dotnet/corefx#34783)
Stephen Toub [Thu, 31 Jan 2019 15:21:30 +0000 (10:21 -0500)]
Expose/test IAsyncDisposable.ConfigureAwait (dotnet/corefx#34783)

Commit migrated from https://github.com/dotnet/corefx/commit/e6939de2997edf49444ac2c12ad22d5d5f6dea89

5 years agoFix build break due to 'W'
Stephen Toub [Wed, 30 Jan 2019 22:01:42 +0000 (17:01 -0500)]
Fix build break due to 'W'

Commit migrated from https://github.com/dotnet/corefx/commit/94e9d02ad70b2224d012ac4a66eaa1f913ae4f29

5 years agoFix several related inheritability bugs on Unix (dotnet/corefx#34967)
Stephen Toub [Thu, 31 Jan 2019 14:46:39 +0000 (09:46 -0500)]
Fix several related inheritability bugs on Unix (dotnet/corefx#34967)

- AnonymousPipeServerStream accepts a HandleInheritability value.  When it's set to None, both ends of the pipe are correctly created as O_CLOEXEC to prevent them from being inherited.  However, when it's set to Inheritable, we're not marking either end of the pipe as O_CLOEXEC, which means both file descriptors are inherited by the child process.  While technically that meets the letter of the law as to what the API requires, in the 99.9% use case the server handle really isn't intended to be inherited, and rather it's only the client handle that is; by allowing the server handle to also be inherited, when the server closes its end of the pipe, the client doesn't get an EOF or broken pipe, because it still has its dup of the file descriptor open, and will for the lifetime of the process.  The fix is to always mark the server file descriptor as O_CLOEXEC even if the inheritability is set to Inheritable.
- NamedPipeServer/ClientStream is built on Socket.  Previously, sockets defaulted to being inheritable, but we changed that for .NET Core 3.0, such that they're now not inherited.  But the pipe code was written expecting the default of Inheritable, and has an if block that says "if inheritability requested was not inheritable, then set O_CLOEXEC"; that now needs to be flipped to say "if inheritability was requested, clear O_CLOEXEC".
- MemoryMappedFile has a similar issue.  It tries to use shm_open to create the backing store, but shm_open defaults to having O_CLOEXEC set, and so if Inheritabile was requested, we're neglecting to clear the O_CLOEXEC flag.

Commit migrated from https://github.com/dotnet/corefx/commit/e5d6c6fc20e72c9d5ba3214f99c25f418bcff0a0

5 years agoBring back hooks to AddRuntimeProjectReference from buildtools (dotnet/corefx#34979)
Santiago Fernandez Madero [Thu, 31 Jan 2019 14:28:37 +0000 (06:28 -0800)]
Bring back hooks to AddRuntimeProjectReference from buildtools (dotnet/corefx#34979)

Commit migrated from https://github.com/dotnet/corefx/commit/38b2d1d4e298a717d99adadcfb0803a8e2a0b04f

5 years agoAdd test for new CancellationTokenSource(0) (dotnet/corefx#34832)
Stephen Toub [Thu, 31 Jan 2019 14:26:38 +0000 (09:26 -0500)]
Add test for new CancellationTokenSource(0) (dotnet/corefx#34832)

Validate correct behavior when a CTS is constructed to be immediately canceled via a 0 timeout.

Commit migrated from https://github.com/dotnet/corefx/commit/fdf1d66f37cc09e2b9de05eadcaa14c9dd5fb223

5 years agoUpdate CoreFx, CoreFxOptimizationData to preview.19080.4, master-20190130.3, respecti...
dotnet-maestro-bot [Thu, 31 Jan 2019 04:31:22 +0000 (20:31 -0800)]
Update CoreFx, CoreFxOptimizationData to preview.19080.4, master-20190130.3, respectively (dotnet/corefx#34971)

Commit migrated from https://github.com/dotnet/corefx/commit/4e7ce8acfae39beab8c30053d3da95417b5a16dc

5 years agoMerge pull request dotnet/corefx#34956 from dotnet/darc-master-53aad4d1-974a-49c0...
Stephen Toub [Thu, 31 Jan 2019 01:05:49 +0000 (20:05 -0500)]
Merge pull request dotnet/corefx#34956 from dotnet/darc-master-53aad4d1-974a-49c0-b59b-ba0be0d0481f

Update dependencies from dotnet/coreclr

Commit migrated from https://github.com/dotnet/corefx/commit/9e074e4a3f3626fa953f36ab79e3cd3e6db1c9de

5 years agoHandle the case where the Marshal.ThrowExceptionForHR is inlined in (dotnet/corefx...
Aaron Robinson [Thu, 31 Jan 2019 01:03:40 +0000 (17:03 -0800)]
Handle the case where the Marshal.ThrowExceptionForHR is inlined in (dotnet/corefx#34968)

the test assembly and the Source isn't corlib.

Commit migrated from https://github.com/dotnet/corefx/commit/09bac5feb0e4c2a015102e021536a031b8d10ef4

5 years agoMerge branch 'master' into darc-master-53aad4d1-974a-49c0-b59b-ba0be0d0481f
Stephen Toub [Wed, 30 Jan 2019 23:03:01 +0000 (18:03 -0500)]
Merge branch 'master' into darc-master-53aad4d1-974a-49c0-b59b-ba0be0d0481f

Commit migrated from https://github.com/dotnet/corefx/commit/601b264612cdba4f4a1896324eaf5e34807c9113

5 years agoDisable decimal tests that'll fail until an updated coreclr arrives
Stephen Toub [Wed, 30 Jan 2019 22:46:23 +0000 (17:46 -0500)]
Disable decimal tests that'll fail until an updated coreclr arrives

Commit migrated from https://github.com/dotnet/corefx/commit/709f3ab1178df667e10b3929d19c2dcf49da7c15

5 years agoMerge pull request dotnet/corefx#34796 from wtgodbe/ApiCompatNS21
William Godbe [Wed, 30 Jan 2019 22:42:24 +0000 (14:42 -0800)]
Merge pull request dotnet/corefx#34796 from wtgodbe/ApiCompatNS21

Run APICompat for netstandard2.1 vs netcoreapp3.0

Commit migrated from https://github.com/dotnet/corefx/commit/ee57e77c81a18ced855685f519b521e6a34d9821

5 years agosome misc typos and wording fixes in eventcounter tutorial (dotnet/corefx#34960)
Sung Yoon Whang [Wed, 30 Jan 2019 21:45:22 +0000 (13:45 -0800)]
some misc typos and wording fixes in eventcounter tutorial (dotnet/corefx#34960)

Commit migrated from https://github.com/dotnet/corefx/commit/7cbda74a0bbee1321c6966891bca6c7aba520aef

5 years agoImprove handling of HTTP/2 frames received on closed stream (dotnet/corefx#34629)
Max Kerr [Wed, 30 Jan 2019 21:40:28 +0000 (13:40 -0800)]
Improve handling of HTTP/2 frames received on closed stream (dotnet/corefx#34629)

* Basic support for GoAway frames.

* Review feedback.

* Remove go-away frame handling, add testing to ensure that the loopback server closes the connection instead.

* Remove comma.

* Change error code to reflect the actual failure mode.

* Correct swapped error codes.

Commit migrated from https://github.com/dotnet/corefx/commit/47f6404357832466585f06d5c9ee07ed2f7a27a4

5 years agoRemove UpdateVSConfigurations (dotnet/corefx#34952)
Eric StJohn [Wed, 30 Jan 2019 21:04:45 +0000 (13:04 -0800)]
Remove UpdateVSConfigurations (dotnet/corefx#34952)

* Update Microsoft.DotNet.Build.Tasks.Configuration to build 20190129.6

* Use UpdateVSConfigurations from arcade

Commit migrated from https://github.com/dotnet/corefx/commit/d0997060a80f41d4c03c0f8cc2b8ce5ac40ec941

5 years agoadd Fact attribute instead of removed ConditionalFact (dotnet/corefx#34962)
Tomas Weinfurt [Wed, 30 Jan 2019 20:58:02 +0000 (12:58 -0800)]
add Fact attribute instead of removed ConditionalFact (dotnet/corefx#34962)

Commit migrated from https://github.com/dotnet/corefx/commit/dfd25d13a9d0f5f86d3964eb5bf6b33b7b22a3cc

5 years agoUpdate comment
wtgodbe [Wed, 30 Jan 2019 20:46:50 +0000 (12:46 -0800)]
Update comment

Commit migrated from https://github.com/dotnet/corefx/commit/4fc403006af495aa8c66f528998703473c51e854

5 years agoUpdate baseline files
wtgodbe [Fri, 25 Jan 2019 00:00:58 +0000 (16:00 -0800)]
Update baseline files

Commit migrated from https://github.com/dotnet/corefx/commit/5f251504a1a523bed7f81d6aff86fbc2a8409aeb

5 years agoRun APICompat for netstandard2.1 vs netcoreapp3.0
wtgodbe [Fri, 18 Jan 2019 00:01:06 +0000 (16:01 -0800)]
Run APICompat for netstandard2.1 vs netcoreapp3.0

Commit migrated from https://github.com/dotnet/corefx/commit/c05b1971dc2e554522218810f663f534b75934e6

5 years agoEnable tests for UAPAOT x86 and x64 official builds (dotnet/corefx#34940)
Santiago Fernandez Madero [Wed, 30 Jan 2019 18:24:09 +0000 (10:24 -0800)]
Enable tests for UAPAOT x86 and x64 official builds (dotnet/corefx#34940)

* Enable tests for UAPAOT x86 and x64 official builds

* Manually update CoreFxTesting package

Commit migrated from https://github.com/dotnet/corefx/commit/9e9bc17c701860ceb80525ea50aee9e08a7173a8

5 years agoFix link to interop-pinvokes.md
Jan Kotas [Wed, 30 Jan 2019 17:55:14 +0000 (09:55 -0800)]
Fix link to interop-pinvokes.md

Commit migrated from https://github.com/dotnet/corefx/commit/c5118d8a571b75b6333893b7be8d4a0c77dedd1e

5 years agoTemporarily give System.Runtime.Extensions its own Environment.* copy (dotnet/corefx...
Stephen Toub [Wed, 30 Jan 2019 17:53:04 +0000 (12:53 -0500)]
Temporarily give System.Runtime.Extensions its own Environment.* copy (dotnet/corefx#34951)

The files were moved to shared to propagate them to coreclr.  But changes being made in coreclr are going to break System.Runtime.Extensions when the files mirror back.  As a temporary stop-gap, I'm creating local copies of the files and taking System.Runtime.Environment off of the shared copies.  Then once coreclr builds with the updates and corefx consumes the updated coreclr, we'll just delete these temporary copies and remove the relevant entries entirely from System.Runtime.Extensions.

Commit migrated from https://github.com/dotnet/corefx/commit/2f6536eb0a2f6ac246f99382d0235dffd75eb1c4

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19079.11, beta-27330-00...
dotnet-maestro-bot [Wed, 30 Jan 2019 14:20:08 +0000 (06:20 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19079.11, beta-27330-00, beta-27330-00, respectively (dotnet/corefx#34936)

Commit migrated from https://github.com/dotnet/corefx/commit/f30910f1bf38f0caaefcd443072b025cfe2c7293

5 years agoFlow Thread.CurrentPrincipal with ExecutionContext (dotnet/corefx#34747)
Marco Rossignoli [Wed, 30 Jan 2019 12:48:28 +0000 (13:48 +0100)]
Flow Thread.CurrentPrincipal with ExecutionContext (dotnet/corefx#34747)

* flow Thread.CurrentPrincipal with ExecutionContext

* fix netfx test

* address PR feedback

* address PR feedback

* try to make test more reliable using StartNew(), removed from NetFramework

* address PR feedback

* nit: extraline

* add null set test

* nit: extraline, again...

* rename test

* apply Stephen fix

* nit: typos

* address PR feedback

* nit: update comment

Commit migrated from https://github.com/dotnet/corefx/commit/bab35ecc6f3f94215705d109d5094c1b3c461992

5 years agoremoved project-priorities link from docs readme (dotnet/corefx#34945)
Meir Blachman [Wed, 30 Jan 2019 12:45:32 +0000 (14:45 +0200)]
removed project-priorities link from docs readme (dotnet/corefx#34945)

Commit migrated from https://github.com/dotnet/corefx/commit/d02107dcf324fb52312add364d743b1a15d1e7ff

5 years agoSeed the porting guide for going from Json.NET to System.Text.Json. (dotnet/corefx...
Ahson Khan [Wed, 30 Jan 2019 12:43:02 +0000 (04:43 -0800)]
Seed the porting guide for going from Json.NET to System.Text.Json. (dotnet/corefx#34944)

* Seed the porting guide for going from Json.NET to System.Text.Json.

* Fix heading capitalization.

Commit migrated from https://github.com/dotnet/corefx/commit/aa9b7c2632ae07b68c109b051faf35ea38491c63

5 years agoadd instrumentation for intermittent DNS failures (dotnet/corefx#34934)
Tomas Weinfurt [Wed, 30 Jan 2019 03:14:29 +0000 (19:14 -0800)]
add instrumentation for intermittent DNS failures (dotnet/corefx#34934)

* add instrumentation for dotnet/corefx#32797

* actually retry the lookup

* use PlatformID.Unix

Commit migrated from https://github.com/dotnet/corefx/commit/673fe7880790e79549266cea25a385af82917b6e

5 years agoChange helix queues for package testing to be RS4 (dotnet/corefx#34911)
Santiago Fernandez Madero [Wed, 30 Jan 2019 02:12:48 +0000 (18:12 -0800)]
Change helix queues for package testing to be RS4 (dotnet/corefx#34911)

Commit migrated from https://github.com/dotnet/corefx/commit/9df66573b5b80362b21103d44bc87c40042e9662

5 years agoupdate area owners (dotnet/corefx#34939)
Afsaneh Rafighi [Wed, 30 Jan 2019 02:04:50 +0000 (18:04 -0800)]
update area owners (dotnet/corefx#34939)

Commit migrated from https://github.com/dotnet/corefx/commit/50a05b377cc9c4e1082de132955740d80a713b87

5 years agoAdd System.Reflection.Emit.DynamicILInfo (dotnet/corefx#34532)
Maryam Ariyan [Wed, 30 Jan 2019 00:42:13 +0000 (16:42 -0800)]
Add System.Reflection.Emit.DynamicILInfo (dotnet/corefx#34532)

Commit migrated from https://github.com/dotnet/corefx/commit/5f177b6dce0724f3a2a2c114ba9df86987f13002

5 years agoRestore missing xunit package in aot builds (dotnet/corefx#34923)
Viktor Hofer [Tue, 29 Jan 2019 19:00:25 +0000 (20:00 +0100)]
Restore missing xunit package in aot builds (dotnet/corefx#34923)

* Include missing xunit package for aot builds

* remove obsolete condition

Commit migrated from https://github.com/dotnet/corefx/commit/a8218c53907e01109a5bbf7d8d6ef741040b41ec

5 years agoMake global tools work with helix (dotnet/corefx#34913)
Viktor Hofer [Tue, 29 Jan 2019 16:43:01 +0000 (17:43 +0100)]
Make global tools work with helix (dotnet/corefx#34913)

* Make global tools work with helix

* Add runtime dependencies as target inputs

Commit migrated from https://github.com/dotnet/corefx/commit/409c4b936defb81c09c0ed41fa3881200be14af1

5 years agoAdd outerloop legs in new CI definitions (dotnet/corefx#34871)
Santiago Fernandez Madero [Tue, 29 Jan 2019 14:07:28 +0000 (06:07 -0800)]
Add outerloop legs in new CI definitions (dotnet/corefx#34871)

* Add outerloop legs in new CI definitions

* Add Linux Debug matrix to outerloop testing

Commit migrated from https://github.com/dotnet/corefx/commit/bfc29eda3da9e9dfb5f31708ce57f0c6a74d7816

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19078.4, beta-27329-00...
dotnet-maestro-bot [Tue, 29 Jan 2019 14:04:25 +0000 (06:04 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19078.4, beta-27329-00, beta-27329-00, respectively (dotnet/corefx#34916)

Commit migrated from https://github.com/dotnet/corefx/commit/6cb6d133d2ad8f62720753739131d3fd2570e4b3

5 years agoAdd Helix definition to guide (dotnet/corefx#34888)
Marco Rossignoli [Tue, 29 Jan 2019 03:55:08 +0000 (04:55 +0100)]
Add Helix definition to guide (dotnet/corefx#34888)

* add Helix definition

* move to glossary.md

* address PR feedback

* add Azure DevOps guide

* Nits

Commit migrated from https://github.com/dotnet/corefx/commit/ddea95ce4e99c09cf48f132c17a68b70cf98a625

5 years agoCorrect link to example review (dotnet/corefx#34914)
Austin Wise [Tue, 29 Jan 2019 02:24:56 +0000 (18:24 -0800)]
Correct link to example review (dotnet/corefx#34914)

Commit migrated from https://github.com/dotnet/corefx/commit/3574c12100a719d767bfabf69b52c2be290a99a3

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19078.2, beta-27328-00...
dotnet-maestro-bot [Tue, 29 Jan 2019 01:18:34 +0000 (17:18 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19078.2, beta-27328-00, beta-27328-00, respectively (dotnet/corefx#34907)

Commit migrated from https://github.com/dotnet/corefx/commit/be21a3ec9a40a17bffdeda27747463daf997b212

5 years agoBump UAPTools version (dotnet/corefx#34819)
Viktor Hofer [Mon, 28 Jan 2019 23:27:52 +0000 (00:27 +0100)]
Bump UAPTools version (dotnet/corefx#34819)

Commit migrated from https://github.com/dotnet/corefx/commit/fcc3a911fde8cdde9ab02d2d258909e82fdd123a

5 years agoRemove buildtools imports from Directory.Build.* (dotnet/corefx#34001)
Eric StJohn [Mon, 28 Jan 2019 22:18:49 +0000 (14:18 -0800)]
Remove buildtools imports from Directory.Build.* (dotnet/corefx#34001)

* Remove buildtools imports from Directory.Build.*

Remove buildtools imports and implement remaining functionality in CoreFx.

I was able to do most of what BuildTools was doing with 3 exceptions, which will be split into separate issues.
1. Test shared framework deps file: GenerateDepsJson.  We need to port this task to arcade or change how we test to not need it.
2. codeOptimization.targets -> should be moved to arcade, work is pending.
3. optionalTooling.targets -> move to a CSProj that is restored by the official build workflow.

* Address feedack, fix unix and UAP build issues

* Fix UWP, Tizen, and AllConfigurations build

* Remove buildtools dependency from package testing

* Remove a few more buildtools dependencies

* Eliminate RunningOnUnix property

* Remove NuGetTargetMoniker from shims.proj

* Remove ResourcesFolderPath

* Fix Microsoft.XmlSerializer.Generator.Tests

* Specify NuGetTargetMoniker for shims

* Remove a couple remaining ToolsDir uses

Commit migrated from https://github.com/dotnet/corefx/commit/49d249fa023e8575dba7e35febb4446e4fa13f98

5 years agoDisable coverage status checks for project and patch (dotnet/corefx#34901)
Viktor Hofer [Mon, 28 Jan 2019 19:40:35 +0000 (20:40 +0100)]
Disable coverage status checks for project and patch (dotnet/corefx#34901)

Commit migrated from https://github.com/dotnet/corefx/commit/f70e98cb00b30184e26976b46573a8a7cbaddced

5 years agoAdd IAsyncDisposable implementations to refs (dotnet/corefx#34898)
Stephen Toub [Mon, 28 Jan 2019 19:24:56 +0000 (14:24 -0500)]
Add IAsyncDisposable implementations to refs (dotnet/corefx#34898)

Apparently when I added the DisposeAsync methods to the refs, I didn't actually mark the corresponding types as implementing the interface.  This fixes that.

Commit migrated from https://github.com/dotnet/corefx/commit/672d6b0145fca5ac5ef99ea2b9f661e45470ea73

5 years agoAdd codecov yml configuration (dotnet/corefx#34896)
Viktor Hofer [Mon, 28 Jan 2019 14:15:01 +0000 (15:15 +0100)]
Add codecov yml configuration (dotnet/corefx#34896)

Commit migrated from https://github.com/dotnet/corefx/commit/88d519be4dcda815b906ec0ff654d7ae0452e84e

5 years agoFix GSSAPI error handling (dotnet/corefx#34883)
David Shulman [Sun, 27 Jan 2019 23:41:53 +0000 (15:41 -0800)]
Fix GSSAPI error handling (dotnet/corefx#34883)

This PR addresses 3 issues in GSSAPI error handling:

* Fixes an uninitialized variable when calling gss_display_status().
This was causing the major statuscode error message to always return
'An invalid status code was supplied'.

* If the minor statuscode is 0 (GSS_S_COMPLETE), we shouldn't be calling
for the minor statuscode error message text. That is why we were always getting
'Unknown error' for that text.

* Added more text (help text) to certain errors returned from GSSAPI
such as when the NTLM plugin is not installed.

No new tests were added to this PR since it requires machine changes
to test. However, I manually tested various combinations of errors
including when 'gss-ntlmssp' is installed or not.

In terms of dotnet/corefx#34877, the exception message goes from:

>GSSAPI operation failed with error - An invalid status code was supplied (Unknown error).

to

>GSSAPI operation failed with error - An unsupported mechanism was requested. NTLM authentication requires the GSSAPI plugin 'gss-ntlmssp'.

Fixes dotnet/corefx#34877

Commit migrated from https://github.com/dotnet/corefx/commit/eec001d96a68376c0e504eb7635c8edec196f90f

5 years agoAdd test using short timeout throws WebException (dotnet/corefx#34856)
Maryam Ariyan [Sat, 26 Jan 2019 14:26:19 +0000 (06:26 -0800)]
Add test using short timeout throws WebException (dotnet/corefx#34856)

* Add test using short timeout throwing WebException

Fixes: dotnet/corefx#34849

* Make test conditional and target internal location

* code cleanup

Commit migrated from https://github.com/dotnet/corefx/commit/a3df534fca15e6053aab748e020006a5cb3b0d31

5 years agoFactor WinRT GetFolderPath into static accessible via reflection (dotnet/corefx#34873)
Stephen Toub [Sat, 26 Jan 2019 11:26:35 +0000 (06:26 -0500)]
Factor WinRT GetFolderPath into static accessible via reflection (dotnet/corefx#34873)

Commit migrated from https://github.com/dotnet/corefx/commit/3fc7efd29ce1fbc57c95eb0b82267b2ad0f7e3ff

5 years agoUpdate the Benchmarking docs and add workflow for making optimizations within S.P...
Ahson Khan [Sat, 26 Jan 2019 09:31:49 +0000 (01:31 -0800)]
Update the Benchmarking docs and add workflow for making optimizations within S.P.CoreLib (dotnet/corefx#34836)

* Update the Benchmarking docs and add workflow for making optimizations
within S.P.CoreLib

* Move the S.P.Corelib workflow to a subheading.

* Address PR feedback.

Commit migrated from https://github.com/dotnet/corefx/commit/2cb82bb953f8e304c3f75556d4263a5ea546d122

5 years agosetnanoseconds disabled for mac (dotnet/corefx#34870)
Anirudh Agnihotry [Sat, 26 Jan 2019 02:52:12 +0000 (18:52 -0800)]
setnanoseconds disabled for mac (dotnet/corefx#34870)

Commit migrated from https://github.com/dotnet/corefx/commit/d68361f04cd8851b0e6fa58b5a7bd429cd26db58

5 years agoadd conditinal include for ThreadPool assembly in netcoreapp (dotnet/corefx#34865)
Wraith2 [Sat, 26 Jan 2019 01:50:38 +0000 (01:50 +0000)]
add conditinal include for ThreadPool assembly in netcoreapp (dotnet/corefx#34865)

Commit migrated from https://github.com/dotnet/corefx/commit/65313c5b64fc20faa8f80490727c113c4531fe82

5 years agoTemporary disable FreeBSD leg (dotnet/corefx#34869)
Santiago Fernandez Madero [Sat, 26 Jan 2019 00:23:35 +0000 (16:23 -0800)]
Temporary disable FreeBSD leg (dotnet/corefx#34869)

Commit migrated from https://github.com/dotnet/corefx/commit/0f657bae5fb93eba0da331fa3e7cd1c56eb4850c

5 years ago- Skip test for Nano: WindowAndCursorProps/Title_Get_Windows_NoNulls (dotnet/corefx...
Maryam Ariyan [Fri, 25 Jan 2019 22:58:25 +0000 (14:58 -0800)]
- Skip test for Nano: WindowAndCursorProps/Title_Get_Windows_NoNulls (dotnet/corefx#34861)

- Switch back expected vs actual in assert
Fixes dotnet/corefx#34755

Commit migrated from https://github.com/dotnet/corefx/commit/826469ca02dbc41ff2ce9369398aea5c19ea1158

5 years agoUse helix to run package tests (dotnet/corefx#34764)
Santiago Fernandez Madero [Fri, 25 Jan 2019 22:32:50 +0000 (14:32 -0800)]
Use helix to run package tests (dotnet/corefx#34764)

* Use helix to run package tests

* PR Feedback and fix typo in helix.yml

* Define RestoreSources in packageTest.targets

* Remove restore sources item group and move the property to packageTest.targets

* Use less busy queue, change sendtohelix conditions to use targetgroup

* Move HelixCommand assignment out of target now that is not needed

* Disable azure pipelines reporter for all configurations test results

* PR Feedback and use dotnet blob feed as restore source

Commit migrated from https://github.com/dotnet/corefx/commit/ebfa30454ba9a1dcca6293166cbe486175ec17f1

5 years agoRun ubuntu arm tests in 16.04 for official builds (dotnet/corefx#34862)
Santiago Fernandez Madero [Fri, 25 Jan 2019 21:00:34 +0000 (13:00 -0800)]
Run ubuntu arm tests in 16.04 for official builds (dotnet/corefx#34862)

Commit migrated from https://github.com/dotnet/corefx/commit/bae407b2a043499c6879fb790d989b0d8ae0e1f6

5 years agocannot log in remote test exec (dotnet/corefx#34860)
Tomas Weinfurt [Fri, 25 Jan 2019 20:42:40 +0000 (12:42 -0800)]
cannot log in remote test exec (dotnet/corefx#34860)

Commit migrated from https://github.com/dotnet/corefx/commit/d905417a3d969543c5067943686e9f3e59f9a695

5 years agoExtend SequenceCompareTo_byte for longer vector lengths (dotnet/corefx#34742)
Ben Adams [Fri, 25 Jan 2019 20:11:21 +0000 (21:11 +0100)]
Extend SequenceCompareTo_byte for longer vector lengths (dotnet/corefx#34742)

* Extend SequenceCompareTo_byte for longer vector lengths

* Feedback

Commit migrated from https://github.com/dotnet/corefx/commit/585e3297d8b861ecaf5100da941a7a922a08a6fd

5 years agoMake more SoundPlayer tests conditional (dotnet/corefx#34854)
Stephen Toub [Fri, 25 Jan 2019 20:00:33 +0000 (15:00 -0500)]
Make more SoundPlayer tests conditional (dotnet/corefx#34854)

Commit migrated from https://github.com/dotnet/corefx/commit/0fee9027bb97aa8dcda5cbc23f15d923e4b19d34

5 years agoExpose NativeLibrary Resolver Callback (dotnet/corefx#34686)
Swaroop Sridhar [Fri, 25 Jan 2019 19:58:53 +0000 (11:58 -0800)]
Expose NativeLibrary Resolver Callback (dotnet/corefx#34686)

Expose the APIs to set the Native Library resolver callback.

API Review:
https://github.com/dotnet/corefx/issues/32015

Implementation:
https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.cs

Tests:
https://github.com/dotnet/coreclr/blob/master/tests/src/Interop/NativeLibraryResolveCallback/CallbackTests.cs

Commit migrated from https://github.com/dotnet/corefx/commit/bcb76015585c91a1dfa63df68ef392bed317e8dd

5 years agoUpdate dependencies from dotnet/core-setup (dotnet/corefx#34843)
dotnet-maestro[bot] [Fri, 25 Jan 2019 19:41:24 +0000 (11:41 -0800)]
Update dependencies from dotnet/core-setup (dotnet/corefx#34843)

* Update dependencies from https://github.com/dotnet/core-setup build 20190124.5

This change updates the following dependencies
- Microsoft.NETCore.App - 3.0.0-preview-27324-5
- Microsoft.NETCore.DotNetHost - 3.0.0-preview-27324-5
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-preview-27324-5

* Update package tests to use dotnet blob feed instead of myget

Commit migrated from https://github.com/dotnet/corefx/commit/1c2b743bdc5644af8ebe4657fa22c64f188dc2cd

5 years agoRemove S.R.CS.Unsafe dependency from MetadataLoadContext (dotnet/corefx#34813)
Steve Harter [Fri, 25 Jan 2019 17:56:11 +0000 (11:56 -0600)]
Remove S.R.CS.Unsafe dependency from MetadataLoadContext (dotnet/corefx#34813)

Commit migrated from https://github.com/dotnet/corefx/commit/ab8b458b6b48ea67fba128f7eb6b42cdb97771c0

5 years agoSet DisableImplicitFrameworkReferences for all projects (dotnet/corefx#34786)
Eric StJohn [Fri, 25 Jan 2019 16:59:14 +0000 (08:59 -0800)]
Set DisableImplicitFrameworkReferences for all projects (dotnet/corefx#34786)

* Set DisableImplicitFrameworkReferences for all projects

The SDK added targets which require the assets file when framework reference items are set.

We can disable the implicit FrameworkReference item in order to prevent these from running.

* Don't rely on implicit VB imports

DisableImplicitFrameworkReferences also doubles as DisableImplicitNamespaceImports.

Rather than enable this I think it's better just to stop relying on the default imports.

* Add missing reference to EventLog

Commit migrated from https://github.com/dotnet/corefx/commit/6653c5fe2adc7c7fca962df3fdc6675354726951

5 years agoDisable arm64 PR leg until it's working again (dotnet/corefx#34846)
Stephen Toub [Fri, 25 Jan 2019 16:38:00 +0000 (11:38 -0500)]
Disable arm64 PR leg until it's working again (dotnet/corefx#34846)

Commit migrated from https://github.com/dotnet/corefx/commit/ecc19fbeade10699fcae5192dfe67be02bf3c673

5 years ago[System.Native] Add SystemNative_GetCpuUtilization (dotnet/corefx#34806)
Filip Navara [Fri, 25 Jan 2019 14:37:13 +0000 (15:37 +0100)]
[System.Native] Add SystemNative_GetCpuUtilization (dotnet/corefx#34806)

* Add SystemNative_GetCpuUtilization.

* Update sysconf call to match CoreCLR.

Commit migrated from https://github.com/dotnet/corefx/commit/26a4a61c99b2e2cbec52f10a230fd6436807f6e6

5 years agoRename TplEtwProvider to TplEventSource (dotnet/coreclrdotnet/corefx#22194)
Jan Kotas [Fri, 25 Jan 2019 01:01:09 +0000 (17:01 -0800)]
Rename TplEtwProvider to TplEventSource (dotnet/coreclrdotnet/corefx#22194)

* Rename TplEtwProvider to TplEventSource

* Rename etwLog to log

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/corefx/commit/016839c18266f33eaa6784a9725c542de151eac1

5 years agoFix uap test (dotnet/corefx#34827)
Dan Moseley [Fri, 25 Jan 2019 03:47:46 +0000 (19:47 -0800)]
Fix uap test (dotnet/corefx#34827)

Commit migrated from https://github.com/dotnet/corefx/commit/3c127cf75ae1915b2b2cd7e898ac9f57524a9c79

5 years agoFix culture handling in legacy System.Json library (dotnet/corefx#34811)
Stephen Toub [Fri, 25 Jan 2019 03:43:22 +0000 (22:43 -0500)]
Fix culture handling in legacy System.Json library (dotnet/corefx#34811)

* Fix System.Json code using NumberFormatInfo.InvariantInfo

The intention here was obviously to use invariant culture, but NumberFormatInfo will be ignored for various primitive types that don't respect NFI, e.g. TimeSpan, which respects DateTimeFormatInfo.

* Fix handling of culture in System.Json tests

In particular, CultureInfo.CurrentCulture should not be modified in-process in tests, as on UWP it bleeds across threads.

Commit migrated from https://github.com/dotnet/corefx/commit/f398b6f7c3d08d8e437939cbd9ef29cb3beda1db

5 years agoTest Fix: Add IsSoundPlaySupported condition to skip on Nano (dotnet/corefx#34820)
Maryam Ariyan [Fri, 25 Jan 2019 01:06:44 +0000 (17:06 -0800)]
Test Fix: Add IsSoundPlaySupported condition to skip on Nano (dotnet/corefx#34820)

* Test Fix: Add IsSoundPlaySupported condition to skip on Nano

Fixes: dotnet/corefx#34808

* Removed Helpers class

Commit migrated from https://github.com/dotnet/corefx/commit/dfb8fd883963de134fd09b54c61ac8da5ad573bf

5 years agoNesting source package files for a better experience when consuming it. (dotnet/coref...
Jose Perez Rodriguez [Fri, 25 Jan 2019 00:34:25 +0000 (16:34 -0800)]
Nesting source package files for a better experience when consuming it. (dotnet/corefx#34812)

Commit migrated from https://github.com/dotnet/corefx/commit/c70cfa6d5600f01df3a15c151c18539f52e9bfd0

5 years agoReplace thread aborts in SoundPlayer (dotnet/corefx#34815)
Stephen Toub [Fri, 25 Jan 2019 00:21:39 +0000 (19:21 -0500)]
Replace thread aborts in SoundPlayer (dotnet/corefx#34815)

This only addresses the issue of SoundPlayer using Thread.Abort, replacing it with cancellation.

Commit migrated from https://github.com/dotnet/corefx/commit/2100e4f54637c124bdf880c7c036b4c79053e72f

5 years agoFix SslStream channel binding token (dotnet/corefx#34814)
David Shulman [Thu, 24 Jan 2019 21:45:39 +0000 (13:45 -0800)]
Fix SslStream channel binding token (dotnet/corefx#34814)

While working on Enterprise Scenario testing I discovered a bug in how the Unix layer generates
the channel binding token.  It was using the wrong prefix for 'Endpoint' tokens.

Fixed 'Endpoint' token generation and added more detailed tests.

Commit migrated from https://github.com/dotnet/corefx/commit/c6b4a1c39d91943dc536c3621d43d2bf88aca487

5 years agosupport for fragmentation Ping option on Unix (dotnet/corefx#34435)
Tomas Weinfurt [Thu, 24 Jan 2019 17:58:13 +0000 (09:58 -0800)]
support for fragmentation Ping option on Unix (dotnet/corefx#34435)

* add support for fragmentation Ping option on Unix

* add missing project file

* small adjustments

* fix typo

* feedback from review

* remove no longer needed import

* remove changes to HttpCookieProtocolTests pulled in by mistake

Commit migrated from https://github.com/dotnet/corefx/commit/8fea941db55fd79635fde1a54058620ddac16961

5 years agocollect some info about SendRecvPollSync_TcpListener_Socket() test run (dotnet/corefx...
Tomas Weinfurt [Thu, 24 Jan 2019 17:57:49 +0000 (09:57 -0800)]
collect some info about SendRecvPollSync_TcpListener_Socket() test run (dotnet/corefx#34751)

* add instrumentation for test run

* improve output

Commit migrated from https://github.com/dotnet/corefx/commit/bd3b5d2f1de9f4a9e6bbc0f154085de7f8228375

5 years agoMake ReadToEnd static helper resilient against stream.Length changes. (dotnet/corefx...
Ahson Khan [Thu, 24 Jan 2019 14:13:05 +0000 (06:13 -0800)]
Make ReadToEnd static helper resilient against stream.Length changes. (dotnet/corefx#34798)

Commit migrated from https://github.com/dotnet/corefx/commit/49109de03f113bb87117a4e3aaa9ffabc5c06bfb

5 years agoSet MaxRetryCount to 4 for both Windows and non-Windows jobs (dotnet/corefx#34792)
Santiago Fernandez Madero [Thu, 24 Jan 2019 13:22:52 +0000 (05:22 -0800)]
Set MaxRetryCount to 4 for both Windows and non-Windows jobs (dotnet/corefx#34792)

Commit migrated from https://github.com/dotnet/corefx/commit/fd21fbc661a26eab435a9925fc243616a1798362

5 years agoTest fix for Nano: WindowAndCursorProps/Title_Get_Windows_NoNulls (dotnet/corefx...
Maryam Ariyan [Thu, 24 Jan 2019 13:19:49 +0000 (05:19 -0800)]
Test fix for Nano: WindowAndCursorProps/Title_Get_Windows_NoNulls (dotnet/corefx#34755)

* Modifying assertion code for Nano on WindowAndCursorProps/Title_Get_Windows_NoNulls

Fixes: dotnet/corefx#34717

* Change Contains to Equal

Commit migrated from https://github.com/dotnet/corefx/commit/0c437d886f194d34caf20c3078e27c6ce26d4119

5 years agoDisable ApartmentState on UAP
Viktor [Thu, 24 Jan 2019 12:05:06 +0000 (13:05 +0100)]
Disable ApartmentState on UAP

Commit migrated from https://github.com/dotnet/corefx/commit/a33d75aec0daff5e6a043352d443ce6270f6660c

5 years agoFix UapAot runs (dotnet/corefx#34678)
Viktor Hofer [Thu, 24 Jan 2019 11:56:47 +0000 (12:56 +0100)]
Fix UapAot runs (dotnet/corefx#34678)

* Fix UapAot runs

* Darc update from build '20190124.1'

Commit migrated from https://github.com/dotnet/corefx/commit/4adc562336698dfc77e9fd3553c569c72cfc94f4

5 years agoMerge pull request dotnet/corefx#34757 from dotnet/darc-master-b26a5f18-f603-49aa...
Matt Mitchell [Thu, 24 Jan 2019 06:01:30 +0000 (22:01 -0800)]
Merge pull request dotnet/corefx#34757 from dotnet/darc-master-b26a5f18-f603-49aa-822a-9931dbe2063d

Update dependencies from dotnet/coreclr

Commit migrated from https://github.com/dotnet/corefx/commit/d40bfe3ec3d16f6d4ba2a0ab1e8a5d691d3e7fdc

5 years agoMerge branch 'master' into darc-master-b26a5f18-f603-49aa-822a-9931dbe2063d
Santiago Fernandez Madero [Thu, 24 Jan 2019 04:35:52 +0000 (20:35 -0800)]
Merge branch 'master' into darc-master-b26a5f18-f603-49aa-822a-9931dbe2063d

Commit migrated from https://github.com/dotnet/corefx/commit/1ac555fc95a09f4e001703762f6b7f6d6d464ec2

5 years agoTest for negative offset passed to ArrayWithOffset
Jan Kotas [Sun, 20 Jan 2019 00:50:37 +0000 (16:50 -0800)]
Test for negative offset passed to ArrayWithOffset

Fixes dotnet/corefx#34699

Commit migrated from https://github.com/dotnet/corefx/commit/6168758a66ad6bb9584305eccee8b1601299ef03

5 years agoIncrease timeout in Process test (dotnet/corefx#34753)
Dan Moseley [Thu, 24 Jan 2019 02:09:18 +0000 (18:09 -0800)]
Increase timeout in Process test (dotnet/corefx#34753)

Commit migrated from https://github.com/dotnet/corefx/commit/ef23e3317ca6e83f1e959ab265a8e59fb8a6dcd9

5 years agoFilter apphost rather than trying to have nuget suppress it (dotnet/corefx#34785)
Stephen Toub [Thu, 24 Jan 2019 02:07:21 +0000 (21:07 -0500)]
Filter apphost rather than trying to have nuget suppress it (dotnet/corefx#34785)

NuGet wasn't honoring the Exclude=all across runtime dependencies
but I can make this simpler by just telling depproj filtering
target to remove the file.

Commit migrated from https://github.com/dotnet/corefx/commit/0f6c2fc52b969309308faf442fc77ef99f370344

5 years agoUpdate CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19073.1, beta-27323-00...
dotnet-maestro-bot [Thu, 24 Jan 2019 02:07:01 +0000 (18:07 -0800)]
Update CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview.19073.1, beta-27323-00, beta-27323-00, respectively (dotnet/corefx#34748)

Commit migrated from https://github.com/dotnet/corefx/commit/e95daf2da50c826c9931e0b7d483551d448cffda

5 years agoExpose System.Media.SoundPlayer in System.Windows.Extensions (dotnet/corefx#34649)
Maryam Ariyan [Thu, 24 Jan 2019 01:19:21 +0000 (17:19 -0800)]
Expose System.Media.SoundPlayer in System.Windows.Extensions (dotnet/corefx#34649)

* Port System.Media members
* Add System.Media tests

Commit migrated from https://github.com/dotnet/corefx/commit/438e6af0b9d69610b25417da41ea00b2830d1b0d