112804 Commits
Author SHA1 Message Date
Matt Mitchell ebfd73b5c8 Update from emsdk 6.0.0 rtm build (id 104049) 2021-08-25 11:40:44 -07:00
Anipik a64aef2e8a fix the versioning 2021-08-24 13:31:55 -07:00
d6065b67cc [release/6.0] Move GreaterThan2GBFile_SendsAllBytes to a non-parallel test collection (#58002)
* Move GreaterThan2GBFile_SendsAllBytes to a non-parallel test collection

* Update SendFile.cs

Co-authored-by: Anton Firszov <[email protected]>
Co-authored-by: Anton Firszov <[email protected]>
2021-08-24 11:06:53 -06:00
Viktor Hofer bce9f6c2e7 Merge pull request #57969 from dotnet-maestro-bot/merge/release/6.0-rc1-to-release/6.0
[automated] Merge branch 'release/6.0-rc1' => 'release/6.0'
2021-08-24 12:16:56 +02:00
Steve Harter a20056d5c7 Disable S.T.J.Serialization.Tests.ConstructorTests.PathForChildDictionaryFails (#57834) 2021-08-24 08:42:48 +02:00
github-actions[bot]andSteve Molloy 0e4a871887 [release/6.0-rc1] Align DCJS with 4.8 implementation. (#57883)
* Align DCJS with 4.8 version. This work addresses #55270.

* Close() nits.

* Remove some extraneous trimmer attributes.

* Another trimmer nit.

Co-authored-by: Steve Molloy <[email protected]>
2021-08-24 08:35:54 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 4b2107f40d [release/6.0] Update dependencies from dotnet/emsdk dotnet/runtime-assets (#57925)
* Update dependencies from https://github.com/dotnet/emsdk build 20210823.1

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21419.1 -> To Version 6.0.0-rc.2.21423.1

* Update dependencies from https://github.com/dotnet/runtime-assets build 20210823.1

Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Windows.Extensions.TestData
 From Version 6.0.0-beta.21416.1 -> To Version 6.0.0-beta.21423.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-24 08:34:39 +02:00
github-actions[bot]andDavid Wrighton b7df9ff170 [release/6.0] Fix stress issues around multiple threads throwing the same exceptions (#57959)
* Fix stress issues around multiple threads throwing the same exceptions - The watson codebase manipulates the state of the following fields on Exception in a lock-free manner without locks if there are multiple threads throwing the same exception - _stackTrace - _stackTraceString - _remoteStackTraceString - _watsonBuckets - _ipForWatsonBuckets - The designed behavior is that these apis should "mostly" be correct, but as they are only used for fatal shutdown scenarios, exact correctness is not required for correct program execution - However, there are some race conditions that have been seen recently in testing 1. In some circumstances, the value will be explicitly read from multiple times, where the first read is to check for NULL, and then a second read is to read the actual value and use it in some way. In the presence of a race which sets the value to NULL, the runtime can crash. To fix this, the code is refactored in cases which could lead to crashes with a single read, and carrying around the read value to where it needs to go. 2. Since the C++ memory model generally allows a single read written in C++ to be converted into multiple reads if the compiler can prove that the read does not cross a lock/memory barrier, it is possible for the C++ compiler to inject multiple reads where the logic naturally only has 1. The fix for this is to utlilize the VolatileLoadWithoutBarrier api to specify that a read should happen once in cases where it might cause a problem.

Finally, the test45929 was tended to fail in GC stress as it would take a very long time to run under GC stress or on some hardware. Adjust it so that it shuts down after about 2.5 minutes.
- Do this instead of disabling running under gcstress as there is evidence that there may have been bugs seen during runs under gcstress.

Fixes #46803

* Rename as per suggestion

Co-authored-by: David Wrighton <[email protected]>
2021-08-23 15:55:48 -07:00
github-actions[bot]andStephen Toub 030f560480 [release/6.0-rc1] Enable SocketHttpHandler to decompress zlib or deflate (#57940)
* Enable SocketHttpHandler to decompress zlib or deflate

Some servers incorrectly implement the deflate content-coding with the raw deflate algorithm rather than with deflate wrapped with a zlib header/footer.  Auto-detect whether to use ZLibStream or DeflateStream in order to accomodate both kinds of responses.

* Fix test build for WinHttpHandler on .NET Framework

* Apply suggestions from code review

* Add decompression test for empty response body

* Add decompression tests for multiple source content lengths

Co-authored-by: Stephen Toub <[email protected]>
2021-08-23 15:57:39 -04:00
Viktor Hofer 8ddb633523 Merge pull request #57854 from dotnet-maestro-bot/merge/release/6.0-rc1-to-release/6.0
[automated] Merge branch 'release/6.0-rc1' => 'release/6.0'
2021-08-23 17:33:32 +02:00
Viktor Hofer f722cad814 [release/6.0] Don't regress SkipLocalsInit optimization on < 6.0 .NETCoreApp assets (#57868)
* Don't regress SkipLocalsInit optimization on net5.0 assets

netcoreapp3.1 and net5.0 assets which are part of the Microsoft.NETCore.App shared framework and ship inside a package need to keep the SkipLocalsInit optimization to avoid regressing perf. This would happen when referencing one of the 6.0 packages but consuming either the netcoreapp3.1 or net5.0 asset in it. The higher assembly version of the netcoreapp3.1/net5.0 asset would win over the same asset in the shared framework and without this fix, the SkipLocalsInit optimization would be lost.

Contributes to https://github.com/dotnet/runtime/issues/54964
2021-08-23 17:11:01 +02:00
github-actions[bot]andNatalia Kondratyeva 740581cce9 [release/6.0] Fix QUIC ConnectionState NRE in HandleEventConnectionClose (#57742)
* Fix QUIC ConnectionState NRE in HandleEventConnectionClose

* Remove unnecessary Dispose

Co-authored-by: Natalia Kondratyeva <[email protected]>
2021-08-23 09:09:17 -06:00
Viktor Hofer eb2e557a02 Merge branch 'release/6.0' into merge/release/6.0-rc1-to-release/6.0 2021-08-23 15:32:15 +02:00
Omair Majid c451224d75 Add Fedora 36 to the RID graph (#57833)
Backport of #57832

Fedora 36 is under development:

    $ podman run -it registry.fedoraproject.org/fedora:rawhide /bin/cat /etc/os-release
    NAME="Fedora Linux"
    VERSION="36 (Container Image Prerelease)"
    ID=fedora
    VERSION_ID=36
    VERSION_CODENAME=""
    PLATFORM_ID="platform:f36"
    PRETTY_NAME="Fedora Linux 36 (Container Image Prerelease)"
    ANSI_COLOR="0;38;2;60;110;180"
    LOGO=fedora-logo-icon
    CPE_NAME="cpe:/o:fedoraproject:fedora:36"
    HOME_URL="https://fedoraproject.org/"
    DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
    SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"
    REDHAT_BUGZILLA_PRODUCT="Fedora"
    REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
    REDHAT_SUPPORT_PRODUCT="Fedora"
    REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
    PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
    VARIANT="Container Image"
    VARIANT_ID=container
2021-08-23 15:26:54 +02:00
github-actions[bot]andStephen Toub 0ab239d537 Disable TaskDropsExecutionContextUponCompletion test (#57864)
Co-authored-by: Stephen Toub <[email protected]>
2021-08-21 08:04:29 -04:00
Anirudh Agnihotry 91406a13fb update to compaitibility package (#57783) 2021-08-20 19:34:59 -07:00
Drew Scogginsanddotnet-maestro[bot] f852347142 Remove run trigger (#57850)
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 16:11:46 -07:00
Drew Scoggins 1d6284a841 Move to 6.0 only for release runs (#57848) 2021-08-20 16:11:27 -07:00
github-actions[bot]andTarek Mahmoud Sayed eea9ec54bb [release/6.0] Fix Culture creation regression when using invalid names on Windows (#57853)
* Fix Culture creation regression when using invalid names on Windows

* Address the feedback

Co-authored-by: Tarek Mahmoud Sayed <[email protected]>
2021-08-20 15:16:32 -07:00
github-actions[bot]andMatt Mitchell 9da6389bca Update toolset MicrosoftNETCoreApp version This package no longer exists. Replace with runtime package version and appropriate property. (#57829)
Co-authored-by: Matt Mitchell <[email protected]>
2021-08-20 15:15:21 -07:00
github-actions[bot]andStephen Toub cb5285f31d Re-disable AsyncMethodsDropsStateMachineAndExecutionContextUponCompletion test (#57761)
Co-authored-by: Stephen Toub <[email protected]>
2021-08-20 16:35:14 -04:00
github-actions[bot]andThays f288bb2039 [release/6.0-rc1] [mono][debugger] Fix watch of local variable values (#57787)
* Fix xamarin-android 6161

* Fixing leak.

* Adding wasm debugger test. Fixing using protocol version.

* only get locals in older protocol versions.

Co-authored-by: Thays <[email protected]>
2021-08-20 13:22:03 -07:00
github-actions[bot]andAleksey Kliger 13b1111add [release/6.0-rc1] [hot_reload] Don't look at delta method table rows (#57799)
* Add test case

Call a method for the first time after an update has been applied to it.

This will check that the interpreter or JIT does not have to rely on cached
information from the baseline (about the method signature, for example) and
that it can compute it from the delta.

* [hot_reload] Don't look at delta method table rows

The issue is that the ParamList column in EnC deltas is a "suppressed column"
that has the value 0.  So when a method is updated if we use the value
directly, we will break, for example - `mono_metadata_get_param_attrs` which
expects a non-zero index in that column.

CoreCLR solves this by having a set of suppressed columns that are never
updated by deltas.  (CoreCLR's model is to directly mutate the tables of the
baseline image).  In Mono we can eventually do the same thing by writing the
value from the previous generation into the current delta's row.  But right now
since we don't allow parameter modifications, and the only column on a Method
table that we allow to be modified is the RVA - which we look up specially - we
can just always return the baseline image row for the method table.

Fixes https://github.com/dotnet/runtime/issues/57643

Co-authored-by: Aleksey Kliger <[email protected]>
2021-08-20 13:21:55 -07:00
github-actions[bot]andMatt Mitchell 236e490d4f Update toolset MicrosoftNETCoreApp version This package no longer exists. Replace with runtime package version and appropriate property. (#57828)
Co-authored-by: Matt Mitchell <[email protected]>
2021-08-20 10:53:29 -07:00
Viktor Hofer 9f8f736d35 Merge pull request #57740 from dotnet-maestro-bot/merge/release/6.0-rc1-to-release/6.0
[automated] Merge branch 'release/6.0-rc1' => 'release/6.0'
2021-08-20 13:03:09 +02:00
Viktor Hofer 4e6d981ec7 Merge branch 'release/6.0' into merge/release/6.0-rc1-to-release/6.0 2021-08-20 10:36:39 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 1393ea8b00 Update dependencies from https://github.com/mono/linker build 20210819.1 (#57765)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21418.3 -> To Version 6.0.100-preview.6.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:29:28 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] aa219d8aa2 Update dependencies from https://github.com/dotnet/icu build 20210819.2 (#57764)
Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.2.21419.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:23:11 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 27d062a8f0 Update dependencies from https://github.com/dotnet/icu build 20210819.1 (#57763)
Microsoft.NETCore.Runtime.ICU.Transport
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.1.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:21:26 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 5840e15ff2 Update dependencies from https://github.com/mono/linker build 20210819.1 (#57777)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21416.1 -> To Version 6.0.100-preview.6.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 10:17:35 +02:00
github-actions[bot]andEric StJohn e15b35e822 Pack windows implementation assemblies in windowsdesktop transport package (#57796)
Co-authored-by: Eric StJohn <[email protected]>
2021-08-20 09:08:46 +02:00
github-actions[bot]andStephen Toub 4a79fcb08b Re-disable AsyncMethodsDropsStateMachineAndExecutionContextUponCompletion test (#57762)
Co-authored-by: Stephen Toub <[email protected]>
2021-08-19 19:26:51 -04:00
dotnet-maestro[bot]anddotnet-maestro[bot] 8493829ce5 Update dependencies from https://github.com/dotnet/emsdk build 20210819.1 (#57759)
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.0-rc.1.21416.1 -> To Version 6.0.0-rc.1.21419.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-20 00:52:04 +02:00
github-actions[bot]andViktor Hofer 86b25c6f68 Fix Microsoft.NETCore.Platforms builds on Unix (#57757)
The casing of the SDK imported via the Sdk attribute was wrong which lead to:

Microsoft.NETCore.Platforms.csproj : error MSB4236: The SDK 'Microsoft.NET.SDK' specified could not be found.

Co-authored-by: Viktor Hofer <[email protected]>
2021-08-20 00:50:46 +02:00
b24f1aa525 [release/6.0-rc1] Update dependencies from dotnet/arcade (#57628)
* Update dependencies from https://github.com/dotnet/arcade build 20210817.1

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21413.4 -> To Version 6.0.0-beta.21417.1

* Unpin compiler version

* Update source-index-stage1.yml

* Update dependencies from https://github.com/dotnet/arcade build 20210818.12

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk
 From Version 6.0.0-beta.21413.4 -> To Version 6.0.0-beta.21418.12

* Partial cherry pick from a169ca9da7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <[email protected]>
2021-08-20 00:37:56 +02:00
github-actions[bot]andUlrich Weigand fe6bd2d22d [mono] Fix crash in common_call_trampoline due to inconsistent rgctx mode (#57677)
* Assume MRGCTX mode if mini_method_is_default_method is true

* Fixes https://github.com/dotnet/runtime/issues/57664

Co-authored-by: Ulrich Weigand <[email protected]>
2021-08-19 11:51:37 -07:00
github-actions[bot]andBill Holmes a06a1f436b [release/6.0] Adding null check to avoid abort when invalid IL is encountered (#57731)
When a callvirt instruction is encountered on a static method, there is
a hard abort/crash. This commit avoids the problem.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bill Holmes <[email protected]>
2021-08-19 19:02:58 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] b614529f28 Update dependencies from https://github.com/mono/linker build 20210818.3 (#57700)
Microsoft.NET.ILLink.Tasks
 From Version 6.0.100-preview.6.21416.1 -> To Version 6.0.100-preview.6.21418.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-08-19 18:13:31 +02:00
github-actions[bot]andJakob Botsch Nielsen 5aeb4f3271 [release/6.0] Fix incorrect VN when folding GT_NEG(GT_MUL(A, C)) (#57686)
* Fix incorrect VN when folding GT_NEG(GT_MUL(A, C))

Fixes #57640

* Fix test name

Co-authored-by: Jakob Botsch Nielsen <[email protected]>
2021-08-19 09:09:14 -07:00
github-actions[bot]andStephen Toub ba8967df36 [release/6.0-rc1] Update pinned compiler version (#57730)
* Update pinned compiler version

The version that flows in automatically appears to still be old.  We need to fix that, but in the meantime, we're a month out of date on the compiler.

* Suppress CS8969 warnings

* Change several dynamic tests to use typeof(object[])

Co-authored-by: Stephen Toub <[email protected]>
2021-08-19 18:06:29 +02:00
3d5987f465 [release/6.0-rc1] JIT: don't clone loops where init or limit is a cast local (#57690)
* JIT: don't clone loops where init or limit is a cast local

The loop cloner assumes all computations it introduces are compatible
with TYP_INT, so don't allow cloning when the initial or final value
are variables with incompatible types.

Fixes #57535.

* Apply suggestions from code review

Co-authored-by: SingleAccretion <[email protected]>

Co-authored-by: Andy Ayers <[email protected]>
Co-authored-by: SingleAccretion <[email protected]>
2021-08-19 07:20:47 -07:00
5d0820af5e [release/6.0] JIT: don't clone loops where init or limit is a cast local (#57685)
* JIT: don't clone loops where init or limit is a cast local

The loop cloner assumes all computations it introduces are compatible
with TYP_INT, so don't allow cloning when the initial or final value
are variables with incompatible types.

Fixes #57535.

* Apply suggestions from code review

Co-authored-by: SingleAccretion <[email protected]>

Co-authored-by: Andy Ayers <[email protected]>
Co-authored-by: SingleAccretion <[email protected]>
2021-08-19 07:20:23 -07:00
github-actions[bot]andAlexander Köplinger 3d39a3771b Bump timeout for workloads build job (#57721)
We're seeing it sometimes timing out on official builds.

Co-authored-by: Alexander Köplinger <[email protected]>
2021-08-19 16:13:11 +02:00
github-actions[bot]andNatalia Kondratyeva f2b270cdae Throw on invalid payload length in WebSockets (#57635)
Co-authored-by: Natalia Kondratyeva <[email protected]>
2021-08-18 12:43:58 -07:00
github-actions[bot]andNatalia Kondratyeva 9e56917546 Throw on invalid payload length in WebSockets (#57636)
Co-authored-by: Natalia Kondratyeva <[email protected]>
2021-08-18 12:43:47 -07:00
github-actions[bot]andStephen Toub 0c015ecbd0 Fix Debug.Assert use of string interpolation (#57667)
Co-authored-by: Stephen Toub <[email protected]>
2021-08-18 15:37:06 -04:00
github-actions[bot]andStephen Toub 2a28e2f015 Fix Debug.Assert use of string interpolation (#57668)
Co-authored-by: Stephen Toub <[email protected]>
2021-08-18 15:36:43 -04:00
Anipik 5a5d7f0518 update branding to rc2 2021-08-17 14:33:53 -07:00
Larry Ewing 82f7144f79 [wasm] Enable tests blocked by IL2105 (#57457)
* Disable ReflectionCachesUpdateHandler_CachesCleared with aggressive trimming

* Enable more tests stopped by 2105

* Create tests.mobile.targets

Suppress IL2025

* Remove comment enabling trim warnings

* Mark more active issues
2021-08-17 16:28:09 -05:00
Adam Sitnik 24971b0a8b don't try to test module path if we can't load the module (#57590) 2021-08-17 22:48:02 +02:00